APPLE 025c69e553 wesmiler 点什么广告 %!s(int64=3) %!d(string=hai) anos
..
index.js 025c69e553 wesmiler 点什么广告 %!s(int64=3) %!d(string=hai) anos
license 025c69e553 wesmiler 点什么广告 %!s(int64=3) %!d(string=hai) anos
package.json 025c69e553 wesmiler 点什么广告 %!s(int64=3) %!d(string=hai) anos
readme.md 025c69e553 wesmiler 点什么广告 %!s(int64=3) %!d(string=hai) anos

readme.md

arrify Build Status

Convert a value to an array

Install

$ npm install --save arrify

Usage

const arrify = require('arrify');

arrify('unicorn');
//=> ['unicorn']

arrify(['unicorn']);
//=> ['unicorn']

arrify(null);
//=> []

arrify(undefined);
//=> []

Supplying null or undefined results in an empty array.

License

MIT © Sindre Sorhus