{"name":"file-set","version":"1.1.2","description":"Expands file patterns, returning the matched and unmatched files and directories.","main":"lib/file-set.js","license":"MIT","repository":{"type":"git","url":"git+https://github.com/75lb/file-set.git"},"scripts":{"test":"test-runner test/*.js","docs":"jsdoc2md -t jsdoc2md/README.hbs lib/file-set.js > README.md; echo "},"author":{"name":"Lloyd Brookes"},"devDependencies":{"core-assert":"^0.2.1","jsdoc-to-markdown":"^2.0.0-alpha.11","test-runner":"^0.2.4"},"dependencies":{"array-back":"^1.0.3","glob":"^7.1.0"},"readme":"[![view on npm](http://img.shields.io/npm/v/file-set.svg)](https://www.npmjs.org/package/file-set)\n[![npm module downloads](http://img.shields.io/npm/dt/file-set.svg)](https://www.npmjs.org/package/file-set)\n[![Build Status](https://travis-ci.org/75lb/file-set.svg?branch=master)](https://travis-ci.org/75lb/file-set)\n[![Dependency Status](https://david-dm.org/75lb/file-set.svg)](https://david-dm.org/75lb/file-set)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)\n\n# file-set\nExports a contructor taking a list of file patterns as input, returning a `file-set` instance containing the expanded patterns split into separate lists of `files`, `dirs` and `notExisting`.\n\n**Example**  \n```js\nconst FileSet = require('file-set')\n```\n\n\n## Install\n```sh\n$ npm install file-set --save\n```\n\n## Usage\n```js\n> const FileSet = require('file-set');\n\n> new FileSet([ '*', 'not/existing/*' ])\nFileSet {\n  files: [ 'LICENSE', 'package.json', 'README.md' ],\n  dirs: [ 'jsdoc2md/', 'lib/', 'node_modules/', 'test/' ],\n  notExisting: [ 'not/existing/*' ] }\n```\n\n# API\nExports a contructor taking a list of file patterns as input, returning a `file-set` instance containing the expanded patterns split into separate lists of `files`, `dirs` and `notExisting`.\n\n**Example**  \n```js\nconst FileSet = require('file-set')\n```\n\n* [file-set](#module_file-set)\n    * [FileSet](#exp_module_file-set--FileSet) ⏏\n        * [new FileSet(patternList)](#new_module_file-set--FileSet_new)\n        * [.files](#module_file-set--FileSet+files) : <code>Array.&lt;string&gt;</code>\n        * [.dirs](#module_file-set--FileSet+dirs) : <code>Array.&lt;string&gt;</code>\n        * [.notExisting](#module_file-set--FileSet+notExisting) : <code>Array.&lt;string&gt;</code>\n        * [.add(files)](#module_file-set--FileSet+add)\n\n<a name=\"exp_module_file-set--FileSet\"></a>\n\n### FileSet ⏏\nExpands file patterns, returning the matched and unmatched files and directories\n\n**Kind**: Exported class  \n<a name=\"new_module_file-set--FileSet_new\"></a>\n\n#### new FileSet(patternList)\n\n| Param | Type | Description |\n| --- | --- | --- |\n| patternList | <code>string</code> &#124; <code>Array.&lt;string&gt;</code> | A pattern, or array of patterns to expand |\n\n<a name=\"module_file-set--FileSet+files\"></a>\n\n#### fileSet.files : <code>Array.&lt;string&gt;</code>\nThe existing files found\n\n**Kind**: instance property of <code>[FileSet](#exp_module_file-set--FileSet)</code>  \n<a name=\"module_file-set--FileSet+dirs\"></a>\n\n#### fileSet.dirs : <code>Array.&lt;string&gt;</code>\nThe existing directories found\n\n**Kind**: instance property of <code>[FileSet](#exp_module_file-set--FileSet)</code>  \n<a name=\"module_file-set--FileSet+notExisting\"></a>\n\n#### fileSet.notExisting : <code>Array.&lt;string&gt;</code>\nPaths which were not found\n\n**Kind**: instance property of <code>[FileSet](#exp_module_file-set--FileSet)</code>  \n<a name=\"module_file-set--FileSet+add\"></a>\n\n#### fileSet.add(files)\nadd file patterns to the set\n\n**Kind**: instance method of <code>[FileSet](#exp_module_file-set--FileSet)</code>  \n\n| Param | Type | Description |\n| --- | --- | --- |\n| files | <code>string</code> &#124; <code>Array.&lt;string&gt;</code> | A pattern, or array of patterns to expand |\n\n\n* * *\n\n&copy; 2014-16 Lloyd Brookes \\<75pound@gmail.com\\>. Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).\n","readmeFilename":"README.md","gitHead":"3f16cb42e9ff14d6e7f90ac01ffd44fd06696867","bugs":{"url":"https://github.com/75lb/file-set/issues"},"homepage":"https://github.com/75lb/file-set#readme","_id":"file-set@1.1.2","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"75lb","email":"75pound@gmail.com"},"dist":{"integrity":"sha512-xDXI09w+l+mXxWDym7dQXy3PLdo7DygHlAtRnQ6XIMa0iY/qX6+1J75jjwCArCd48yCiMx2+fRn50BTFd45+jQ==","shasum":"08f700bb2c129d0e6bff90157b6556ce7c01e4f9","tarball":"http://registry-npm.ywwl.com/file-set/download/file-set-1.1.2.tgz","fileCount":4,"unpackedSize":7833,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqSFlCRA9TVsSAnZWagAAphwP/3i2sPi4g7Mf8OxAonkU\naQeFqGklkjxD2CsoqyBb4dHwfA+AjKCpySXNCPlk89FTNfcSBVFYvSOVQO2b\n+LQEn7a5eeilIshW2mtpNgRPPn9sceKzWzz1+4yGg0wfhKxq6ZsralNaVA+U\n1gNSzkLzvz41aaR9J/02OdPiFkdccKdcqnfX3Bay9BxzCXBbOCumZCU1p49n\nIm5+hjzoeKRfWKHYNntQ5dwGypQUJggV18wM1QOHg2X2ESry98mHHkU4Jjez\nQLiFpFHoOgCX6fH/6lA/zbDhNoT86LI++i1rSapvA6cIBVYawO3FIbTdvoOb\nFN+RHszVUBDMZ5Yd94WtYJMPMx3YbbBgZ41nRecT5oTld/rVXJklTQh6adb9\n+1QVY51RiLD0eOq5x1A+qWrdtDcf/tQDn3JAgLr4OL+kALf8PQPEU7QeK/YW\ngDAkmXcTF5uHTAhQSbZPIEKngjD0tPE04hpzIUnEzE3dChXKizR8Ui+CFJ4s\nMyBilFVpMskRx5+n4gdqHFRGvHDpUaxnFWeNUsoCJ7fXCFGPM6QWFflrGUd8\nrhRog9tzYfk8oYSYmV0cKPlaUH5p73HYDqC/xjtUj1oX94vX8Xy/hSGWOkw7\nEqj+MFMbSQCk6Wxq0Wy9IbApuW/pUX0m0G9y0InK+2emXo2RK/lXtMerUUmU\n9C92\r\n=xPKk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGfnfIWYexbZ6awwz9h4JlUVff4/bgoPKCxynqG6hybfAiBLrTfwxcRK9GrqsyQdCL5JKIvwIXdzMnbCsH+7fHLvmw=="}],"size":2810,"noattachment":false,"key":"/file-set/-/file-set-1.1.2.tgz"},"maintainers":[{"name":"75lb","email":"75pound@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/file-set_1.1.2_1537810788612_0.04484747453223914"},"_hasShrinkwrap":false,"publish_time":1537810788804,"_cnpm_publish_time":1537810788804,"dist-tags":{"latest":"5.3.0","prev":"1.1.2"}}