1.0.0 • Published 7 years ago

read-dir-names v1.0.0

Weekly downloads
33
License
MIT
Repository
github
Last release
7 years ago

read-dir-names

Returns an array of the names of all directories within another directory

Build Status Build status Coverage Status

Installation

$ npm i read-dir-names

or

$ yarn add read-dir-names

Usage

const readDirNames = require('read-dir-names'); // import readDirNames from 'read-dir-names';

readDirNames(); // returns the names of directories within process.cwd()
readDirNames('path/to/dir'); // returns the names of directories within 'path/to/dir'

LICENSE

MIT © Lukas Aichbauer