Napoleon's Pixelated Mugshot
Miss any of our Open RFC calls?Watch the recordings here! »

detergent

6.0.3 • 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

480

Version

6.0.3

License

MIT

Unpacked Size

1.41 MB

Total Files

10

Last publish

Collaborators

  • avatar