0.0.7 • Published 5 years ago

is-network-drive v0.0.7

Weekly downloads
3
License
MIT
Repository
github
Last release
5 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

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago