{"_id":"grunt-filenames","_rev":"22-e2797c0de56d0112fa629651aecd7632","name":"grunt-filenames","description":"Validates filenames using given RegExp","dist-tags":{"latest":"0.4.0"},"versions":{"0.0.1":{"name":"grunt-filenames","description":"Validates filenames using given RegExp","version":"0.0.1","author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com","url":"http://glebbahmutov.com"},"bugs":{"url":"https://github.com/bahmutov/grunt-filenames/issues"},"dependencies":{},"devDependencies":{"grunt-contrib-jshint":"~0.8.0","grunt-jshint-solid":"0.0.1","grunt-nice-package":"~0.2.1","grunt-readme":"~0.4.5","jshint-stylish":"~0.1.5","matchdep":"~0.3.0","pre-git":"0.0.14"},"engines":{"node":">= 0.8.0"},"homepage":"https://github.com/bahmutov/grunt-filenames","keywords":["gruntplugin","package","validator","npm","filenames"],"license":"MIT","main":"Gruntfile.js","peerDependencies":{"grunt":"~0.4.1"},"pre-commit":"grunt","repository":{"type":"git","url":"git@github.com:bahmutov/grunt-filenames.git"},"scripts":{"test":"grunt"},"_id":"grunt-filenames@0.0.1","dist":{"shasum":"470333067ad05a4b57aa2f04d3dff9a6c35d93bb","tarball":"https://registry.npmjs.org/grunt-filenames/-/grunt-filenames-0.0.1.tgz","integrity":"sha512-gaEf20ItUBvZ56BInag2qph+2X3R93aOqHZjGySrA8n3hW5Mx19n1OSFbORlHJHBt3RgBus8IuHZgEuv+YsnMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHER543Z5G035IRM6hI6EKClGRF88UKb9wFgD/rhrFIwIgQkSmDvSmZO4dvtz1AUs7G1jbUZhuj2fqyUZV0Z5mxqg="}]},"_from":".","_npmVersion":"1.3.22","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}]},"0.0.2":{"name":"grunt-filenames","description":"Validates filenames using given RegExp","version":"0.0.2","author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com","url":"http://glebbahmutov.com"},"bugs":{"url":"https://github.com/bahmutov/grunt-filenames/issues"},"dependencies":{},"devDependencies":{"grunt-contrib-jshint":"~0.8.0","grunt-jshint-solid":"0.0.1","grunt-nice-package":"~0.2.1","grunt-readme":"~0.4.5","jshint-stylish":"~0.1.5","matchdep":"~0.3.0","pre-git":"0.0.14"},"engines":{"node":">= 0.8.0"},"homepage":"https://github.com/bahmutov/grunt-filenames","keywords":["gruntplugin","package","validator","npm","filenames"],"license":"MIT","main":"Gruntfile.js","peerDependencies":{"grunt":"~0.4.1"},"pre-commit":"grunt","repository":{"type":"git","url":"git@github.com:bahmutov/grunt-filenames.git"},"scripts":{"test":"grunt"},"_id":"grunt-filenames@0.0.2","dist":{"shasum":"1de93c124675ec32b2a308885df44ba9490f6dff","tarball":"https://registry.npmjs.org/grunt-filenames/-/grunt-filenames-0.0.2.tgz","integrity":"sha512-DiLHyJRVYeBQ0TSBFp7tvAqEk+YX0l5jKLX7FYqgnKd7oOrchfybVahLOX/ZSIX8wWGcJWwLYkPR82UrZUTV4w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFoHTRcXUDRDuzPui3DZBPI1blswp6+ccslvhEt1FD3iAiA/iJ/KXoRjt8gb1GtFWxWUGC0IQpWR+PtM6uue1tw3Gw=="}]},"_from":".","_npmVersion":"1.3.22","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}]},"0.0.3":{"name":"grunt-filenames","description":"Validates filenames using given RegExp","version":"0.0.3","author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com","url":"http://glebbahmutov.com"},"bugs":{"url":"https://github.com/bahmutov/grunt-filenames/issues"},"dependencies":{},"devDependencies":{"grunt-contrib-jshint":"~0.8.0","grunt-jshint-solid":"0.0.1","grunt-nice-package":"~0.2.1","grunt-readme":"~0.4.5","jshint-stylish":"~0.1.5","matchdep":"~0.3.0","pre-git":"0.0.14"},"engines":{"node":">= 0.8.0"},"homepage":"https://github.com/bahmutov/grunt-filenames","keywords":["gruntplugin","package","validator","npm","filenames"],"license":"MIT","main":"Gruntfile.js","peerDependencies":{"grunt":"~0.4.1"},"pre-commit":"grunt","repository":{"type":"git","url":"git@github.com:bahmutov/grunt-filenames.git"},"scripts":{"test":"grunt"},"_id":"grunt-filenames@0.0.3","dist":{"shasum":"640ccfb3a1c3bb7e9f5ac2548d9f06a7b127e64f","tarball":"https://registry.npmjs.org/grunt-filenames/-/grunt-filenames-0.0.3.tgz","integrity":"sha512-Ca+V9DFm1f9VVUUR/63kXQSH9xvr8aGiEK5jODKdkjHtoO9ND3VGRLdzPaFmXPng8DnTfHing8cJ8IoeRPQe7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKMpWAsiCq/P83qiAbT+/eVLtcFQhZm0MFc7aV3GTRxwIhAJUpBkg7u9ceO24Q+H46BY5bF0qXowXcmOqL8mHxVZvK"}]},"_from":".","_npmVersion":"1.3.22","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}]},"0.1.0":{"name":"grunt-filenames","description":"Validates filenames using given RegExp","version":"0.1.0","author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com","url":"http://glebbahmutov.com"},"bugs":{"url":"https://github.com/bahmutov/grunt-filenames/issues"},"dependencies":{},"devDependencies":{"grunt-contrib-jshint":"~0.8.0","grunt-jshint-solid":"0.0.1","grunt-nice-package":"~0.2.1","grunt-readme":"~0.4.5","jshint-stylish":"~0.1.5","matchdep":"~0.3.0","pre-git":"0.0.14"},"engines":{"node":">= 0.8.0"},"homepage":"https://github.com/bahmutov/grunt-filenames","keywords":["gruntplugin","package","validator","npm","filenames"],"license":"MIT","main":"Gruntfile.js","peerDependencies":{"grunt":"~0.4.1"},"pre-commit":"grunt","repository":{"type":"git","url":"git@github.com:bahmutov/grunt-filenames.git"},"scripts":{"test":"grunt"},"_id":"grunt-filenames@0.1.0","dist":{"shasum":"64be6a7dbfe1cc9d647b1618216d4015c1223c78","tarball":"https://registry.npmjs.org/grunt-filenames/-/grunt-filenames-0.1.0.tgz","integrity":"sha512-I4XzsqD/HQLOtqTuJmu6Qy7rnRg6tolgKj6bXugY1D4QyPUHef6LKC4KV+Z/4PXulpPPTtFf2yD9WUc/XjgkJA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGxMVw+wlPXjuAsyD7StIHFWnb8wQQ52ICewyCo+P4xqAiEAhCxbg4FvpjAHeNqP5BLovsLawGa6J5slk+ImUGSlrf8="}]},"_from":".","_npmVersion":"1.3.22","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}]},"0.1.1":{"name":"grunt-filenames","description":"Validates filenames using given RegExp","version":"0.1.1","author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com","url":"http://glebbahmutov.com"},"bugs":{"url":"https://github.com/bahmutov/grunt-filenames/issues"},"dependencies":{},"devDependencies":{"grunt-contrib-jshint":"~0.8.0","grunt-jshint-solid":"0.1.0","grunt-nice-package":"~0.2.1","grunt-readme":"~0.4.5","jshint-stylish":"~0.1.5","matchdep":"~0.3.0","pre-git":"0.0.14"},"engines":{"node":">= 0.8.0"},"homepage":"https://github.com/bahmutov/grunt-filenames","keywords":["gruntplugin","package","validator","npm","filenames"],"license":"MIT","main":"Gruntfile.js","peerDependencies":{"grunt":"~0.4.1"},"pre-commit":"grunt","repository":{"type":"git","url":"git@github.com:bahmutov/grunt-filenames.git"},"scripts":{"test":"grunt"},"_id":"grunt-filenames@0.1.1","dist":{"shasum":"3868ebe2bf2a0fe8d951ba3667c3674326f23354","tarball":"https://registry.npmjs.org/grunt-filenames/-/grunt-filenames-0.1.1.tgz","integrity":"sha512-eZ6VXqKXeUuXHvHeH+fR93TbN/F9Z9pwILSAJd2cZa8HghrIKxKjkt0wQyuTvdJedRD/Eg5bgfmpg3e+Y/8QAw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRsMaUvseVgHnyK+FcC5O0wbTein2iSfXOYLNxGILdwAIgE/QdDZ2Wk9qT1XxC50Ko5AY5GoZ4Vv3d+m280SzYN/s="}]},"_from":".","_npmVersion":"1.3.22","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}]},"0.1.2":{"name":"grunt-filenames","description":"Validates filenames using given RegExp","version":"0.1.2","author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com","url":"http://glebbahmutov.com"},"bugs":{"url":"https://github.com/bahmutov/grunt-filenames/issues"},"dependencies":{},"devDependencies":{"grunt-contrib-jshint":"0.10.0","grunt-jshint-solid":"0.1.0","grunt-nice-package":"0.9.1","grunt-readme":"0.4.5","jshint-stylish":"0.4.0","matchdep":"0.3.0","pre-git":"0.0.16"},"engines":{"node":">= 0.8.0"},"homepage":"https://github.com/bahmutov/grunt-filenames","keywords":["gruntplugin","package","validator","npm","filenames"],"license":"MIT","main":"Gruntfile.js","peerDependencies":{"grunt":"0.4.5"},"pre-commit":"grunt","repository":{"type":"git","url":"git@github.com:bahmutov/grunt-filenames.git"},"scripts":{"test":"grunt"},"_id":"grunt-filenames@0.1.2","dist":{"shasum":"0d9a0af59710f881db07faa598da9d5dd5b5cadb","tarball":"https://registry.npmjs.org/grunt-filenames/-/grunt-filenames-0.1.2.tgz","integrity":"sha512-0dyYBJAJKqySrSJQ64DR3DQe2rqUd11Hwmvjivqn88h4QfM0eMzdbj6Il2URSZl6s8MoTEhTK+JtlNYl8bwKZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEaVph+hFmaQ4hqTbyYdy7eo2n5HHnspe5Ronq5iyUK1AiEA7oNPnzdtLEKkOXD+SpcRyz/tyyMRUotv1up5RZL0SyU="}]},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}]},"0.2.0":{"name":"grunt-filenames","description":"Validates filenames using given RegExp","version":"0.2.0","author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com","url":"http://glebbahmutov.com"},"bugs":{"url":"https://github.com/bahmutov/grunt-filenames/issues"},"dependencies":{},"devDependencies":{"grunt-contrib-jshint":"0.10.0","grunt-jshint-solid":"0.1.0","grunt-nice-package":"0.9.1","grunt-readme":"0.4.5","jshint-stylish":"0.4.0","matchdep":"0.3.0","pre-git":"0.0.16"},"engines":{"node":">= 0.8.0"},"homepage":"https://github.com/bahmutov/grunt-filenames","keywords":["gruntplugin","package","validator","npm","filenames"],"license":"MIT","main":"Gruntfile.js","peerDependencies":{"grunt":"0.4.5"},"pre-commit":"grunt","repository":{"type":"git","url":"git@github.com:bahmutov/grunt-filenames.git"},"scripts":{"test":"grunt"},"gitHead":"f9b462b9cbbe594d8bdaec98c702c80ef1896cff","_id":"grunt-filenames@0.2.0","_shasum":"b9e7ef7dc1742c9f530ec1746e59664d75e1b62d","_from":".","_npmVersion":"2.0.0-alpha-5","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"dist":{"shasum":"b9e7ef7dc1742c9f530ec1746e59664d75e1b62d","tarball":"https://registry.npmjs.org/grunt-filenames/-/grunt-filenames-0.2.0.tgz","integrity":"sha512-3cfTxSX70i/RLGXMILaStaQ0aEldHN7ZAEz/lfgFyecUdpEzoftGlS2h4L8G2pyQEjN0wBSxQT4DIzIdfk9/wg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHlj9dG1QeQlvT3OjWzHXfPuia8F71ak6GqTJ/CgXuvdAiA7bQBclBDvVpqY0ejQKqxCqmXYDyCTpKFCOLUGNT6jCg=="}]}},"0.3.0":{"name":"grunt-filenames","description":"Validates filenames using given RegExp","version":"0.3.0","author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com","url":"http://glebbahmutov.com"},"bugs":{"url":"https://github.com/bahmutov/grunt-filenames/issues"},"contributors":[],"dependencies":{},"devDependencies":{"grunt-contrib-jshint":"0.10.0","grunt-jshint-solid":"0.1.0","grunt-nice-package":"0.9.2","grunt-readme":"0.4.5","jshint-stylish":"1.0.0","matchdep":"0.3.0","pre-git":"0.1.1"},"engines":{"node":">= 0.8.0"},"homepage":"https://github.com/bahmutov/grunt-filenames","keywords":["gruntplugin","package","validator","npm","filenames"],"license":"MIT","main":"Gruntfile.js","peerDependencies":{"grunt":"0.4.5"},"pre-commit":"grunt && npm version","repository":{"type":"git","url":"git@github.com:bahmutov/grunt-filenames.git"},"scripts":{"test":"grunt"},"gitHead":"54b7a63c85973a719139fb3d0f016958aab23cf9","_id":"grunt-filenames@0.3.0","_shasum":"dcf7872690f20649018ab6f8fdf99a46a5fb80b4","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.11.10","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"dist":{"shasum":"dcf7872690f20649018ab6f8fdf99a46a5fb80b4","tarball":"https://registry.npmjs.org/grunt-filenames/-/grunt-filenames-0.3.0.tgz","integrity":"sha512-bSvkX7CKBny3TLDnbgEMmSHw272z7VcQ5tvC7jvncb6en6IHnzGUXadkF+wnaOTfc0MK42eNk+sPEkOVjXrlLw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDylHNrRrk3RYqHIXEHpBlzCDG7BowYPrXtURyD2STQWgIgbQIukLuQqFTx9Yo4pWJ+DkcFG1fhRJWsMRbcIk5AW/w="}]}},"0.3.1":{"name":"grunt-filenames","description":"Validates filenames using given RegExp","version":"0.3.1","author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com","url":"http://glebbahmutov.com"},"bugs":{"url":"https://github.com/bahmutov/grunt-filenames/issues"},"contributors":[],"dependencies":{},"devDependencies":{"grunt-contrib-jshint":"0.10.0","grunt-jshint-solid":"0.1.0","grunt-nice-package":"0.9.2","grunt-readme":"0.4.5","jshint-stylish":"1.0.0","matchdep":"0.3.0","pre-git":"0.1.1"},"engines":{"node":">= 0.8.0"},"homepage":"https://github.com/bahmutov/grunt-filenames","keywords":["gruntplugin","package","validator","npm","filenames"],"license":"MIT","main":"Gruntfile.js","peerDependencies":{"grunt":"0.4.5"},"pre-commit":"grunt && npm version","repository":{"type":"git","url":"git@github.com:bahmutov/grunt-filenames.git"},"scripts":{"test":"grunt"},"gitHead":"f456511d3cfc1e20eaefc946620aa866a8ae774c","_id":"grunt-filenames@0.3.1","_shasum":"d6cf677367ab5cbea89cc4564f4beb75c9e19ee5","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.11.10","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"dist":{"shasum":"d6cf677367ab5cbea89cc4564f4beb75c9e19ee5","tarball":"https://registry.npmjs.org/grunt-filenames/-/grunt-filenames-0.3.1.tgz","integrity":"sha512-Pti1U/peamAHhNXps4Xhg+LhGq0V2vxgC4DFN5G94C/QIov70s4j7q90wx8fcMpboDtwXAGGycloOXBy7h4KOA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAZbYbRoRsjUvS348tQSphNLvDAY6chpOzAOMVQzw+wJAiEA8WIMSaMW90lvNiThpKS/XB8icESn6Hi46/hNShFqrLM="}]}},"0.4.0":{"name":"grunt-filenames","description":"Validates filenames using given RegExp","version":"0.4.0","author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com","url":"http://glebbahmutov.com"},"bugs":{"url":"https://github.com/bahmutov/grunt-filenames/issues"},"contributors":[],"dependencies":{},"devDependencies":{"grunt-contrib-jshint":"0.10.0","grunt-jshint-solid":"0.1.0","grunt-nice-package":"0.9.2","grunt-readme":"0.4.5","jshint-stylish":"1.0.0","matchdep":"0.3.0","pre-git":"0.1.1"},"engines":{"node":">= 0.8.0"},"homepage":"https://github.com/bahmutov/grunt-filenames","keywords":["gruntplugin","package","validator","npm","filenames"],"license":"MIT","main":"Gruntfile.js","peerDependencies":{"grunt":"0.4.5"},"pre-commit":"grunt && npm version","repository":{"type":"git","url":"git@github.com:bahmutov/grunt-filenames.git"},"scripts":{"test":"grunt"},"gitHead":"829b1e9a321fd1b3bd96aa193025df14e2ff0d40","_id":"grunt-filenames@0.4.0","_shasum":"5c880288372590069415f179fe739e1a5e4db245","_from":".","_npmVersion":"2.1.16","_nodeVersion":"0.11.10","_npmUser":{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"dist":{"shasum":"5c880288372590069415f179fe739e1a5e4db245","tarball":"https://registry.npmjs.org/grunt-filenames/-/grunt-filenames-0.4.0.tgz","integrity":"sha512-1u+M9KzRzlZqDeGSZTT8Cu2FmS+h3MY46lFqD3amr6QPfN5Bv+bE8u3G9ZHWNHkHlNckpg08V7ShhEkbU2zO7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH3Mj7J/WfS8BO/+MT/FcdK1RurgjmGC3b0GHjyST2xcAiEA4wzHp1r/cmX+eOQTbpOQDubIryGZ8xLpM0Ommiyb5/8="}]}}},"readme":"# grunt-filenames v0.4.0\n\n> Validates filenames using given RegExp\n\n[![NPM][grunt-filenames-icon] ][grunt-filenames-url]\n\n[![Build status][grunt-filenames-ci-image] ][grunt-filenames-ci-url]\n[![dependencies][grunt-filenames-dependencies-image] ][grunt-filenames-dependencies-url]\n[![devdependencies][grunt-filenames-devdependencies-image] ][grunt-filenames-devdependencies-url]\n\n[grunt-filenames-icon]: https://nodei.co/npm/grunt-filenames.png?downloads=true\n[grunt-filenames-url]: https://npmjs.org/package/grunt-filenames\n[grunt-filenames-ci-image]: https://travis-ci.org/bahmutov/grunt-filenames.png?branch=master\n[grunt-filenames-ci-url]: https://travis-ci.org/bahmutov/grunt-filenames\n[grunt-filenames-dependencies-image]: https://david-dm.org/bahmutov/grunt-filenames.png\n[grunt-filenames-dependencies-url]: https://david-dm.org/bahmutov/grunt-filenames\n[grunt-filenames-devdependencies-image]: https://david-dm.org/bahmutov/grunt-filenames/dev-status.png\n[grunt-filenames-devdependencies-url]: https://david-dm.org/bahmutov/grunt-filenames#info=devDependencies\n\n\n\n### Install\n\n`npm install grunt-filenames --save-dev`\n\n### Example\n\nChecks if all JavaScript filenames are lower case.\n\n```js\n// Gruntfile.js\ngrunt.initConfig({\n  filenames: {\n    options: {\n      valid: /^[a-z]+\\.js$/,\n      except: // 'name' | ['name1', 'name2'] | function (name) { return true if name is exception }\n    },\n    src: ['tasks/*.js']\n  }\n});\ngrunt.loadNpmTasks('grunt-filenames');\ngrunt.registerTask('default', ['filenames']);\n```\n\n**note** grunt-filenames checks base name only (not folder names)\n\n**Custom error message**\n\nAdd the following property to the options to get custom error messages\n\n    error: 'your file {filename} does not come close to passing {valid}'\n    // {filename} - will be failed filename\n    // {valid} - will be options.valid regexp\n\n### Extras\n\noption **valid**\n\nInstead of RegExp, you can specify\n\n* `valid: \"dashes\"` - allow lower-case-with-dashes filenames\n* `valid: \"camelCase\"` - allow camelCased filenames\n\nA function, for example\n\n```js\nvalid: function (filename) {\n  return filename.length > 10;\n}\n```\n\noption **except**\n\nYou can exclude specific names if they fail the check. Single string name, array of strings or\na function is allowed. A function should return truthy value if given name that fails should be an exception.\n\n\n\n### Small print\n\nAuthor: Gleb Bahmutov &copy; 2014\n\n* [@bahmutov](https://twitter.com/bahmutov)\n* [glebbahmutov.com](http://glebbahmutov.com)\n* [blog](http://bahmutov.calepin.co/)\n\nLicense: MIT - do anything with the code, but don't blame me if it does not work.\n\nSpread the word: tweet, star on github, etc.\n\nSupport: if you find any problems with this module, email / tweet /\n[open issue](https://github.com/bahmutov/grunt-filenames/issues) on Github\n\n\n\n## MIT License\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 Gleb Bahmutov\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\n\n","maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"time":{"modified":"2022-06-18T14:59:54.625Z","created":"2014-02-25T03:44:48.228Z","0.0.1":"2014-02-25T03:44:48.228Z","0.0.2":"2014-02-25T03:50:23.729Z","0.0.3":"2014-02-26T02:10:30.136Z","0.1.0":"2014-02-26T02:15:34.065Z","0.1.1":"2014-02-26T02:46:16.785Z","0.1.2":"2014-07-29T02:03:11.828Z","0.2.0":"2014-08-16T02:16:14.534Z","0.3.0":"2015-01-06T01:32:25.966Z","0.3.1":"2015-01-06T01:36:37.429Z","0.4.0":"2015-01-15T20:39:46.134Z"},"homepage":"https://github.com/bahmutov/grunt-filenames","keywords":["gruntplugin","package","validator","npm","filenames"],"repository":{"type":"git","url":"git@github.com:bahmutov/grunt-filenames.git"},"author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com","url":"http://glebbahmutov.com"},"bugs":{"url":"https://github.com/bahmutov/grunt-filenames/issues"},"license":"MIT","readmeFilename":"README.md","contributors":[]}