flekin
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

Flekin

Calculate the readability of user input text based on Flesch-Kincaid formulas

Installation

  • This package is ESM only and will need Node.js ver.12+
  • Install flekin with npm
  npm install flekin

API

import {flekin} from 'flekin'

flekin('Nothing is so fatiguing as the eternal hanging on of an uncompleted task.')

//  {
//    grade_level: 9.45,
//    reading_ease: 50.47,
//    word_count: 13,
//    syllable_count: 22,
//    sentence_count: 1
//  }

Related

Flesch-Kincaid wiki

License

MIT

Package Sidebar

Install

npm i flekin

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

5 kB

Total Files

5

Last publish

Collaborators

  • jpagtama