Socket
Book a DemoInstallSign in
Socket

space-sentences

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

space-sentences

Adds space after sentences that don't have any.

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

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.

Keywords

space

FAQs

Package last updated on 09 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts