Skip to content

NPM package to provide the Spanish ordinal letters following a numeral

License

Notifications You must be signed in to change notification settings

iSanchezDev/ordinal-spanish

Repository files navigation

ordinal-spanish

English - Module to provide the Spanish ordinal letters following a numeral and gender.

Spanish - Módulo que permite la obtención de números ordinales mediante un número y el género.

Installation

$ npm install ordinal-spanish

Usage

import ordinal from 'ordinal-spanish';

ordinal(number, gender); 
  • Numbers can be between 1 and 9999

  • Gender is assignable to male (default) or female.

Example

ordinal(8763, 'female');

=> ochomilésima septingentésima sexagésima tercera

About

NPM package to provide the Spanish ordinal letters following a numeral

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published