An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

toarray

I 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:

Ecosystem
npmjs.org
Latest Release
0.0.1
almost 13 years ago
Versions
2
Downloads
36,657 last month
Dependent Packages
48
Dependent Repos
542
Links
Registry npmjs.org
Source Repository
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:npm/toarray
spec
License BSD-3-Clause
First Release about 13 years ago
Last Synced about 1 month ago
Repository
Stars 2 on GitHub
Forks 0 on GitHub
Docker Dependents 13
Docker Downloads 2,761
Rankings on npmjs.org
Overall Top 5.5%
Downloads Top 1.0%
Dependent packages Top 0.6%
Dependent repos Top 0.7%
Docker downloads Top 0.8%