18
18
npm install nlcst-normalize
19
19
```
20
20
21
- ## Usage
21
+ ## Use
22
22
23
23
``` js
24
24
var normalize = require (' nlcst-normalize' )
@@ -44,8 +44,9 @@ normalize({
44
44
### ` normalize(value[, options]) `
45
45
46
46
Normalize a word (` string ` , [ ` Node ` ] [ node ] , ` Array.<Node> ` ) for easier
47
- comparison. Always normalises smart apostrophes (` ’ ` ) to straight
48
- apostrophes (` ' ` ) and lowercases alphabetical characters (` [A-Z] ` ).
47
+ comparison.
48
+ Always normalizes smart apostrophes (` ’ ` ) to straight apostrophes (` ' ` ) and
49
+ lowercases alphabetical characters (` [A-Z] ` ).
49
50
50
51
###### ` options.allowApostrophes `
51
52
@@ -61,8 +62,8 @@ See [`contributing.md` in `syntax-tree/.github`][contributing] for ways to get
61
62
started.
62
63
See [ ` support.md ` ] [ support ] for ways to get help.
63
64
64
- This project has a [ Code of Conduct ] [ coc ] .
65
- By interacting with this repository, organisation , or community you agree to
65
+ This project has a [ code of conduct ] [ coc ] .
66
+ By interacting with this repository, organization , or community you agree to
66
67
abide by its terms.
67
68
68
69
## License
@@ -93,7 +94,7 @@ abide by its terms.
93
94
94
95
[ collective ] : https://opencollective.com/unified
95
96
96
- [ chat-badge ] : https://img.shields.io/badge/join%20the%20community-on%20spectrum -7b16ff.svg
97
+ [ chat-badge ] : https://img.shields.io/badge/chat-spectrum -7b16ff.svg
97
98
98
99
[ chat ] : https://spectrum.chat/unified/syntax-tree
99
100
0 commit comments