Socket
Socket
Sign inDemoInstall

typographic-apostrophes-for-possessive-plurals

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

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


Version published
Maintainers
1
Install size
5.91 kB
Created

Readme

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

FAQs

Last updated on 16 Apr 2015

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc