Skip to content

Releases: ckmtools/textlens

v1.0.8

08 Mar 13:16

Choose a tag to compare

What's Changed since v1.0.0

v1.0.8 — 2026-03-08

  • GitHub Actions CI workflow (Node 18/20/22)
  • Coverage reporting with npm run test:coverage
  • ESLint flat config
  • CHANGELOG.md
  • "Why textlens?" comparison table in README (vs 7 separate packages)
  • CI badge in README

v1.0.7 — 2026-03-07

  • npm fund support with Stripe and GitHub Sponsors links
  • Sponsor badge in README
  • Free vs Pro comparison table in README
  • Fixed FUNDING.yml links

v1.0.6 — 2026-03-06

  • ProseScore web tool reference in README

v1.0.5 — 2026-03-06

  • Improved README documentation with more detailed API examples
  • Better keyword descriptions in package.json for npm search

v1.0.4 — 2026-03-05

  • Hero banner image in README
  • Additional badges (TypeScript, zero dependencies, sponsor)

v1.0.3 — 2026-03-05

  • CLI --all flag to show all analysis sections
  • --seo flag accepts optional target keyword

v1.0.2 — 2026-03-05

  • Fixed CLI argument parsing edge cases

v1.0.1 — 2026-03-04

  • Fixed ESM/CJS dual export configuration

Full Changelog: https://github.com/ckmtools/textlens/blob/main/CHANGELOG.md
npm: https://www.npmjs.com/package/textlens

textlens v1.0.0

04 Mar 06:31

Choose a tag to compare

textlens v1.0.0

Zero-dependency TypeScript text analysis and readability toolkit.

Features

  • 8 Readability Formulas: Flesch Reading Ease, Flesch-Kincaid, Coleman-Liau, ARI, Gunning Fog, SMOG, Dale-Chall, Linsear Write
  • Sentiment Analysis: AFINN-165 lexicon-based scoring
  • Keyword Extraction: TF-based with stopword filtering
  • Keyword Density: Unigram, bigram, and trigram analysis
  • SEO Scoring: Composite score with actionable suggestions
  • Reading Time: Configurable WPM with image support
  • Extractive Summarization: Position + keyword frequency weighted
  • CLI Tool: Pretty output, JSON mode, stdin support

Install

npm install textlens

Quick Start

import { analyze } from 'textlens';
const result = analyze('Your text here...');
console.log(result.readability.consensusGrade);

Links