arrayme

1.0.3 • Public • Published

arrayme

Transforms a value to an array.

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

/arrayme/

    Package Sidebar

    Install

    npm i arrayme

    Weekly Downloads

    4

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    2.89 kB

    Total Files

    6

    Last publish

    Collaborators

    • fabioricali