1.0.3 • Published 5 months ago

number-to-nepali-text v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Convert Numbers to Nepali Texts

Convert numbers to Nepali text.

Installation

You can install the package using npm:

npm install number-to-nepali-text

You can also install via yarn:

yarn add number-to-nepali-text

Import in Your Code

In your JavaScript or TypeScript file, import the Nepali Number Converter:

import { numberToNepaliText } from "number-to-nepali-text";

Convert Numbers to Nepali Text

Use the numberToNepaliText function to convert numbers to Nepali text:

const number = 13500;
const nepaliText = numberToNepaliText(number);
console.log(`${number} in Nepali: ${nepaliText}`);

Replace 13500 with your desired number for conversion.

Example Usage

console.log(numberToNepaliText(100));
// Output: सय

console.log(numberToNepaliText(1230000));
// Output: बाह्र लाख तीस हजार

Feel free to adjust the examples and instructions based on your specific use case or any additional features your package might have.

API

convertToNepali(number) Converts the given number to Nepali text.

Parameters:

(number): The number to convert.

Returns:

(string): The Nepali text representation of the number.

1.0.3

5 months ago

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago