🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

read-dir-names

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

read-dir-names

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

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

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

Keywords

read

FAQs

Package last updated on 14 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts