Add ordinal suffix to a number - for Turkish language
npm install ordinalize-tr> Add ordinal suffix to a number - for Turkish language



✅ It can calculate all ordinal suffixes, up to Trillion and beyond! 🚀
``bash`
npm install ordinalize-tr
`js
const { ordinal } = require('ordinalize-tr');
ordinal(5); // Returns: "5'inci"
ordinal(5, false); // Returns: "inci"
`
`html`
`ts``
const ordinal = (num: number, onlySuffix: boolean = false) => string;
As always, I'm open to any contribution and would like to hear your feedback.
If you are planning to contribute to any open source project,
before starting development, please always open an issue and make a proposal first.
This will save you from working on features that are eventually going to be rejected for some reason.
MIT (c) 2020 Mehmet Yatkı