german-ordinals
TypeScript icon, indicating that this package has built-in type declarations

5.3.0 • Public • Published

german-ordinals

A very simple Node.js module that gives the ordinal representation of numbers in German: zwölfte for 12 etc. Based on a static list. Works up to 30.

Installation

npm install german-ordinals

Usage

var ordinals = require('german-ordinals');

// zwölfte
console.log(`12 => ${ordinals.getOrdinal(12)}`);

Will throw an error when the number is too high.

dependencies and licences

N/A

Readme

Keywords

Package Sidebar

Install

npm i german-ordinals

Weekly Downloads

124

Version

5.3.0

License

Apache-2.0

Unpacked Size

15.3 kB

Total Files

6

Last publish

Collaborators

  • ludan.stoeckle