Nutella with Pepperoni and Mushrooms
    Have ideas to improve npm?Join in the discussion! »

    detergent
    TypeScript icon, indicating that this package has built-in type declarations

    7.0.16 • Public • Published

    detergent

    Extracts, cleans and encodes text

    Install

    npm i detergent

    Quick Take

    import { strict as assert } from "assert";
    import { det, opts, version } from "detergent";
    
    // on default setting, widow removal and encoding are enabled:
    assert.equal(det("clean this text £").res, "clean this text £");

    Documentation

    Please visit codsen.com for a full description of the API and examples.

    Contributing

    To report bugs or request features or assistance, raise an issue on GitHub.

    Licence

    MIT License

    Copyright (c) 2010-2021 Roy Revelt and other contributors

    Passes unit tests from https://github.com/kemitchell/straight-to-curly-quotes.json, licenced under CC0-1.0

    ok codsen star

    Install

    npm i detergent

    DownloadsWeekly Downloads

    315

    Version

    7.0.16

    License

    MIT

    Unpacked Size

    1.34 MB

    Total Files

    11

    Last publish

    Collaborators

    • avatar