update urls
This commit is contained in:
parent
cccd13e0fc
commit
b4b38f7520
27
README.md
27
README.md
|
@ -1,6 +1,8 @@
|
||||||
node-walk
|
node-walk
|
||||||
====
|
====
|
||||||
|
|
||||||
|
| Sponsored by [ppl](https://ppl.family)
|
||||||
|
|
||||||
nodejs walk implementation.
|
nodejs walk implementation.
|
||||||
|
|
||||||
This is somewhat of a port python's `os.walk`, but using Node.JS conventions.
|
This is somewhat of a port python's `os.walk`, but using Node.JS conventions.
|
||||||
|
@ -28,10 +30,9 @@ Getting Started
|
||||||
(function () {
|
(function () {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var walk = require('walk')
|
var walk = require('walk');
|
||||||
, fs = require('fs')
|
var fs = require('fs');
|
||||||
, walker
|
var walker;
|
||||||
;
|
|
||||||
|
|
||||||
walker = walk.walk("/tmp", options);
|
walker = walk.walk("/tmp", options);
|
||||||
|
|
||||||
|
@ -103,11 +104,10 @@ Both Asynchronous and Synchronous versions are provided.
|
||||||
(function () {
|
(function () {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var walk = require('walk')
|
var walk = require('walk');
|
||||||
, fs = require('fs')
|
var fs = require('fs');
|
||||||
, options
|
var options;
|
||||||
, walker
|
var walker;
|
||||||
;
|
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
followLinks: false
|
followLinks: false
|
||||||
|
@ -168,11 +168,10 @@ I don't think I can prevent the `process.nextTick()` that `EventEmitter` calls.
|
||||||
(function () {
|
(function () {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var walk = require('walk')
|
var walk = require('walk');
|
||||||
, fs = require('fs')
|
var fs = require('fs');
|
||||||
, options
|
var options;
|
||||||
, walker
|
var walker;
|
||||||
;
|
|
||||||
|
|
||||||
// To be truly synchronous in the emitter and maintain a compatible api,
|
// To be truly synchronous in the emitter and maintain a compatible api,
|
||||||
// the listeners must be listed before the object is created
|
// the listeners must be listed before the object is created
|
||||||
|
|
10
package.json
10
package.json
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "walk",
|
"name": "walk",
|
||||||
"description": "A node port of python's os.walk",
|
"description": "A node port of python's os.walk",
|
||||||
"url": "http://github.com/coolaj86/node-walk",
|
"url": "http://git.coolaj86.com/coolaj86/fs-walk.js",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"util",
|
"util",
|
||||||
"os",
|
"os",
|
||||||
|
@ -17,9 +17,9 @@
|
||||||
},
|
},
|
||||||
"lib": ".",
|
"lib": ".",
|
||||||
"main": "./lib/walk.js",
|
"main": "./lib/walk.js",
|
||||||
"version": "2.3.9",
|
"version": "2.3.10",
|
||||||
"repository": {
|
"repository": {
|
||||||
"url": "git://github.com/coolaj86/node-walk.git"
|
"url": "https://git.coolaj86.com/coolaj86/fs-walk.js.git"
|
||||||
},
|
},
|
||||||
"licenses": [
|
"licenses": [
|
||||||
{
|
{
|
||||||
|
@ -32,9 +32,9 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/coolaj86/node-walk/issues"
|
"url": "https://git.coolaj86.com/coolaj86/fs-walk.js/issues"
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/coolaj86/node-walk",
|
"homepage": "https://git.coolaj86.com/coolaj86/fs-walk.js",
|
||||||
"directories": {
|
"directories": {
|
||||||
"example": "examples",
|
"example": "examples",
|
||||||
"test": "test"
|
"test": "test"
|
||||||
|
|
Loading…
Reference in New Issue