0.0.7 • Published 4 years ago

is-network-drive v0.0.7

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

is-network-drive

test path or disk is it network device

Maintenance sss sss

Install

node.js

npm install is-network-drive

Feature

  • using NAPI call system library
  • support Apple Mac & Windows

Usage examples

var isNetworkDrive = require("is-network-drive")

it will return boolean, if path or drive is network device it will return TRUE, otherwise it will be FALSE.

Mac

isNetworkDrive("/Volumes/Library/SMB-Test")
isNetworkDrive("/Users/pickuse/Project/test")

Windows

isNetworkDrive("C:/")
isNetworkDrive("\\192.168.0.1\test")
0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago