Stylus input text recognition module for angular
To install this library, run:
$ npm install @sirus/stylus --save
Once you have published your library to npm, you can import this module in any Angular application by running:
$ npm install @sirus/stylus
and then from your Angular AppModule
add your myScript application key & hmac key:
import { SirusStylusModule } from '@sirus/stylus';
@NgModule({
imports: [
SirusStylusModule.forRoot(
'APPLICATION_KEY',
'HMAC_KEY',
'HOST' // default to webdemoapi.myscript.com
)
]
})
export class AppModule { }
Then from your application template, you can start using stylus
component
To generate all *.js
, *.d.ts
and *.metadata.json
files:
$ npm run build
To lint all *.ts
files:
$ npm run lint
MIT © muhammad hasan