anvaka / npmgraph.an

2d visualization of npm
https://npm.anvaka.com
MIT License
1.22k stars 83 forks source link

Release Date for the Versions! #22

Open aadrian opened 6 years ago

aadrian commented 6 years ago

Would be very helpful to have release dates for the versions too. This way it would be easier to spot problematic depencencies or other issues.

Thank you.

ibbignerd commented 5 years ago

From what I've seen, npm doesn't keep track of the date a package was published.

styfle commented 5 years ago

Yes it does.

See the version history tab https://www.npmjs.com/package/ink?activeTab=versions

ibbignerd commented 5 years ago

@styfle Ah. Is there a way to get the release date for a version through an npm command or a servlet? Parsing the web page wouldn't be much fun.

styfle commented 5 years ago

Yes it’s part of the registry API.

Here’s some example code https://github.com/styfle/packagephobia/blob/master/src/util/npm-api.ts