@danmasta/walk
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "@danmasta/walk", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"author": "Daniel Smith <dannmasta@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "Directory and file walking utility for node apps", |
@@ -49,2 +49,3 @@ # Walk | ||
`eachSync` | Sync version of `each` | ||
*Each method takes an optional `path` and `options` param as arguments. The `each` methods also accept an iteratee function as the last argument* | ||
@@ -57,4 +58,4 @@ | ||
-----|----- | ----------- | ||
`cwd` | *`string`* | Current working directory. Defaults to `process.cwd()` | ||
`root` | *`string`* | Base directory to use for relative pathing. Defaults to `process.cwd` | ||
`cwd` | *`string`* | Current working directory. Defaults to `process.cwd` | ||
`root` | *`string`* | Base directory to use for relative pathing. Defaults to `cwd` | ||
`path` | *`string`* | Absolute path of the file on disk | ||
@@ -61,0 +62,0 @@ `relative` | *`string`* | Relative path of file based normalized from `root` |
139
23054