1.0.2 • Published 7 years ago

space-sentences v1.0.2

Weekly downloads
6
License
CC0-1.0
Repository
github
Last release
7 years ago

space-sentences

Adds space after sentences that don't have any. This may only be useful after using a strip tag function on a string of html, because sentences across elements get squished together.

Install

npm install space-sentences

Usage

var spaceSentences = require('space-sentences');

spaceSentences('Huh?Stuff!!Yeah..Ok.'); // "Huh? Stuff!! Yeah.. Ok."

Parameters

str

Type: String

spaceValue

Type: String Default: ' '

The character(s) used in between sentences. This option exists because Josh Duff.

1.0.2

7 years ago

1.0.1

9 years ago

1.0.0

9 years ago