{"_id":"flac","_rev":"13-e1b764f682ca63034bef5906941d836f","name":"flac","description":"Find, Load and make the Cache","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"flac","author":{"name":"Fedor Golubev","email":"gregof@yandex.ru","url":"http://github.com/gregof"},"description":"Find, Load and make the Cache","version":"0.1.0","dependencies":{"abc":"0.5.x","fsa":"0.3.x"},"devDependencies":{"tc":"0.5.x"},"optionalDependencies":{},"engines":{"node":">=0.4"},"repository":{"type":"git","url":"git://github.com/gregof/flac.git"},"main":"./lib/index.js","readme":"## FLAC\nFind, Load and make the Cache.\n","_id":"flac@0.1.0","dist":{"shasum":"bbd14c9c21160b74ef96a0d26b0bae3e56c4a607","tarball":"https://registry.npmjs.org/flac/-/flac-0.1.0.tgz","integrity":"sha512-nhMIp9zVUtvkMF74A09DBvcn3Yc0YbOdVY3IIjpQeyc0QDw3wpmN+EktrWXhqxjMbRAAecBaex98SBrWFDTINA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqFk/Vsu4fYwd2iSIKiXtCB2rJNjM6PHn2xWwRxomSbQIgVrX/jDBoUBy6/jobfcz73yiGLbEx9fMu1tyOaRuRV2A="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"gregof","email":"gregof@yandex.ru"},"maintainers":[{"name":"gregof","email":"gregof@yandex.ru"}]},"0.2.0":{"name":"flac","author":{"name":"Fedor Golubev","email":"gregof@yandex.ru","url":"http://github.com/gregof"},"description":"Find, Load and make the Cache","version":"0.2.0","dependencies":{"abc":"0.5.x","fsa":"0.3.x"},"devDependencies":{"tc":"0.5.x"},"optionalDependencies":{},"engines":{"node":">=0.4"},"repository":{"type":"git","url":"git://github.com/gregof/flac.git"},"main":"./lib/index.js","readme":"## FLAC\nFind, Load and make the Cache.\n","_id":"flac@0.2.0","dist":{"shasum":"4bebba7ab358c01c8be43396c07341da1a70ad6f","tarball":"https://registry.npmjs.org/flac/-/flac-0.2.0.tgz","integrity":"sha512-vQH6cGI40iVJ7LlEE9wr+uOrGJBjxDMphkN8Dqx/s9oo8fJSqUi8Eq4dkSXAnYdxmfV1l+qJHbfTjuvLJ92H9w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE0ddXyzzWVNJ1WnLRgv0wjJ4kEpK93hXy/blWlfnvtoAiA6j0MZs+jtC0NEDIrc36/5QF4Did4Bkv7xcfC2b4WTwQ=="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"gregof","email":"gregof@yandex.ru"},"maintainers":[{"name":"gregof","email":"gregof@yandex.ru"}]},"0.2.1":{"name":"flac","author":{"name":"Fedor Golubev","email":"gregof@yandex.ru","url":"http://github.com/gregof"},"description":"Find, Load and make the Cache","version":"0.2.1","dependencies":{"abc":"0.5.x","fsa":"0.4.x"},"devDependencies":{"tc":"0.5.x"},"optionalDependencies":{},"engines":{"node":">=0.4"},"repository":{"type":"git","url":"git://github.com/gregof/flac.git"},"main":"./lib/index.js","readme":"## FLAC\nFind, Load and make the Cache.\n","_id":"flac@0.2.1","dist":{"shasum":"fa3947080d528ab08f83b8612ddb1c0653288f89","tarball":"https://registry.npmjs.org/flac/-/flac-0.2.1.tgz","integrity":"sha512-JcNDeezmVwk5jEzEIQ30OuPplv4Q0XuvhGQtJshdrdnH8TYXx5xv47PPN/NZmuBQdneGzEdPq43cq0t1xaKjlw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDy9cnetQ1eI5DiCgSgZ3e0BPctNBPkNNOGqweZIs3M0QIgD1MPv4uJEE8h6ywBSScBa3q9HSx1YdeFG2jECm1n5S0="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"gregof","email":"gregof@yandex.ru"},"maintainers":[{"name":"gregof","email":"gregof@yandex.ru"}]},"0.2.2":{"name":"flac","author":{"name":"Fedor Golubev","email":"gregof@yandex.ru","url":"http://github.com/gregof"},"description":"Find, Load and make the Cache","version":"0.2.2","dependencies":{"abc":"0.5.x","fsa":"0.5.x"},"devDependencies":{"tc":"0.5.x"},"optionalDependencies":{},"engines":{"node":">=0.4"},"repository":{"type":"git","url":"git://github.com/gregof/flac.git"},"main":"./lib/index.js","readme":"# FLAC\nFind, Load and make the Cache.\nCaching made by [fsa](https://github.com/gregof/fsa).\n\n## Example\nFile structure:\n```\ntest\n  package.json\n  a\n    module.json\n  b\n    module.json\n```\nDefine filters and exec flac.find for 'test' directory.\n```javascript\nvar flacOptions = {\n    filters: [\n        {\n            name: 'module',\n            test: function (file) {\n                return file === 'module.json'\n            }\n        },\n        {\n            name: 'package', \n            test: function (file) {\n                return file === 'pack.json'\n            }\n        }\n    ],\n    noCache: false // not required, becouse false is default value\n};\nflac.find('test', flacOptions, function (res) {\n    // print result\n})\n```\nResult:\n```json\n[\n    {\n        \"filter\": \"module\",\n        \"file\": \"a/module.json\",\n        \"text\": \"...\"\n    },\n    {\n        \"filter\": \"module\",\n        \"file\": \"b/module.json\",\n        \"text\": \"...\"\n    },\n    {\n        \"filter\": \"p\",\n        \"file\": \"package\",\n        \"text\": \"...\"\n    }\n]\n```","_id":"flac@0.2.2","dist":{"shasum":"3bcafce1171d233d336f74543833a4d079dc8ffb","tarball":"https://registry.npmjs.org/flac/-/flac-0.2.2.tgz","integrity":"sha512-Q3HzWoVO6Bq8lpyQfk22lGrNMOoe0zjYZIDDecY4tzovi96sG9djP21eZu/xEkG6l1dSRPv3ljPWb+C8bqjpcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4Ovd/WwLYdjCDntYk2EN8kEnOGZLLkpQdrjm+CyYkwgIgBBQ2X/vJDTPXAnf5pyCOkvkBY1EeVzSS0UF1lsTDZXI="}]},"_npmVersion":"1.1.59","_npmUser":{"name":"gregof","email":"gregof@yandex.ru"},"maintainers":[{"name":"gregof","email":"gregof@yandex.ru"}]},"0.3.0":{"name":"flac","author":{"name":"Fedor Golubev","email":"gregof@yandex.ru","url":"http://github.com/gregof"},"description":"Find, Load and make the Cache","version":"0.3.0","dependencies":{"abc":"0.5.x","fsa":"0.5.x"},"devDependencies":{"tc":"0.5.x"},"optionalDependencies":{},"engines":{"node":">=0.4"},"repository":{"type":"git","url":"git://github.com/gregof/flac.git"},"main":"./lib/index.js","readme":"# FLAC\nFind, Load and make the Cache.\nCaching made by [fsa](https://github.com/gregof/fsa).\n\nIf your filters are changed, you have to `clearCache`, because filters doesn't apply to cached objects.\n\n## Example\nFile structure:\n```\ntest\n  package.json\n  a\n    module.json\n  b\n    module.json\n```\nDefine filters and exec `flac.find` for `test` directory.\n```javascript\nvar flacOptions = {\n    filters: [\n        {\n            name: 'module',\n            test: function (file) {\n                return file === 'module.json'\n            }\n        },\n        {\n            name: 'package', \n            test: function (file) {\n                return file === 'package.json'\n            }\n        }\n    ],\n    noCache: false, // not required, default value 'false'\n    cacheDir: '.custom' // not required, default value '.flac'\n};\nflac.find('test', flacOptions, function (res) {\n    // print result\n})\n```\nResult:\n```json\n[\n    {\n        \"filter\": \"module\",\n        \"file\": \"a/module.json\",\n        \"text\": \"...\"\n    },\n    {\n        \"filter\": \"module\",\n        \"file\": \"b/module.json\",\n        \"text\": \"...\"\n    },\n    {\n        \"filter\": \"package\",\n        \"file\": \"package.json\",\n        \"text\": \"...\"\n    }\n]\n```\n","_id":"flac@0.3.0","dist":{"shasum":"e59e410c3b4856ac97ff588a1f54304ac318933c","tarball":"https://registry.npmjs.org/flac/-/flac-0.3.0.tgz","integrity":"sha512-52oFJru3F/aELcnDwHtqDNXxruIZH7bE3vK6xQF4ALCelCZBXFggqPsPXPilVs9L242Iz1ROrbVX0UYXJMMinw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdnvxxIr0OMeJBfuKXhejVdAha+rl8+tQJHNqxq+xcKAIhAKx5Xqh4hPhUyZIUq7HbzuxqlpKxmvanu0zQTBnxyb0G"}]},"_npmVersion":"1.1.59","_npmUser":{"name":"gregof","email":"gregof@yandex.ru"},"maintainers":[{"name":"gregof","email":"gregof@yandex.ru"}]}},"readme":"## FLAC\nFind, Load and make the Cache.\n","maintainers":[{"name":"gregof","email":"gregof@yandex.ru"}],"time":{"modified":"2022-06-18T01:53:07.635Z","created":"2012-12-20T13:48:31.284Z","0.1.0":"2012-12-20T13:48:33.519Z","0.2.0":"2012-12-21T14:44:28.473Z","0.2.1":"2012-12-28T09:29:06.404Z","0.2.2":"2013-02-06T10:47:46.941Z","0.3.0":"2013-02-14T10:22:18.947Z"},"author":{"name":"Fedor Golubev","email":"gregof@yandex.ru","url":"http://github.com/gregof"},"repository":{"type":"git","url":"git://github.com/gregof/flac.git"}}