Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "walkdir", | ||
"description": "Find files simply. Walks a directory tree emitting events based on what it finds. Presents a familiar callback/emitter/a+sync interface. Walk a tree of any depth.", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"author": "Ryan Day <soldair@gmail.com>", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
@@ -15,3 +15,7 @@ import * as walkdir from './walkdir'; | ||
c.emit('a') | ||
c.pause() | ||
c.resume() | ||
c.end() | ||
let d = walkdir('ccc',{},(path)=>{ | ||
@@ -18,0 +22,0 @@ path.substr |
@@ -73,4 +73,8 @@ import { EventEmitter } from "events"; | ||
export type WalkEmitter = EventEmitter&{ | ||
export type WalkEmitter = EventEmitter&{ | ||
/** | ||
* cancel a walk in progress | ||
*/ | ||
end():void | ||
/** | ||
* pause the walk | ||
@@ -168,2 +172,2 @@ */ | ||
export function async(path:string,options?:walkdir.WalkOptions&{return_object?:false},eventListener?:walkdir.WalkEventListener):Promise<string[]>; | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36803
40
866