2.0.0 • Published 4 years ago

lix-index v2.0.0

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

Build Status Coverage Status js-standard-style

lix-index

Measure the readability of your text using LIX-index

Installation

$ npm i lix-index

Usage

const lix = require('lix-index')
const text = 'Dette er en lang tekst. Den har noen, men ikke så mange, kjempevanskelige ord. Her er et eksempel på et slikt ord: onomatopoetikon.'

console.log(lix(text)) // => 18.79

It will return 0 for no input and no periods.

License

MIT