1.0.7 • Published 7 years ago

file-traveler v1.0.7

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

File Traveler

Utility function to operate files

Install

$ npm install --save file-traveler

Usage

Example:

import FileTraveler, { listFiles, listFilesSync } from 'file-traveler'

// FP
// support both sync and async
console.log(listFilesSync('.'))

listFiles('.')
.then( files => console.log(files) )

// OOP
let fv = new FileTraveler('.')

console.log(fv.listFilesSync())
1.0.7

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago