This repo has moved!
Further development will be done at https://github.com/zrrrzzt/lix-index
New command to install
$ npm i lix-index
Measure the readability of your text using LIX-index
$ npm i lix
'use strict'
const lix = require('lix')
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.