Material password strength meter to indicate how secure is the provided password
npm install ngx-num-to-words
height="256px" width="256px" style="text-align: center;"
src="https://cdn.jsdelivr.net/gh/anthonynahas/ngx-num-to-words@master/assets/angular-material-extensions-logo.svg">
highly inspired and depends on n2words
Big thanks to @forzagreen :heart
--> nodejs module





src="https://raw.githubusercontent.com/anthonynahas/ngx-num-to-words/HEAD/assets/e1.gif">
If you like this project, support angular-material-extensions
by starring :star: and sharing it :loudspeaker:
View all the directives and components in action at https://anthonynahas.github.io/ngx-num-to-words
---
11.x---
Now install ngx-num-to-words via:
``shell`
npm install --save n2words ngx-num-to-words
If you installed the library via angular schematics, you can skip this step
`typescript
import { NgxNumToWordsModule } from 'ngx-num-to-words';
@NgModule({
declarations: [AppComponent, ...],
imports: [NgxNumToWordsModule, ...],
bootstrap: [AppComponent]
})
export class AppModule {
}
`
Other modules in your application like for lazy loading import NgxNumToWordsModule into your feature module:
`html`{{numberInWords}}
`typescript
import { NgxNumToWordsService, SUPPORTED_LANGUAGE } from 'ngx-num-to-words';
numberInWords!: string;
lang!: SUPPORTED_LANGUAGE = 'en';
value = 123;
constructor(private ngxNumToWordsService: NgxNumToWordsService) {
}
ngOnInit(): void {
this.numberInWords = this.ngxNumToWordsService.inWords(value, this.lang);
}
`
`html
{{ 123 | inWords }} // default en language
{{ 123 | inWords:'de' }} // custom language --> german in this case
`
#### hier are some example
src="https://raw.githubusercontent.com/anthonynahas/ngx-num-to-words/HEAD/assets/en.png">
src="https://raw.githubusercontent.com/anthonynahas/ngx-num-to-words/HEAD/assets/ar.png">
src="https://raw.githubusercontent.com/anthonynahas/ngx-num-to-words/HEAD/assets/de.png">
src="https://raw.githubusercontent.com/anthonynahas/ngx-num-to-words/HEAD/assets/es.png">
src="https://raw.githubusercontent.com/anthonynahas/ngx-num-to-words/HEAD/assets/fr.png">
src="https://raw.githubusercontent.com/anthonynahas/ngx-num-to-words/HEAD/assets/ko.png">
src="https://raw.githubusercontent.com/anthonynahas/ngx-num-to-words/HEAD/assets/ukr.png">
src="https://raw.githubusercontent.com/anthonynahas/ngx-num-to-words/HEAD/assets/tr.png">
- en (English, default)ar
- (Arabic)cz
- (Czech)dk
- (Danish)de
- (German)es
- (Spanish)fr
- (French)fa
- (Farsi)he
- (Hebrew)it
- (Italian)ko
- (Korean)lt
- (Lithuanian)lv
- (Latvian)nl
- (Dutch)no
- (Norwegian)pl
- (Polish)pt
- (Portuguese)ru
- (Russian)sr
- (Serbian)tr
- (Turkish)uk
- (Ukrainian)
Build the library
`bash`
$ npm run build:lib
Serve the demo app
`bash``
$ npm start
---
Are you missing your project or you app? PR me to publish it on the README
---
---
This project is supported by jetbrains with 1 ALL PRODUCTS PACK OS LICENSE incl. webstorm
---
Copyright (c) 2020 Anthony Nahas. Licensed under the MIT License (MIT)
height="92px" width="92px" style="text-align: center;"
src="https://cdn.jsdelivr.net/gh/anthonynahas/ngx-num-to-words@master/assets/badge_made-in-germany.svg">