{"_id":"array-ify","_rev":"3034","name":"array-ify","description":"Turn anything into an array","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"}],"time":{"modified":"2021-06-03T09:56:14.000Z","created":"2015-06-14T23:18:43.978Z","1.0.0":"2015-06-14T23:27:57.755Z","0.0.0":"2015-06-14T23:18:43.978Z"},"users":{"dan18jan":true},"author":{"name":"Steve Mao","email":"maochenyan@gmail.com","url":"https://github.com/stevemao"},"repository":{"type":"git","url":"git+https://github.com/stevemao/array-ify.git"},"versions":{"1.0.0":{"name":"array-ify","version":"1.0.0","description":"Turn anything into an array","homepage":"https://github.com/stevemao/array-ify","author":{"name":"Steve Mao","email":"maochenyan@gmail.com","url":"https://github.com/stevemao"},"repository":{"type":"git","url":"git+https://github.com/stevemao/array-ify.git"},"license":"MIT","files":["index.js"],"keywords":["array-ify","array","arr","arrify","arrayify","convert","value"],"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.8","jscs":"^1.11.3","jshint":"^2.6.3","mocha":"*"},"scripts":{"coverage":"istanbul cover _mocha -- -R spec && rm -rf ./coverage","lint":"jshint *.js --exclude node_modules && jscs *.js","test":"npm run-script lint && mocha"},"gitHead":"e79e59b29cfa224478584370d7ba9932e224a76d","bugs":{"url":"https://github.com/stevemao/array-ify/issues"},"_id":"array-ify@1.0.0","_shasum":"9e528762b4a9066ad163a6962a364418e9626ece","_from":".","_npmVersion":"2.9.1","_nodeVersion":"0.12.2","_npmUser":{"name":"stevemao","email":"steve.mao@healthinteract.com.au"},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"}],"dist":{"shasum":"9e528762b4a9066ad163a6962a364418e9626ece","size":1071,"noattachment":false,"key":"/array-ify/-/array-ify-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/array-ify/download/array-ify-1.0.0.tgz"},"directories":{},"publish_time":1434324477755,"_cnpm_publish_time":1434324477755,"_hasShrinkwrap":false},"0.0.0":{"name":"array-ify","version":"0.0.0","description":"Turn anything into an array","homepage":"https://github.com/stevemao/array-ify","author":{"name":"Steve Mao","email":"maochenyan@gmail.com","url":"https://github.com/stevemao"},"repository":{"type":"git","url":"git+https://github.com/stevemao/array-ify.git"},"license":"MIT","files":["index.js"],"keywords":["array-ify","array","arr","arrify","arrayify","convert","value"],"devDependencies":{"coveralls":"^2.11.2","istanbul":"^0.3.8","jscs":"^1.11.3","jshint":"^2.6.3","mocha":"*"},"scripts":{"coverage":"istanbul cover _mocha -- -R spec && rm -rf ./coverage","lint":"jshint *.js --exclude node_modules && jscs *.js","test":"npm run-script lint && mocha"},"gitHead":"e79e59b29cfa224478584370d7ba9932e224a76d","bugs":{"url":"https://github.com/stevemao/array-ify/issues"},"_id":"array-ify@0.0.0","_shasum":"25f605a8ac1b2fcd4c63961a8693a1969bf50fe3","_from":".","_npmVersion":"2.9.1","_nodeVersion":"0.12.2","_npmUser":{"name":"stevemao","email":"steve.mao@healthinteract.com.au"},"maintainers":[{"name":"stevemao","email":"maochenyan@gmail.com"}],"dist":{"shasum":"25f605a8ac1b2fcd4c63961a8693a1969bf50fe3","size":1071,"noattachment":false,"key":"/array-ify/-/array-ify-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/array-ify/download/array-ify-0.0.0.tgz"},"directories":{},"publish_time":1434323923978,"_cnpm_publish_time":1434323923978,"_hasShrinkwrap":false}},"readme":"#  [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage Status][coveralls-image]][coveralls-url]\n\n> Turn anything into an array\n\n\n## Install\n\n```sh\n$ npm install --save array-ify\n```\n\n\n## Usage\n\n```js\nvar arrayify = require('array-ify');\n\narrayify('unicorn');\n//=> ['unicorn']\n\narrayify(['unicorn']);\n//=> ['unicorn']\n\narrayify(null);\n//=> [null]\n\narrayify(undefined);\n//=> [undefined]\n```\n\n\n## Related\n\n- [arrify](https://github.com/sindresorhus/arrify) - Convert a value to an array\n\nThe difference that is this module does **NOT** turn `null` or `undefined` to an empty array.\n\n\n## License\n\nMIT © [Steve Mao](https://github.com/stevemao)\n\n\n[npm-image]: https://badge.fury.io/js/array-ify.svg\n[npm-url]: https://npmjs.org/package/array-ify\n[travis-image]: https://travis-ci.org/stevemao/array-ify.svg?branch=master\n[travis-url]: https://travis-ci.org/stevemao/array-ify\n[daviddm-image]: https://david-dm.org/stevemao/array-ify.svg?theme=shields.io\n[daviddm-url]: https://david-dm.org/stevemao/array-ify\n[coveralls-image]: https://coveralls.io/repos/stevemao/array-ify/badge.svg\n[coveralls-url]: https://coveralls.io/r/stevemao/array-ify\n","_attachments":{},"homepage":"https://github.com/stevemao/array-ify","bugs":{"url":"https://github.com/stevemao/array-ify/issues"},"license":"MIT"}