Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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
  • Socket score

Version published
Weekly downloads
4.6K
increased by20.37%
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

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc