1.1.0 • Published 2 years ago

flekin v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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