
Security News
Python Tools Are Quickly Adopting the New pylock.toml Standard
pip, PDM, pip-audit, and the packaging library are already adding support for Python’s new lock file format.
ordinal-number-suffix
Advanced tools
add suffixes to numbers (1st, 33rd, etc.)
Install with component(1):
$ component install stephenmathieson/ordinal-number-suffix
ordinal(number)
Add the appropriate suffix to number
.
var ordinal = require('ordinal-number-suffix')
assert(ordinal(0) === '0th');
assert(ordinal(41) === '41st');
assert(ordinal(3) === '3rd');
MIT
0.1.0
FAQs
add suffixes to numbers (1st, 33rd, etc.)
The npm package ordinal-number-suffix receives a total of 1,399 weekly downloads. As such, ordinal-number-suffix popularity was classified as popular.
We found that ordinal-number-suffix demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
pip, PDM, pip-audit, and the packaging library are already adding support for Python’s new lock file format.
Product
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.
Security News
vlt adds real-time security selectors powered by Socket, enabling developers to query and analyze package risks directly in their dependency graph.