1.0.7 • Published 8 years ago

file-traveler v1.0.7

Weekly downloads
2
License
ISC
Repository
github
Last release
8 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

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago