Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@justinc/dirs-as-promised

Read directory names given absolute path

readme

NPM

A Promised based version of dirs

Given an absolute path, gives back a list of directory names in the given path. See tests for usage.

Install

npm i @justinc/dirs-as-promised