Installing
Package manager
Using npm:
$ npm install currency-in-wordsinr@latest
Using bower:
$ bower install currency-in-wordsinr@latest
Using yarn:
$ yarn add currency-in-wordsinr@latest
Using pnpm:
$ pnpm add currency-in-wordsinr@latest
Usage
Once the package is installed, you can import the library using import
or require
approach:
import { currency_in_wordsinr } from 'currency-in-wordsinr';
console.log(currency_in_wordsinr('25000'));
If you use require
for importing:
const { currency_in_wordsinr } = require('currency-in-wordsinr');
console.log(currency_in_wordsinr('25000'));