🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

typographic-apostrophes-for-possessive-plurals

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typographic-apostrophes-for-possessive-plurals

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

1.0.5
latest
Source
npm
Version published
Weekly downloads
6.3K
-24.27%
Maintainers
1
Weekly downloads
 
Created
Source

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

Real world examples

Check complex usage with real world examples in typography playground.

License

MIT © Vladimir Starkov

Keywords

typographic

FAQs

Package last updated on 16 Apr 2015

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