{"id":20328253,"url":"https://github.com/monkeyscript/ngx-morse","last_synced_at":"2025-05-08T01:30:56.759Z","repository":{"id":40663198,"uuid":"257609547","full_name":"monkeyscript/ngx-morse","owner":"monkeyscript","description":"A simple morse code encoder and decoder for Angular.","archived":false,"fork":false,"pushed_at":"2025-03-21T05:47:58.000Z","size":7728,"stargazers_count":7,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-23T00:21:23.768Z","etag":null,"topics":["angular","hacktoberfest","morse","morse-alphabet","morse-code","morse-codes","morse-translator"],"latest_commit_sha":null,"homepage":"https://monkeyscript.github.io/ngx-morse/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/monkeyscript.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-21T13:45:25.000Z","updated_at":"2025-03-21T05:47:56.000Z","dependencies_parsed_at":"2023-02-18T04:15:36.422Z","dependency_job_id":"da951de4-aac0-4d29-8d14-16a043efa23b","html_url":"https://github.com/monkeyscript/ngx-morse","commit_stats":{"total_commits":87,"total_committers":4,"mean_commits":21.75,"dds":0.5287356321839081,"last_synced_commit":"bd8e08033f38257a009148a980c67f7f1a438571"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkeyscript%2Fngx-morse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkeyscript%2Fngx-morse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkeyscript%2Fngx-morse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkeyscript%2Fngx-morse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monkeyscript","download_url":"https://codeload.github.com/monkeyscript/ngx-morse/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252981436,"owners_count":21835426,"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":["angular","hacktoberfest","morse","morse-alphabet","morse-code","morse-codes","morse-translator"],"created_at":"2024-11-14T20:01:05.494Z","updated_at":"2025-05-08T01:30:56.749Z","avatar_url":"https://github.com/monkeyscript.png","language":"TypeScript","funding_links":[],"categories":["Third Party Components"],"sub_categories":["Form Controls"],"readme":"# Ngx-Morse\n\n![npm](https://img.shields.io/npm/v/ngx-morse)\n![npm bundle size](https://img.shields.io/bundlephobia/min/ngx-morse)\n![NPM](https://img.shields.io/npm/l/ngx-morse)\n\nA simple morse code encoder and decoder for Angular.\n\nDemo : [https://monkeyscript.github.io/ngx-morse/](https://monkeyscript.github.io/ngx-morse/)\n\n## Installation\n\nUsing npm :\n\n```\n$ npm i ngx-morse\n```\n\n## Usage\n\nImport and use `NgxMorseService` in your component. It's that simple :)\n\n```typescript \nimport { NgxMorseService } from 'ngx-morse';\n \n@Component({...})\n\nexport class YourComponent {\n  \n  constructor(private morse: NgxMorseService) {}\n \n  encode() {\n    let encoded = this.morse.encode('hello world!');\n    // .... . .-.. .-.. --- / .-- --- .-. .-.. -.. -.-.--\n  }\n\n  decode() {\n    let decoded = this.morse.decode('.... . .-.. .-.. --- / .-- --- .-. .-.. -.. -.-.--');\n    // hello world!\n  }\n\n}\n\n```\n\n## Methods\n\n- **encode()** : Takes a text as input and returns its morse code.\n\n- **decode()** : Takes a morse code as input and returns its text value.\n\n## Issues \u0026 Contributions\n\nFor a new feature, create an issue [here](https://github.com/monkeyscript/ngx-morse/issues). Open to all contributions :)\n\n## License \n\nApache-2.0. Please see the [license file](https://github.com/monkeyscript/ngx-morse/blob/master/LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonkeyscript%2Fngx-morse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonkeyscript%2Fngx-morse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonkeyscript%2Fngx-morse/lists"}