read_all_file

1.0.3 • Public • Published

Introduced

A simple function help read all file path in a dir, support for multiple tires.

You can require or import these files or do something else for them.

Just use path and fs module in node.

How to use

replace dir with the real Directory path you need to read.

const read = require('read_all_file');

const arr = read(dir); // you path

arr.forEach(filePath => console.log(filePath) )

Readme

Keywords

Package Sidebar

Install

npm i read_all_file

Weekly Downloads

1

Version

1.0.3

License

ISC

Unpacked Size

1.21 kB

Total Files

3

Last publish

Collaborators

  • time_chaser