get-files-paths
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

GET-FILES-PATHS

This get all files and path (synchronous)

Install

npm install get-files-paths
yarn add get-files-paths

Usage

// CommonJS
const getall = require('get-files-paths');
// ESModule
import getall from 'get-files-paths';

const result = getall(['./', '../server'], '**/node_moules');

console.log(result.all());
console.log(result.onlyFiles());
console.log(result.onlyPaths());

LICENSE

MIT

/get-files-paths/

    Package Sidebar

    Install

    npm i get-files-paths

    Weekly Downloads

    4

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    40.8 kB

    Total Files

    6

    Last publish

    Collaborators

    • droidxrx