- Added
error
to/package/<package>
response to indicate if a package analysis has failed
- Added
collected.metadata.hasSelectiveFiles
to/package/<package>
response to indicate if a package hasfiles
specified in itspackage.json
. - Removed all falsy values from
/package/<package>
response.
- Changed
?term
to?q
in/search
, which now supports qualifiers to filter and modify results - Changed
?term
to?q
in/search/suggestions
- Removed
scoreEffect
,qualityWeight
,maintenanceWeight
andpopularityWeight
query parameters from/search
in favor of qualifiers - Changed
/module
to/package
- Changed
module
topackage
in every response - Added
flags
to the search & suggestions responses - Response structure of
/package
and/package/mget
changed because thenpms-analyzer
analysis structure also changed
The 2.x.x versions will be available under https://api.npms.io/v2
.
The v1
is deprecated and will be removed on 2016-12-19.
Until then https://api.npms.io
will still point to v1
. Afterwards, it will always point to the latest API version.
Also the v1
API data will be stale, which means that the newest packages and updates won't be available.
Initial release.
This new API is available under https://api.npms.io/v1
.