PATH:
usr
/
local
/
lib
/
node_modules
/
ghost-cli
/
node_modules
/
arrify
# 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)
[+]
..
[-] index.d.ts
[edit]
[-] readme.md
[edit]
[-] package.json
[edit]
[-] index.js
[edit]
[-] license
[edit]