bengali-numbers
v1.0.5
Published
convert english numbers into bengali
Downloads
17
Maintainers
Readme
bengali-numbers
bengali-numbers
is a simple npm package designed to translate English numbers to Bengali digits. This package is useful for applications that need to display numbers in Bengali script for localization purposes.
Features
- Convert English numerals to Bengali script.
- Easy to use with a simple API.
- Lightweight and fast.
Installation
You can install bengali-numbers
via npm:
npm install bengali-numbers
example usage
import toBnNumber from 'bengali-numbers';
const bengaliNumber = toBnNumber('1234567890');
console.log(bengaliNumber); // Output: ১২৩৪৫৬৭৮৯০