node-root-directories

1.0.1 • Public • Published

node-root-directories

Get root directories for machine - node module

Usage

  var rd = require('node-root-directories')

  > rd()
  [ 'Applications',
    'Developer',
    'Library',
    'Network',
    'System',
    'Users',
    'Volumes',
    'bin',
    'cores',
    'dev',
    'home',
    'net',
    'opt',
    'private',
    'sbin',
    'usr' ]

It also gets you the hidden directories.

License

MIT © 2018 Git Faf

Package Sidebar

Install

npm i node-root-directories

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • git.faf