Skip to content

Commit 86f2f3e

Browse files
committed
Network seperated from package and Test Coverage Updated
1 parent 74f18aa commit 86f2f3e

File tree

6 files changed

+4
-83
lines changed

6 files changed

+4
-83
lines changed

.github/workflows/node.automated.test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
matrix:
1313
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
14-
node-version: [16]
14+
node-version: [17, 16, 14, 12]
1515
# os: [windows-latest]
1616
os: [ubuntu-latest, windows-latest, macos-latest]
1717
runs-on: ${{ matrix.os }}

README.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/Sniper-Code/SniperCode.FileSystem)
55
![GitHub last commit](https://img.shields.io/github/last-commit/Sniper-Code/SniperCode.FileSystem)
66
![GitHub](https://img.shields.io/github/license/Sniper-Code/SniperCode.FileSystem)![GitHub top language](https://img.shields.io/github/languages/top/Sniper-Code/SniperCode.FileSystem)
7+
![npm](https://img.shields.io/npm/v/snipercode.filesystem)
78

89
## **Table of Contents**
910

@@ -13,7 +14,6 @@
1314
- [**Installation**](#installation)
1415
- [**Uninstall**](#uninstall)
1516
- [**Exposed API**](#exposed-api)
16-
- [**Network**](#network)
1717
- [**File**](#file)
1818
- [**Release**](#release)
1919

@@ -37,21 +37,6 @@ To uninstall SniperCode.FileSystem, run `npm uninstall snipercode.filesystem`.
3737

3838
All the exposed API is documented below.
3939

40-
### **Network**
41-
42-
This API is used to access the list of network. Example:
43-
44-
```Node.js
45-
const {Network} = require('SniperCode.FileSystem');
46-
const network = new Network();
47-
console.log(network.network);
48-
/*
49-
* Prints the list of network in following format.
50-
* [ '{Device_Name}':'{IP_Address}' ]
51-
*/
52-
53-
```
54-
5540
### **File**
5641

5742
This API is used to access file system and self explanatory endpoints. Example:

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports =
22
{
3-
Network: require('./src/network'),
3+
// Exporting File System
44
File_System: require('./src/fs'),
55
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "snipercode.filesystem",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "File handling and minor os level operations.",
55
"main": "index.js",
66
"scripts": {

src/network.js

Lines changed: 0 additions & 45 deletions
This file was deleted.

tests/Unit/network.test.js

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)