Submit
Path:
~
/
/
usr
/
share
/
doc
/
node-arrify
/
File Content:
readme.md
# arrify [](https://travis-ci.org/sindresorhus/arrify) > Convert a value to an array ## Install ``` $ npm install arrify ``` ## Usage ```js const arrify = require('arrify'); arrify('🦄'); //=> ['🦄'] arrify(['🦄']); //=> ['🦄'] arrify(new Set(['🦄'])); //=> ['🦄'] arrify(null); //=> [] arrify(undefined); //=> [] ``` *Supplying `null` or `undefined` results in an empty array.* ## License MIT © [Sindre Sorhus](https://sindresorhus.com)
Submit
FILE
FOLDER
Name
Size
Permission
Action
changelog.Debian.gz
606 bytes
0644
copyright
1481 bytes
0644
readme.md
543 bytes
0644
N4ST4R_ID | Naxtarrr