Narwhals Prolong Mischief
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    webgradepublic

    readability-meter

    Measure a text's readability ease and grade using Flesch–Kincaid readability tests

    Requirements

    • Node.js 6+

    Usage

    const readability = require('readability-meter')
     
    console.log(readability.ease('Keep it simple stupid.'))
    // { score: 78.58166666666669,
    //   schoolLevel: '7th grade',
    //   notes: 'Fairly easy to read.' }
     
    console.log(readability.grade('This is the future.'))
    // -0.3200000000000003

    Related

    Licence

    MIT © Ben Evans

    Keywords

    none

    install

    npm i webgrade

    Downloadsweekly downloads

    0

    version

    1.0.0

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar