batusai513 / possessive

Convert a string into a possessive form

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

possessive

A simple helper function that lets you get a possessive form of a string.

Courtesy of ruby possessive gem.

Instalation

npm install --save @wardrakus/possessive

yarn add @wardrakus/possessive

How to use

import possessive from 'possessive';

possessive('Chris');
// Chris’

possessive('Diane');
// Diane’s

Enjoy!

Installation

  • git clone this repository
  • npm install

About

Convert a string into a possessive form

License:MIT License


Languages

Language:JavaScript 100.0%