New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ordinalize-tr

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ordinalize-tr

Add ordinal suffix to a number - for Turkish language

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

ordinalize-tr

Add ordinal suffix to a number - for Turkish language

NPM version npm Coverage Status

✅ It can calculate all ordinal suffixes, up to Trillion and beyond! 🚀

Install

npm install ordinalize-tr

Usage

const { ordinal } = require('ordinalize-tr');

ordinal(5); // Returns: "5'inci"
ordinal(5, false); // Returns: "inci"

Usage in Browser

<script src="https://unpkg.com/ordinalize-tr/dist/index.umd.js"></script>
<script>
  window.ordinalizeTR.ordinal(43); // Returns: "43'üncü"
</script>

Type Signature

const ordinal = (num: number, onlySuffix: boolean = false) => string;

Contribution

As always, I'm open to any contribution and would like to hear your feedback.

Just an important reminder:

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.

LICENCE

MIT (c) 2020 Mehmet Yatkı

Keywords

FAQs

Package last updated on 19 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc