Skip to content

iamstarkov/typographic-single-spaces

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typographic-single-spaces

NPM version Build Status Coveralls Status Dependency Status DevDependency Status

Always one—never two

Micro module to help eliminate one of the bad typewriter habits.

Install

npm install --save typographic-single-spaces

Usage

var singleSpaces = require('typographic-single-spaces');

singleSpaces(`foo  bar`);  // foo bar
singleSpaces(`foo.  Bar`); // foo. Bar
singleSpaces(`foo,  bar`); // foo, bar

License

MIT © Vladimir Starkov

About

Always one—never two

Resources

Stars

Watchers

Forks

Packages

No packages published