stringorarraytoarray
1.0.1 • Public • Published stringOrArrayToArray


Convert a String or an Array to an Array
Install
$ npm install --save stringOrArrayToArray
Usage
const toArray = require('stringOrArrayToArray');
toArray('unicorns');
toArray(['unicorns', 'rainbows']);
API
stringOrArrayToArray(input)
input
Type: string
, array
Contribute
PRs accepted. Check out the issues!
License
MIT © Richard Littauer
Versions
Version | Downloads (Last 7 Days) | Tag |
---|
1.0.1 | 0 | latest |
Version History
Version | Downloads (Last 7 Days) | Published |
---|
1.0.1 | 0 | |
1.0.0 | 1 | |
Package Sidebar
Install
npm i stringorarraytoarray
Weekly Downloads