{"_id":"arrify","_rev":"3194","name":"arrify","description":"Convert a value to an array","dist-tags":{"latest":"3.0.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2021-06-03T09:56:16.000Z","created":"2015-02-16T14:59:57.330Z","3.0.0":"2021-04-28T08:36:14.613Z","2.0.1":"2019-04-09T07:49:17.644Z","2.0.0":"2019-04-05T10:04:41.377Z","1.0.1":"2015-12-09T17:48:38.769Z","1.0.0":"2015-02-16T14:59:57.330Z"},"users":{"vlazar":true,"wenbing":true,"youstrive":true,"nichoth":true,"tur-nr":true,"rocket0191":true,"nuwaio":true,"soenkekluth":true},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/arrify.git"},"versions":{"3.0.0":{"name":"arrify","version":"3.0.0","description":"Convert a value to an array","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/arrify.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["array","arrify","arrayify","convert","value","ensure"],"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.39.1"},"gitHead":"63f682339726ae2b44384fb0267fbcdf2ba52e69","bugs":{"url":"https://github.com/sindresorhus/arrify/issues"},"homepage":"https://github.com/sindresorhus/arrify#readme","_id":"arrify@3.0.0","_nodeVersion":"16.0.0","_npmVersion":"6.14.10","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"ccdefb8eaf2a1d2ab0da1ca2ce53118759fd46bc","size":1879,"noattachment":false,"key":"/arrify/-/arrify-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/arrify/download/arrify-3.0.0.tgz"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/arrify_3.0.0_1619598974447_0.2668569093140474"},"_hasShrinkwrap":false,"publish_time":1619598974613,"_cnpm_publish_time":1619598974613},"2.0.1":{"name":"arrify","version":"2.0.1","description":"Convert a value to an array","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/arrify.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["array","arrify","arrayify","convert","value","ensure"],"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"11bd8ff9275002c6d147d37ab83044d5ea4fdd06","bugs":{"url":"https://github.com/sindresorhus/arrify/issues"},"homepage":"https://github.com/sindresorhus/arrify#readme","_id":"arrify@2.0.1","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"c9655e9331e0abcd588d2a7cad7e9956f66701fa","size":1684,"noattachment":false,"key":"/arrify/-/arrify-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/arrify/download/arrify-2.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/arrify_2.0.1_1554796157439_0.7180258720462498"},"_hasShrinkwrap":false,"publish_time":1554796157644,"_cnpm_publish_time":1554796157644},"2.0.0":{"name":"arrify","version":"2.0.0","description":"Convert a value to an array","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/arrify.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["array","arrify","arrayify","convert","value","ensure"],"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"d437961b3aec160007deea9eea30f5513035f4a1","bugs":{"url":"https://github.com/sindresorhus/arrify/issues"},"homepage":"https://github.com/sindresorhus/arrify#readme","_id":"arrify@2.0.0","_nodeVersion":"8.15.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"9c353b6b3b7c934f1f5091983ef7cdce1d9e9477","size":1616,"noattachment":false,"key":"/arrify/-/arrify-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/arrify/download/arrify-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/arrify_2.0.0_1554458681232_0.8396884385972574"},"_hasShrinkwrap":false,"publish_time":1554458681377,"_cnpm_publish_time":1554458681377},"1.0.1":{"name":"arrify","version":"1.0.1","description":"Convert a value to an array","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/arrify.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["array","arr","arrify","arrayify","convert","value"],"devDependencies":{"ava":"*","xo":"*"},"gitHead":"087edee1a58d5adaac6cae5a107886121ef43783","bugs":{"url":"https://github.com/sindresorhus/arrify/issues"},"homepage":"https://github.com/sindresorhus/arrify#readme","_id":"arrify@1.0.1","_shasum":"898508da2226f380df904728456849c1501a4b0d","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.2.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"898508da2226f380df904728456849c1501a4b0d","size":1452,"noattachment":false,"key":"/arrify/-/arrify-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/arrify/download/arrify-1.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1449683318769,"_cnpm_publish_time":1449683318769,"_hasShrinkwrap":false},"1.0.0":{"name":"arrify","version":"1.0.0","description":"Convert a value to an array","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/arrify"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["array","arr","arrify","arrayify","convert","value"],"devDependencies":{"ava":"0.0.4"},"gitHead":"4576e944677c722c356480b17a6d709d34d0733c","bugs":{"url":"https://github.com/sindresorhus/arrify/issues"},"homepage":"https://github.com/sindresorhus/arrify","_id":"arrify@1.0.0","_shasum":"d6c361518250802fa2147ea7fb67597128cb8c81","_from":".","_npmVersion":"2.5.0","_nodeVersion":"0.12.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"d6c361518250802fa2147ea7fb67597128cb8c81","size":1435,"noattachment":false,"key":"/arrify/-/arrify-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/arrify/download/arrify-1.0.0.tgz"},"directories":{},"publish_time":1424098797330,"_cnpm_publish_time":1424098797330,"_hasShrinkwrap":false}},"readme":"# arrify\n\n> Convert a value to an array\n\n## Install\n\n```\n$ npm install arrify\n```\n\n## Usage\n\n```js\nimport arrify from 'arrify';\n\narrify('????');\n//=> ['????']\n\narrify(['????']);\n//=> ['????']\n\narrify(new Set(['????']));\n//=> ['????']\n\narrify(null);\n//=> []\n\narrify(undefined);\n//=> []\n```\n\n*Specifying `null` or `undefined` results in an empty array.*\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-arrify?utm_source=npm-arrify&utm_medium=referral&utm_campaign=readme\">Get professional support for this package with a Tidelift subscription</a>\n\t</b>\n\t<br>\n\t<sub>\n\t\tTidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.\n\t</sub>\n</div>\n","_attachments":{},"homepage":"https://github.com/sindresorhus/arrify#readme","bugs":{"url":"https://github.com/sindresorhus/arrify/issues"},"license":"MIT"}