Socket
Socket
Sign inDemoInstall

@softwarerero/numbertoword

Package Overview
Dependencies
0
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @softwarerero/numbertoword

Convert numbers to words


Version published
Weekly downloads
0
Maintainers
1
Install size
21.6 kB
Created
Weekly downloads
 

Readme

Source

Helper functions to convert positive numbers to letters.

Currently supported are English (US), Spanish and German.

The project uses ES6 export/import syntax, so you need a modern browser or Node version.

Install with npm install --save @softwarerero/numbertoword.

Usage:

import numberToWord from '../numberToWord.en.js'

numberToWord(1) // should return 'one'

New release

  • Update version in package.json & package-lock.json
  • git commit -am '1.0.6'
  • git tag v1.0.6
  • npm publish
  • git push
  • git push --tags

FAQs

Last updated on 10 May 2021

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc