We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
readme.md
1 parent 1c70044 commit 35cffd8Copy full SHA for 35cffd8
readme.md
@@ -15,10 +15,11 @@ npm install nlcst-normalize
15
```js
16
var normalize = require('nlcst-normalize');
17
18
-normalize('Don’t'); //=> 'dont'
19
normalize('Don\'t'); //=> 'dont'
+normalize('Don’t'); //=> 'dont'
20
+normalize('Don’t', {allowApostrophes: true}); //=> 'don\'t'
21
normalize('Block-level'); //=> 'blocklevel'
-normalize('Don’t', true); //=> 'don\'t'
22
+normalize('Block-level', {allowDashes: true}); //=> 'block-level'
23
24
normalize({
25
type: 'WordNode',
0 commit comments