{"_id":"extfs","_rev":"21-a4abb61fed9583aa8ac4c71eb4385c54","name":"extfs","description":"Extension of fs module.","dist-tags":{"latest":"0.0.7"},"versions":{"0.0.1":{"name":"extfs","description":"Extension to fs","version":"0.0.1","author":{"name":"Mariano Pardo","url":"Codexar"},"scripts":{"start":"node app.js"},"dependencies":{"underscore":">= 1.4 < 2"},"devDependencies":{"mocha":">= 1.13 < 2","expect.js":"latest"},"engines":{"node":">= 0.8.0"},"_id":"extfs@0.0.1","dist":{"shasum":"bb4006f426ff1192f178c4884eb9ed10814777b1","tarball":"https://registry.npmjs.org/extfs/-/extfs-0.0.1.tgz","integrity":"sha512-cgIVMC+U84fQFBI5dhEKblGcdEwHl4v9ttzT5+os0RYF8rQU3mmQJgIHgRyQk5vdJOXnNIKJjqqZUyOitxCLKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8KPjNLc+7f9z1hAOczpgAZwf/chBedrJiF3fitst3oQIhANFTwkuydbfgcJKf+8LjgvfqT3N7ai1J/nznVl188XSz"}]},"_from":".","_npmVersion":"1.3.6","_npmUser":{"name":"marianopardo","email":"marianomdq1@gmail.com"},"maintainers":[{"name":"marianopardo","email":"marianomdq1@gmail.com"}],"directories":{}},"0.0.3":{"name":"extfs","description":"Extension for Node.js fs module.","version":"0.0.3","author":{"name":"Mariano Pardo","email":"marianomdq1@gmail.com","url":"Codexar"},"dependencies":{"underscore":">= 1.4 < 2"},"devDependencies":{"mocha":">= 1.13 < 2","expect.js":"latest"},"scripts":{"prepublish":"npm prune","test":"mocha ./tests/extfsTest.js"},"keywords":["fs","file","system","utils","tools"],"main":"extfs","repository":{"type":"git","url":"git://github.com/codexar/npm-extfs"},"engines":{"node":">= 0.8.0"},"bugs":{"url":"https://github.com/codexar/npm-extfs/issues"},"_id":"extfs@0.0.3","dist":{"shasum":"8793b79d87023ac9d7791b75ee45890e0b01703a","tarball":"https://registry.npmjs.org/extfs/-/extfs-0.0.3.tgz","integrity":"sha512-tGEZ1ksdq7ncl0Jsr7xFBJIOV6UgJQpdAaO4aEor3PRv2TufwAZYInAjzlxxsxqB1+Yz67UOH0ItH2OXCweNlg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBIzGXgLfE8Qhj1dHi+isClZCr1GCrp/t5YdB5U+el+4AiBbf4pG8poz2AmtEHz07gtCYYHPdwr4sn4wtZUAzq14lg=="}]},"_from":".","_npmVersion":"1.3.6","_npmUser":{"name":"marianopardo","email":"marianomdq1@gmail.com"},"maintainers":[{"name":"marianopardo","email":"marianomdq1@gmail.com"}]},"0.0.4":{"name":"extfs","description":"Extension for Node.js fs module.","version":"0.0.4","author":{"name":"Mariano Pardo","email":"marianomdq1@gmail.com","url":"Codexar"},"dependencies":{"underscore":">= 1.4 < 2"},"devDependencies":{"mocha":">= 1.13 < 2","expect.js":"latest"},"scripts":{"prepublish":"npm prune","test":"mocha ./tests/extfsTest.js"},"keywords":["fs","file","system","utils","tools"],"main":"extfs","repository":{"type":"git","url":"git://github.com/codexar/npm-extfs"},"engines":{"node":">= 0.8.0"},"bugs":{"url":"https://github.com/codexar/npm-extfs/issues"},"_id":"extfs@0.0.4","dist":{"shasum":"6d9132599caeaa3c2d28a6e73ca970cc7aae25e4","tarball":"https://registry.npmjs.org/extfs/-/extfs-0.0.4.tgz","integrity":"sha512-jWHI8gIVUQRVmcUytB5Jcd8tc8cBc7EzkNHcuHO3Ro+2vTgnyZQ42Dr6m1qr/+xPGla75DzK/zN2LwjjLMaH7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHSylSw0WYF9sUTplfKO1FLfcztrza2KoGI+z4MgaC2/AiEAk3U+rgbmftsi9xs85PxXbtwv/yamKgAdBjrD3ZBgl7Y="}]},"_from":".","_npmVersion":"1.3.6","_npmUser":{"name":"marianopardo","email":"marianomdq1@gmail.com"},"maintainers":[{"name":"marianopardo","email":"marianomdq1@gmail.com"}]},"0.0.5":{"name":"extfs","description":"Extension for Node.js fs module.","version":"0.0.5","author":{"name":"Mariano Pardo","email":"marianomdq1@gmail.com","url":"Codexar"},"dependencies":{"underscore":">= 1.4 < 2"},"devDependencies":{"mocha":">= 1.13 < 2","expect.js":"latest"},"scripts":{"prepublish":"npm prune","test":"mocha ./tests/extfsTest.js"},"keywords":["fs","file","system","utils","tools"],"main":"extfs","repository":{"type":"git","url":"git://github.com/codexar/npm-extfs"},"engines":{"node":">= 0.8.0"},"bugs":{"url":"https://github.com/codexar/npm-extfs/issues"},"_id":"extfs@0.0.5","dist":{"shasum":"e4c03e73b929a71d74e649a4f35fc512a353f0ce","tarball":"https://registry.npmjs.org/extfs/-/extfs-0.0.5.tgz","integrity":"sha512-en6Pv+IJt1JHOJqFksv4n+txZdkwFPzdP+WFCmiJW8rrL3sfiw0GX9NK8DiUWY3fEkMwdglAhCYhv0uGVb8mtw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCAJ7zvXwMjEeU7Vy1ShUFNWgaXqTPNllYC3gWFKIwDewIhAP/pJysRnXVTYT11TcRLQW6vIXJpyM+m5bxuUZSHz8of"}]},"_from":".","_npmVersion":"1.3.6","_npmUser":{"name":"marianopardo","email":"marianomdq1@gmail.com"},"maintainers":[{"name":"marianopardo","email":"marianomdq1@gmail.com"}]},"0.0.6":{"name":"extfs","description":"Extension for Node.js fs module.","version":"0.0.6","author":{"name":"Mariano Pardo","email":"marianomdq1@gmail.com","url":"Codexar"},"dependencies":{"underscore":">= 1.4 < 2"},"devDependencies":{"mocha":">= 1.13 < 2","expect.js":"latest"},"scripts":{"prepublish":"npm prune","test":"mocha ./tests/extfsTest.js"},"keywords":["fs","file","system","utils","tools"],"main":"extfs","repository":{"type":"git","url":"git://github.com/codexar/npm-extfs"},"engines":{"node":">= 0.8.0"},"bugs":{"url":"https://github.com/codexar/npm-extfs/issues"},"_id":"extfs@0.0.6","dist":{"shasum":"8b679959f34472b5e8bfcedec1108acc393c07c8","tarball":"https://registry.npmjs.org/extfs/-/extfs-0.0.6.tgz","integrity":"sha512-h3yC91T9Rj2MwGykPQ4QqIwG3qBUFj26AI5kvJ8nMc5in1KgGjtr4F2KaS7tQ1JfTX81FgKbE29Zei5oST39ew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2ehvGPvQS0Xe+Q+pe2/1nkYcJ82YNjxoGCUI1UJv8SgIgIPzKiK51ljKDymIKbJ6k/4HwK+AhnVkjyAl60Gt2vrU="}]},"_from":".","_npmVersion":"1.3.6","_npmUser":{"name":"marianopardo","email":"marianomdq1@gmail.com"},"maintainers":[{"name":"marianopardo","email":"marianomdq1@gmail.com"}]},"0.0.7":{"name":"extfs","description":"Extension of fs module.","version":"0.0.7","author":{"name":"Mariano Pardo","email":"marianomdq1@gmail.com","url":"Codexar"},"dependencies":{"underscore":">= 1.4 < 2"},"devDependencies":{"expect.js":"latest"},"scripts":{"prepublish":"npm prune","test":"mocha ./tests/extfsTest.js"},"keywords":["fs","file","system","utils","tools"],"main":"extfs","repository":{"type":"git","url":"git://github.com/codexar/npm-extfs"},"engines":{"node":">= 0.8.0"},"bugs":{"url":"https://github.com/codexar/npm-extfs/issues"},"homepage":"https://github.com/codexar/npm-extfs","_id":"extfs@0.0.7","dist":{"shasum":"a30810e474590a0dbcd0d2f457adc89009c5c0ab","tarball":"https://registry.npmjs.org/extfs/-/extfs-0.0.7.tgz","integrity":"sha512-W7i0Oz7w3u28fpMw48DfiLmdqXR/tERg+R6a24JMo2b+ox2QDKf2/8D8Rij/qqbf7/XKUsh3FsAbFbmKmMeqpA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDiBeKXoLv3o0Z7XAp9cGQMWTdORGk2vxCWuszvrl4uEAIgHzVQjmZLI5smiW7G/SORxfj5JbxnvMR8KWUjnUYoaJk="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"marianopardo","email":"marianomdq1@gmail.com"},"maintainers":[{"name":"marianopardo","email":"marianomdq1@gmail.com"}]}},"readme":"Extension for Node.js fs module\n=========\n \n##Table of Contents:\n\n- [getDirs(path, cb)](#getDirs)\n- [getDirsSync(path)](#getDirsSync)\n- [isEmpty(path, cb)](#isEmpty)\n- [isEmptySync(path)](#isEmptySync)\n- [remove(path, cb)](#remove)\n- [removeSync(path)](#removeSync)\n\n## <a name=\"getDirs\"></a>getDirs(path, cb)\n\nGet all directories from a path\n\nExample:\n\n ```javascript\nvar fs = require('extfs');\n\nfs.getDirs('/home/myFolder', function (err, dirs) {\n  if (err) {\n    throw err;\n  }\n  console.log(dirs); // Array of directories\n});\n ```\n\n## <a name=\"getDirsSync\"></a>getDirsSync(path)\n\n(Synchronously) Get all directories from a path\n\nExample:\n\n```javascript\nvar fs = require('extfs');\n\nvar dirs = fs.getDirsSync('/home/myFolder');\nconsole.log(dirs); // Array of directories\n ```\n\n## <a name=\"isEmpty\"></a>isEmpty(path, cb)\n\nCheck if a file or directory is empty.\nA file is empty if not exists or not have any content.\nA directory is empty if not exists or not have any file inside.\n\nExample:\n\n```javascript\nvar fs = require('extfs');\n\nfs.isEmpty('/home/myFolder', function (empty) {\n  console.log(empty);\n});\n ```\n\n## <a name=\"isEmptySync\"></a>isEmptySync(path)\n\n(Synchronously) Check if a file or directory is empty.\nA file is empty if not exists or not have any content.\nA directory is empty if not exists or not have any file inside.\n\nExample:\n\n```javascript\nvar fs = require('extfs');\n\nvar empty = fs.isEmptySync('/home/myFolder');\nconsole.log(empty);\n ```\n\n## <a name=\"remove\"></a>remove(path, cb)\n\nRemove a path or array of paths.\nA path can be a file or directory.\nIf a directory is not empty, also removes its content.\n\nExample:\n\n```javascript\nvar fs = require('extfs');\n\nfs.remove('/home/folder');\nfs.remove([ '/home/folder1', '/hole/folder2', '/home/folder3' ]);\n ```\n\n## <a name=\"removeSync\"></a>removeSync(path, cb)\n\n(Synchronously) Remove a path or array of paths.\nA path can be a file or directory.\nIf a directory is not empty, also removes its content.\n\nExample:\n\n```javascript\nvar fs = require('extfs');\n\nfs.removeSync('/home/folder', function (err) {\n  console.log('Folder removed');\n});\nfs.remove([ '/home/folder1', '/hole/folder2', '/home/folder3' ], function (err) {\n  console.log('Folders removed');\n});\n```","maintainers":[{"name":"marianopardo","email":"marianomdq1@gmail.com"}],"time":{"modified":"2022-06-17T22:56:43.571Z","created":"2013-11-05T17:36:04.054Z","0.0.1":"2013-11-05T17:36:08.838Z","0.0.2":"2013-11-05T22:35:27.773Z","0.0.3":"2013-11-05T22:48:07.372Z","0.0.4":"2013-11-09T19:43:13.180Z","0.0.5":"2013-11-18T21:21:34.444Z","0.0.6":"2013-11-18T22:20:14.379Z","0.0.7":"2014-04-08T19:13:37.001Z"},"author":{"name":"Mariano Pardo","email":"marianomdq1@gmail.com","url":"Codexar"},"repository":{"type":"git","url":"git://github.com/codexar/npm-extfs"},"homepage":"https://github.com/codexar/npm-extfs","keywords":["fs","file","system","utils","tools"],"bugs":{"url":"https://github.com/codexar/npm-extfs/issues"},"readmeFilename":"README.md","users":{}}