Have ideas to improve npm?Join in the discussion! »

detergent

6.1.1 • 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.

Licence

MIT License

Copyright (c) 2010-2020 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

205

Version

6.1.1

License

MIT

Unpacked Size

1.41 MB

Total Files

10

Last publish

Collaborators

  • avatar