arrayme
v1.0.3
Published
Transforms a value to an array
Downloads
1,393
Readme
Installation
Node.js
npm install arrayme --save
Example
const arrayme = require('arrayme');
arrayme('hello'); //=> ['hello']
arrayme(null); //=> []
arrayme(); //=> []
// Disable check on null
arrayme(null, false); //=> [null]
Changelog
You can view the changelog here
License
arrayme is open-sourced software licensed under the MIT license
Author
Fabio Ricali