Ng Knife is a simple utility library for angular project
npm install ng-knifeNg Knife is a simple utility library for angular project
Run npm i ng-knife --save to install.
Ng Knife contains the following:
* knifeNoSpaces - No whitespace allowed.
* knifeNoCopyPaste - No copy, cut and paste allowed.
* knifeAlphanumeric - Only alphanumeric and whitespaces allowed.
* knifeOnlyNumbers - Only numbers allowed.
Import the module NgKnifeModule from ng-knife in the module to be used:
`` typescript`
...
import { NgKnifeModule } from 'ng-knife';
...
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
NgKnifeModule
],
...
});
export class AppModule { }
` html
``
1. Fork it
2. Create your feature branch (git checkout -b my-new-feature)
3. Commit your changes (git commit -am 'Add some feature')
4. Push to the branch (git push origin my-new-feature)
5. Create new Pull Request