Wondering what’s next for npm?Check out our public roadmap! »

    diacritics
    DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/diacritics package

    1.3.0 • Public • Published

    node-diacritics

    remove diacritics from strings

    useful when implementing some kind of search or filter functionality.

    Installation

    $ npm install diacritics
    

    API

    var removeDiacritics = require('diacritics').remove;
    console.log(removeDiacritics("Iлtèrnåtïonɑlíƶatï߀ԉ"));
    // prints "Internationalizati0n"

    Install

    npm i diacritics

    DownloadsWeekly Downloads

    240,170

    Version

    1.3.0

    License

    MIT

    Last publish

    Collaborators

    • avatar