read-dir-names

1.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i read-dir-names

Weekly Downloads

173

Version

1.0.0

License

MIT

Last publish

Collaborators

  • aichbauer