{"dist":{"shasum":"3bcafce1171d233d336f74543833a4d079dc8ffb","tarball":"https://registry.npmjs.org/flac/-/flac-0.2.2.tgz","integrity":"sha512-Q3HzWoVO6Bq8lpyQfk22lGrNMOoe0zjYZIDDecY4tzovi96sG9djP21eZu/xEkG6l1dSRPv3ljPWb+C8bqjpcw==","signatures":[{"sig":"MEUCIQC4Ovd/WwLYdjCDntYk2EN8kEnOGZLLkpQdrjm+CyYkwgIgBBQ2X/vJDTPXAnf5pyCOkvkBY1EeVzSS0UF1lsTDZXI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/index.js","name":"flac","author":{"url":"http://github.com/gregof","name":"Fedor Golubev","email":"gregof@yandex.ru"},"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```","engines":{"node":">=0.4"},"_npmUser":{"name":"gregof","email":"gregof@yandex.ru"},"repository":{"url":"git://github.com/gregof/flac.git","type":"git"},"_npmVersion":"1.1.59","description":"Find, Load and make the Cache","maintainers":[{"name":"gregof","email":"gregof@yandex.ru"}],"dependencies":{"abc":"0.5.x","fsa":"0.5.x"},"devDependencies":{"tc":"0.5.x"},"optionalDependencies":{},"_id":"flac@0.2.2","version":"0.2.2"}