{"_id":"file","_rev":"29-7d7373570da78494c88f65f116b12d3e","name":"file","description":"Higher level path and file manipulation functions.","dist-tags":{"latest":"0.2.2"},"versions":{"0.1.1":{"name":"file","description":"Higher level path and file manipulation functions.","tags":["file","path","fs","walk"],"version":"0.1.1","author":{"name":"Anders Conbere","email":"aconbere@gmail.com"},"directories":{"lib":"lib"},"repository":{"type":"git","url":"http://github.com/mikeal/node-utils.git"},"bugs":{"web":"http://github.com/mikeal/node-utils/issues"},"engines":["node >=0.1.90"],"main":"./lib/main","_id":"file@0.1.1","_nodeSupported":true,"_npmVersion":"0.2.7-2","_nodeVersion":"v0.3.1-pre","dist":{"tarball":"https://registry.npmjs.org/file/-/file-0.1.1.tgz","shasum":"aa3a1b77cab16a3b40be8e29782608c6dd64644b","integrity":"sha512-kvCIBQXjdsayWebDRVUqSLc9iSars7YdR8EJKZXAZmlJpGTsvg2RXLONdDZHhiUTyjjg4A5mQCPII5UUP2C8lw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDkUNI4fYNp2TZE07RZMb82mspQVdaHC8IieZPOUledWAiEAyP31g1DbhJaOHj0UMuv2DwrF89C+DhvnQrCk2v2HV1s="}]}},"0.2.0":{"name":"file","description":"Higher level path and file manipulation functions.","tags":["file","path","fs","walk"],"version":"0.2.0","author":{"name":"Anders Conbere","email":"aconbere@gmail.com"},"directories":{"lib":"lib"},"repository":{"type":"git","url":"git://github.com/aconbere/node-file-utils.git"},"bugs":{"url":"http://github.com/aconbere/node-file-utils"},"main":"./lib/file","_npmUser":{"name":"aconbere","email":"aconbere@gmail.com"},"_id":"file@0.2.0","dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-2","_nodeVersion":"v0.6.8","_defaultsLoaded":true,"dist":{"shasum":"f8d8e34415ecde15aa2dab91170ec6d6dc85c5fd","tarball":"https://registry.npmjs.org/file/-/file-0.2.0.tgz","integrity":"sha512-Qm9YWLQ/P43vYVQPur/kNtq5Uv60nDDOoCVTzf/8KU74gvG4BjUDeKN7qXJNOKqRRXwRWEC7WFdbU3AiFOI0eg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3chQmwwjpLtyrFZT+dlfCgZW3cVsHbGVYMe7jJYx4VwIgabAKK3zpD+40KR6g37IHZXUvqzRjP42Sasj72KukmZs="}]},"maintainers":[{"name":"aconbere","email":"aconbere@gmail.com"}]},"0.2.1":{"name":"file","description":"Higher level path and file manipulation functions.","tags":["file","path","fs","walk"],"version":"0.2.1","author":{"name":"Anders Conbere","email":"aconbere@gmail.com"},"directories":{"lib":"lib"},"repository":{"type":"git","url":"git://github.com/aconbere/node-file-utils.git"},"bugs":{"url":"http://github.com/aconbere/node-file-utils"},"main":"./lib/file","_npmUser":{"name":"aconbere","email":"aconbere@gmail.com"},"_id":"file@0.2.1","dependencies":{},"devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.0-2","_nodeVersion":"v0.6.8","_defaultsLoaded":true,"dist":{"shasum":"4161ce02dc888a8aef61c1fe9a1179f50d0fd24b","tarball":"https://registry.npmjs.org/file/-/file-0.2.1.tgz","integrity":"sha512-QHzdt2TFEYQoZqmqDU/NsyctxkvkjURjp3i6pYveQa9slLy5aDYbNQBNEjhHsoYvNunDNcozOi7GDIbkBoHfAw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCiLGI8CPt0KO0+4ksuFKQn2oP03k5UJfZo03wmxFuGMAIgTumz+Erle/tI8RhuwmfqkOsezOWE8nvYxsRiM5D6kjk="}]},"maintainers":[{"name":"aconbere","email":"aconbere@gmail.com"}]},"0.2.2":{"name":"file","description":"Higher level path and file manipulation functions.","tags":["file","path","fs","walk"],"version":"0.2.2","author":{"name":"Anders Conbere","email":"aconbere@gmail.com"},"directories":{"lib":"lib"},"repository":{"type":"git","url":"http://github.com/aconbere/node-file-utils.git"},"bugs":{"url":"http://github.com/aconbere/node-file-utils"},"main":"./lib/file","license":"MIT","devDependencies":{"mocha":"1.9.x"},"homepage":"https://github.com/aconbere/node-file-utils","_id":"file@0.2.2","dist":{"shasum":"c3dfd8f8cf3535ae455c2b423c2e52635d76b4d3","tarball":"https://registry.npmjs.org/file/-/file-0.2.2.tgz","integrity":"sha512-gwabMtChzdnpDJdPEpz8Vr/PX0pU85KailuPV71Zw/un5yJVKvzukhB3qf6O3lnTwIe5CxlMYLh3jOK3w5xrLA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3bfO1YZHHnbTdJJiphvRe5DVjdP9a0F86q3jvUC9yRAIgeyzjQdJ+/OoijuhatO6dUUxlidcgqgYH4tNTQ5E6Y84="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"aconbere","email":"aconbere@gmail.com"},"maintainers":[{"name":"aconbere","email":"aconbere@gmail.com"}]}},"maintainers":[{"name":"aconbere","email":"aconbere@gmail.com"}],"author":{"name":"Anders Conbere","email":"aconbere@gmail.com"},"repository":{"type":"git","url":"http://github.com/aconbere/node-file-utils.git"},"time":{"0.2.0":"2012-02-11T23:16:33.552Z","modified":"2022-06-18T00:33:47.955Z","created":"2012-02-11T23:16:33.552Z","0.1.1":"2012-02-11T23:16:33.552Z","0.2.1":"2012-04-25T13:34:57.502Z","0.2.2":"2014-02-21T00:10:33.804Z"},"users":{"fgribreau":true,"drittich":true,"fill":true,"tunnckocore":true,"rdegges":true,"beemi":true,"pillar0514":true,"katy":true,"sarnsdev":true,"alexpearly":true},"readme":"# File - Common higher level file and path operations\n\n## Install\n\n<pre>\n  npm install file\n</pre>\n\n<pre>\n  var file = require(\"file\");\n</pre>\n\n## API\n\n### file.walk(start, callback)\n\nNavigates a file tree, calling callback for each directory, passing in (null, dirPath, dirs, files).\n\n\n### file.walkSync(start, callback)\n\nSynchronus version of file.walk, calling callback for each directory, passing in (dirPath, dirs, files).\n\n\n### file.mkdirs(path, mode, callback)\n\nMakes all the directories in a path. (analgous to mkdir -P) For example given a path like \"test/this/path\" in an empty directory, mkdirs would make the directories \"test\", \"this\" and \"path\".\n\n\n### file.mkdirsSync(path, mode)\n\nLike file.mkdirs but synchronous.\n\n\n### file.path.abspath(path)\n\nExpands \".\", \"..\", \"~\" and non root paths to their full absolute path. Relative paths default to being children of the current working directory.\n\n\n### file.path.relativePath(root, fullPath)\n\nGiven a root path, and a fullPath attempts to diff between the two to give us an acurate path relative to root.\n\n\n### file.path.join(head, tail)\n\nJust like path.join but haves a little more sanely when give a head equal to \"\". file.path.join(\"\", \"tail\") returns \"tail\", path.join(\"\", \"tail\") returns \"/tail\"\n","readmeFilename":"README.md","homepage":"https://github.com/aconbere/node-file-utils","bugs":{"url":"http://github.com/aconbere/node-file-utils"},"license":"MIT"}