{"id":13650826,"url":"https://github.com/is2ei/moleculer-typetalk","last_synced_at":"2025-03-01T14:19:19.992Z","repository":{"id":35065888,"uuid":"173545101","full_name":"is2ei/moleculer-typetalk","owner":"is2ei","description":"Moleculer addon that posts message to Typetalk.","archived":false,"fork":false,"pushed_at":"2023-01-03T17:34:24.000Z","size":487,"stargazers_count":2,"open_issues_count":14,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-12T05:28:46.746Z","etag":null,"topics":["moleculer","typetalk"],"latest_commit_sha":null,"homepage":"https://www.typetalk.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/is2ei.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}},"created_at":"2019-03-03T07:39:22.000Z","updated_at":"2022-10-27T17:13:04.000Z","dependencies_parsed_at":"2023-01-15T13:05:55.472Z","dependency_job_id":null,"html_url":"https://github.com/is2ei/moleculer-typetalk","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/is2ei%2Fmoleculer-typetalk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/is2ei%2Fmoleculer-typetalk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/is2ei%2Fmoleculer-typetalk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/is2ei%2Fmoleculer-typetalk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/is2ei","download_url":"https://codeload.github.com/is2ei/moleculer-typetalk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241374738,"owners_count":19952580,"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":["moleculer","typetalk"],"created_at":"2024-08-02T02:00:41.404Z","updated_at":"2025-03-01T14:19:19.958Z","avatar_url":"https://github.com/is2ei.png","language":"JavaScript","funding_links":[],"categories":["Services"],"sub_categories":["General"],"readme":"![Moleculer logo](http://moleculer.services/images/banner.png)\n\nmoleculer-typetalk\n===\n\n[![Build Status](https://img.shields.io/travis/com/is2ei/moleculer-typetalk/master.svg?style=flat-square)][travis]\n[![Coverage Status](https://coveralls.io/repos/github/is2ei/moleculer-typetalk/badge.svg?branch=master)][coveralls]\n[![npm version](https://img.shields.io/npm/v/moleculer-typetalk.svg?style=flat-square)][npm]\n\n[travis]: https://travis-ci.com/is2ei/moleculer-typetalk\n[coveralls]: https://coveralls.io/github/is2ei/moleculer-typetalk?branch=master\n[npm]: https://badge.fury.io/js/moleculer-typetalk\n\n## Install\n\n```\n$ npm i --save moleculer-typetalk\n```\n\n## Usage\n\n```javascript\nconst {ServiceBroker} = require(\"moleculer\"),\n    TypetalkService = require(\"moleculer-typetalk\"),\n    config = require(\"./config\");\n\n// Create broker\nconst broker = new ServiceBroker({logger: console});\n\n// Load my service\nbroker.createService({\n    mixins: [TypetalkService],\n    name: \"typetalk\",\n    settings: {\n        token: config.token,\n        topicID: config.topicID\n    }\n});\n\n// Start server\nbroker.start().then(() =\u003e {\n    broker\n        .call(\"typetalk.post\", {\n            message: \"Hello, Typetalk!\"\n        })\n        .then(() =\u003e {\n            // Do something...\n        })\n        .catch(() =\u003e {\n            // Do something...\n        });\n});\n```\n\nFor working example, see [this repository](https://github.com/is2ei/moleculer-typetalk-example).\n\n\n## Settings\n\n| Property | Type | Default | Description |\n| -------- | ---- | ------- | ----------- |\n| token | String | required | Typetalk token. |\n| topicID | String | required | Topic ID to post to. |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fis2ei%2Fmoleculer-typetalk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fis2ei%2Fmoleculer-typetalk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fis2ei%2Fmoleculer-typetalk/lists"}