{"id":26767844,"url":"https://github.com/lussatech/sirus-stylus","last_synced_at":"2025-03-28T21:18:07.951Z","repository":{"id":57160551,"uuid":"91363762","full_name":"lussatech/sirus-stylus","owner":"lussatech","description":"stylus input recognition for angular","archived":false,"fork":false,"pushed_at":"2017-10-14T05:49:35.000Z","size":1628,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-25T15:22:17.803Z","etag":null,"topics":["angular2-component","input","ionic2","stylus"],"latest_commit_sha":null,"homepage":"https://lussatech.github.io/sirus-stylus","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lussatech.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-15T17:09:50.000Z","updated_at":"2020-10-07T20:42:30.000Z","dependencies_parsed_at":"2022-08-24T12:20:10.885Z","dependency_job_id":null,"html_url":"https://github.com/lussatech/sirus-stylus","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lussatech%2Fsirus-stylus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lussatech%2Fsirus-stylus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lussatech%2Fsirus-stylus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lussatech%2Fsirus-stylus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lussatech","download_url":"https://codeload.github.com/lussatech/sirus-stylus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246100580,"owners_count":20723479,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular2-component","input","ionic2","stylus"],"created_at":"2025-03-28T21:18:07.402Z","updated_at":"2025-03-28T21:18:07.938Z","avatar_url":"https://github.com/lussatech.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sirus-stylus\n\nStylus input text recognition module for angular\n\n![stylus demo](https://cloud.githubusercontent.com/assets/9798995/26132775/b141a7d4-3acc-11e7-8a04-1672f4bc33ea.gif)\n\n## Installation\n\nTo install this library, run:\n\n```bash\n$ npm install @sirus/stylus --save\n```\n\n## Usage\n\nOnce you have published your library to npm, you can import this module in any Angular application by running:\n\n```bash\n$ npm install @sirus/stylus\n```\n\nand then from your Angular `AppModule` add your [myScript](http://doc.myscript.com/MyScriptCloud/3.2.0/myscript-web/text.html#mandatory-parameters) application key \u0026 hmac key:\n\n```typescript\nimport { SirusStylusModule } from '@sirus/stylus';\n\n@NgModule({\n  imports: [\n    SirusStylusModule.forRoot(\n      'APPLICATION_KEY',\n      'HMAC_KEY',\n      'HOST' // default to webdemoapi.myscript.com\n    )\n  ]\n})\nexport class AppModule { }\n```\n\nThen from your application template, you can start using `stylus` component\n\n```xml\n\u003csirus-stylus\n  [pen]=\"pen\" \n  height=\"200\" \n  width=\"270\" \n  language=\"id_ID\" \n  (onResult)=\"writeRecognition($event)\"\n  (onInkChange)=\"inkChange($event)\"\u003e\n\u003c/sirus-stylus\u003e\n```\n\n## Development\n\nTo generate all `*.js`, `*.d.ts` and `*.metadata.json` files:\n\n```bash\n$ npm run build\n```\n\nTo lint all `*.ts` files:\n\n```bash\n$ npm run lint\n```\n\n## License\n\nMIT © [muhammad hasan](mailto:hasan@lussa.net)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flussatech%2Fsirus-stylus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flussatech%2Fsirus-stylus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flussatech%2Fsirus-stylus/lists"}