toarray
npmv0.0.1I find myself writing `item = item instanceof Array ? item : [item]` a lot, so I decided to make a simple library to does it for me. A few examples:
License BSDpermissive2 versions2 maintainers0 deps
git://github.com/crcn/toarray.js43
/ 100
Health
safe to use
[email protected] is safe to use (health: 43/100)
Health breakdown0 – 100
0/25
maintenance
0/20
popularity
25/25
security
15/15
maturity
3/15
community
Vulnerabilities
0
none known
Bundle & TypeScript
🌟
TypeScript
0/10untyped
No type definitions available
Health History
Dependency Tree
License Audit
API access
Get this data programmatically — free, no authentication.
curl https://depscope.dev/api/check/npm/toarrayFirst published · 2013-02-09T22:28:31.789Z
Last updated · 2013-05-23T18:30:38.581Z