
I Wrapped My Free npm Package as a Paid REST API — Here's the Architecture
textlens is a zero-dependency npm package for text analysis — readability scoring, sentiment analysis, keyword extraction. It's free. It always will be. But I keep getting the same question: "Do you have a Python version?" Here's what I built to answer that. The problem npm doesn't solve Node.js packages are invisible to Python developers, Ruby developers, PHP developers, and no-code tools like Zapier and Make. textlens pulls 177 downloads/week and has 6 GitHub stars. That sounds modest, but the point is: that entire audience is JavaScript developers. Every one of them can npm install textlens and be running in 30 seconds. Everyone else is locked out. Python has textstat , which gives you a single Flesch reading ease score. It has nltk for tokenization. What it doesn't have is an equivalent of textlens — 8 readability formulas, sentiment analysis, keyword extraction, and SEO-relevant metrics in a single call. Ruby has even less. PHP has nearly nothing. No-code tools like Zapier have no
Continue reading on Dev.to Python
Opens in a new tab



