
I Built an npm Package and Tracked Every Download for Two Weeks. Here's the Data.
Two weeks ago I published textlens — a zero-dependency text analysis toolkit for Node.js. It does readability scoring (8 formulas), sentiment analysis, keyword extraction, and SEO scoring in a single import. I want to share the real numbers from its first two weeks. Not a success story. Not a humble brag. Just raw data from launching a small open source package into an crowded npm ecosystem. The Package textlens analyzes text and returns structured data: const { analyze } = require ( ' textlens ' ); const result = analyze ( `Your blog post or article text goes here. The longer the text, the more accurate the readability scores.` ); console . log ( result . readability . consensusGrade ); // Grade level (avg of 7 formulas) console . log ( result . sentiment . label ); // "positive" | "negative" | "neutral" console . log ( result . keywords [ 0 ]. word ); // Top keyword by TF score console . log ( result . readingTime . minutes ); // Estimated reading time No API keys. No network request
Continue reading on Dev.to JavaScript
Opens in a new tab




