How my example npm package got 9.5k+ downloads.

Search for a command to run...

No comments yet. Be the first to comment.
Your team has 14 versions of the same code review skill across 5 repos, with no way to sync them. when one improves, the others don't. drop a folder in .claude/skills/ and pray nothing drifts. source
Your team has 14 versions of the same code review skill across 5 repos, with no way to sync them. when one improves, the others don't. drop a folder in .claude/skills/ and pray nothing drifts. source

AI agents are unreasonably good at writing SQL. They get specific error messages, fix their own mistakes in one retry, and can introspect query performance with EXPLAIN ANALYZE before you even ask. No

n8n has over 400 integrations. Zapier claims 7,000+. Every single one was hand-built, tested against a moving API, and will eventually break when that API ships a v2. The entire workflow automation in

Part of the "Your Next Startup" series, where I break down startup ideas I think are worth building. Auth0 sold for \(6.5B. Okta is worth \)15B+. CyberArk, Delinea, BeyondTrust, all printing money fro

For as long as software has existed, we've been building two doors into our systems. Door one: the UI, a carefully designed surface where humans point, click, and occasionally rage-quit. Door two: the

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 a couple of months, while uploading the new package to my npm account, I noticed a package with a 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 an external tool such as npm-stats.
So let’s think of what and why the package got this traffic of downloads, and I even have a confirmation that is used in a production environment.
Let’s start with the traffic the package got, a very big percentage of that traffic, in my opinion, came from the name of the package, tracking-number-validation the name gives you all the information you need to understand exactly what the package does, and if you need to validate tracking number with JavaScript the package will be one of the first options you get in Google, npm, and GitHub. Pretty cool that with a very little amount of effort the package is out there and it is very noticeable for a person who needs to address the pain of validating tracking numbers, so I think we pretty much understand why we have traffic.
Now to the downloads and the use, as expected when choosing a real pain, there are 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 released a new version with improved API and test coverage.
Check it out here 😇
Originally published at niradler.com on November 3, 2018.