Small utility that scraps the packages of certain npm user. This means, packages publicly available created by the target user. It was built specifically as a helper library for my port-folio. Funnily it scraps itself as part of the portfolio generation.
The scrapped information includes
It only exports one function, that accepts an npm username as first parameter. The second optional parameter is a destination file where the scrapped information will be saved as a JSON file.
The function returns a promise that fulfills when scrap completes, with one of the following results: