cpan-count nodejs module
It is my first npm module. it is a nodejs module to get the modules count of one CPAN author thourgh MetaCPAN API. it is quite simple because it’s almost a copy-paste from the gem-count. but at last, it’s still very interesting and fun to learn some nodejs and try npm publish
- it takes a while for me to find out the cpan-count api call as http://api.metacpan.org/v0/author/:user?join=release&q=release.status:latest
- I have also contributed a pull request to the author of contributor.io
- npm register and publish is so damn simple that I haven’t imagined. sign up on the web costs less than 1 minute.
npm addusercosts less than 1 minute.
npm publish .costs less than 1 minute. and MY MODULE SHOWS UP AT THE WEBSITE costs less than 1 minute.
- I like the package.json, I know Perl has META.yml or META.json but package.json has two points I like, one is you do not define version in somewhere else (Perl need write it in the main module also. that’s why dzil is so popular because it saves time.) and it contains keywords. keywords is good for search.
blog comments powered by Disqus