How my example npm package got 9.5k+ downloads.
In a previous blog post i explained how to start with creating an npm package i decided to go with a real world example and created a tracking number validation.
As a developer working in an ecommerce startup (shelfmint) the pain was recognized and the solution was known.
The package i created was very simple but it worked as expected.
After couple of months, while uploading new package to my npm account, I noticed a package with very high amount of downloads. due to the npm design, you can see only downloads of a given month and not the total downloads, to do that, you need to use external tool such as npm-stats.
So let's think of the what and why the package got this traffic of downloads, and I even have a confirmation that is used in a production environment.
Now to the downloads and the use, as expected when choosing a real pain, there is a lot of people with the same issue that will love to get a simple solution, ready made especially for this, although the package was just a demonstration, it did work and validate tracking numbers.
After the excitement from the first version I actually released a new version with improve api and test coverage.
Check it out here 😇