A simple helper function that lets you get a possessive form of a string.
Courtesy of ruby possessive gem.
npm install --save @wardrakus/possessive
yarn add @wardrakus/possessive
import possessive from 'possessive';
possessive('Chris');
// Chris’
possessive('Diane');
// Diane’s
Enjoy!
git clone
this repositorynpm install