Skip to content

iamstarkov/typographic-apostrophes-for-possessive-plurals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

typographic-apostrophes-for-possessive-plurals

NPM version Build Status Coveralls Status Dependency Status DevDependency Status

Make sure they’re curly and point downward even for possessive plurals

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

Install

npm install --save typographic-apostrophes-for-possessive-plurals

Usage

This module gives you typographic apostrophes for posessive plurals and only. Because it’s impossible to distinguish apostrophes from single closing quote, I asume zero closing quotes in input text, so it's safe to make "s' "→"s’ " replacement. To achieve zero closing quotes in input use apostrophes and quotes typographic modules before this one.

var apostrophesForPlurals = require('typographic-apostrophes-for-possessive-plurals');

apostrophesForPlurals(`My sisters' friends' investments`);
                    // My sisters’ friends’ investments

License

MIT © Vladimir Starkov

About

Make sure they’re curly and point downward even for possessive plurals

Resources

Stars

Watchers

Forks

Packages

No packages published