1.0.0 • Published 10 years ago
beautify-text v1.0.0
beautify-text 
Automated typographhic quotation and punctuation marks
install
$ npm install --save beautify-textfeatures
Prettifies multiple typographic marks, some cases are outlined below.
- Single and double quotes
- Apostrophes
- Marks like
(tm),(c),(r)and(p)into™,©,®and§ - Long dashes, like
---into— ..,..., etc into…(but?..,!..aren't transformed)+-into±
beautifyText(text)
beautifyText('a --- "b (tm) c"'));
// -> 'a \u2014 “b ™ c”'license
MIT © Nicolas Bevacqua
1.0.0
10 years ago