0.0.0 • Published 11 years ago
pathfind v0.0.0
pathfind 
Find a directory in a list of paths.
Requirements
- Node >= 0.11.13
Installation
$ npm install pathfindAPI
All examples assume the following example directory layout:
$ mkdir -p a/sub_a b/sub_b c/sub_cpathfind(<string[]> paths, <string> target) => Promise
Asynchronously find a target path in a list of paths.
pathfind(['a', 'b', 'c'], 'sub_b');
// => 'a/sub_b'License
Copyright 2014 Nathan Houle. Released under the MIT license.
0.0.0
11 years ago