read-dir-names

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

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
read-dir-names
001.0.06 years ago6 years agoMinified + gzip package size for read-dir-names in KB

Readme

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