1.1.2 • Published 6 months ago

ngx-convert-number-indian v1.1.2

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

ngx-convert-number-indian

Convert numbers to Indian language words. Supports both Node, React and Angular applications.

Installation

npm install ngx-convert-number-indian

Usage

Plain JavaScript/TypeScript

import { convert } from 'ngx-convert-number-indian';

console.log(convert(123,'en')); // "one hundred and twenty-three"

React Component

import { convert } from 'ngx-convert-number-indian';

function MyComponent() {
  return (
    <div>
      <convert number={123,'en'} /> // "one hundred and twenty-three"
    </div>
  );
}

Angular Pipe

import { convert } from 'ngx-convert-number-indian';

@Component({
  standalone: true,
  imports: [convert],
  template: ``
})
export class MyComponent {

    console.log(convert(123,'en')); // "one hundred and twenty-three"

}

Developed By

  • Developed by Amit Katiyar aka Amit Bharat

Features

  • Converts numbers from 0 to 999,999,999,999
  • Supports React components
  • Supports Angular
  • TypeScript support
  • Zero dependencies
  • Fully tested

License

MIT

1.1.2

6 months ago

1.1.1

6 months ago

1.0.12

6 months ago

1.0.11

6 months ago

1.0.10

6 months ago

1.0.8

6 months ago

1.0.7

6 months ago

1.0.6

6 months ago

1.0.5

6 months ago

1.0.4

6 months ago

1.0.3

6 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago