sirus-stylus

Stylus input text recognition module for angular

stylus demo

Installation

To install this library, run:

$ npm install @sirus/stylus --save

Usage

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


Development

To generate all *.js, *.d.ts and *.metadata.json files:

$ npm run build

To lint all *.ts files:

$ npm run lint

License

MIT © muhammad hasan

results matching ""

    No results matching ""