vamtiger-get-directory-content
Get a list of all directory content.
Last updated 2 years ago by vamtiger-project .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install vamtiger-get-directory-content 
SYNC missed versions from official npm registry.

VAMTIGER Get Directory Content

Get a list of all entries for a defined directory path.

Installation

VAMTIGER Get Directory Content can be installed using npm or yarn:

npm install --save vamtiger-get-directory-content

or

yarn add vamtiger-get-directory-content

Usage

Import or require a referece to VAMTIGER Get Directory Content:

import getDirectoryContent from 'vamtiger-get-directory-content';

or

const getDirectoryContent = require('vamtiger-get-directory-content').default;

Reference an array of file/directory entries for defined directory path:

getDirectoryContent('some/directory/absolute/path')
    .then(handleResult)
    .catch(handleError);

Since VAMTIGER Get Directory Content returns a Promise, the result can be more conveniently referenced within an async function:

async someAsyncFunction function() {
    const directoryContent = await getDirectoryContent('some/directory/absolute/path');
}

Current Tags

  • 0.0.35                                ...           latest (2 years ago)

15 Versions

  • 0.0.35                                ...           2 years ago
  • 0.0.34                                ...           2 years ago
  • 0.0.33                                ...           3 years ago
  • 0.0.32                                ...           3 years ago
  • 0.0.31                                ...           3 years ago
  • 0.0.30                                ...           3 years ago
  • 0.0.29                                ...           3 years ago
  • 0.0.28                                ...           3 years ago
  • 0.0.27                                ...           3 years ago
  • 0.0.26                                ...           3 years ago
  • 0.0.25                                ...           3 years ago
  • 0.0.24                                ...           3 years ago
  • 0.0.22                                ...           3 years ago
  • 0.0.21                                ...           3 years ago
  • 0.0.11                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 2
Last Month 0
Dependencies (1)
Dev Dependencies (8)

Copyright 2014 - 2017 © taobao.org |