{"id":49093772,"url":"https://github.com/craftingmod/ncube-thyme-typescript","last_synced_at":"2026-04-20T19:35:08.731Z","repository":{"id":57309360,"uuid":"367683637","full_name":"craftingmod/ncube-thyme-typescript","owner":"craftingmod","description":"nCube Thyme for Typescript (Mobius)","archived":false,"fork":false,"pushed_at":"2021-05-28T10:38:52.000Z","size":594,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-19T11:27:08.084Z","etag":null,"topics":["homework-assignments","iot-platform","mobius","onem2m","typescript-library"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/craftingmod.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-15T16:47:19.000Z","updated_at":"2021-05-28T10:38:12.000Z","dependencies_parsed_at":"2022-09-09T05:41:14.699Z","dependency_job_id":null,"html_url":"https://github.com/craftingmod/ncube-thyme-typescript","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/craftingmod/ncube-thyme-typescript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/craftingmod%2Fncube-thyme-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/craftingmod%2Fncube-thyme-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/craftingmod%2Fncube-thyme-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/craftingmod%2Fncube-thyme-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/craftingmod","download_url":"https://codeload.github.com/craftingmod/ncube-thyme-typescript/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/craftingmod%2Fncube-thyme-typescript/sbom","scorecard":{"id":307124,"data":{"date":"2025-08-11","repo":{"name":"github.com/craftingmod/ncube-thyme-typescript","commit":"ac94fad36f1d4854040c0ef880d975f9ecd6d46b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/20 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"33 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-mhxj-85r3-2x55","Warn: Project is vulnerable to: GHSA-8mmm-9v2q-x3f9","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-4r62-v4vq-hr96","Warn: Project is vulnerable to: GHSA-5v2h-r2cx-5xgj","Warn: Project is vulnerable to: GHSA-rrrm-qjm4-v8hf","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-px4h-xg32-q955","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-g4rg-993r-mgx7","Warn: Project is vulnerable to: GHSA-4rq4-32rv-6wp6","Warn: Project is vulnerable to: GHSA-64g7-mvw6-v9qj","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-38fc-wpqx-33j7","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7","Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T22:21:06.249Z","repository_id":57309360,"created_at":"2025-08-17T22:21:06.249Z","updated_at":"2025-08-17T22:21:06.249Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32062763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["homework-assignments","iot-platform","mobius","onem2m","typescript-library"],"created_at":"2026-04-20T19:35:06.059Z","updated_at":"2026-04-20T19:35:08.724Z","avatar_url":"https://github.com/craftingmod.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ncube-thyme-typescript\n\n### nCube Thyme for Typescript\n\nPseudo [oneM2M](https://www.onem2m.org/) implementation focused on\n[Mobius IoT platform](https://github.com/IoTKETI/Mobius)\n\n- Minimal function is working\n\n## Install\n\n```shell\n$ npm i -S ncube-thyme-typescript\n```\n\n## Usage\n\n```typescript\nimport { Thyme } from \"ncube-thyme-typescript\"\n\n// create thyme instance with http \u0026 mqtt\n/*\nconst thyme = new Thyme({\n  main: {\n    // restful protocol\n    type: ThymeProtocol.HTTP, // http\n    host: \"203.253.128.161\", // KETI test server\n    port: 7579,\n  },\n  sub: {\n    // subscribe protocol\n    type: ThymeProtocol.MQTT, // mqtt\n    port: 1883,\n  },\n})\n*/\n\n// create thyme instance with only mqtt(subscriber protocol)\nconst thyme = new Thyme({\n  main: {\n    type: ThymeProtocol.MQTT, // mqtt\n    host: \"203.253.128.161\", // KETI test server\n    port: 1883,\n  },\n})\nasync function testLED() {\n  // connect\n  await thyme.connect()\n\n  // Get Common Service Entity Base (Mobius platform)\n  // first parameter is cse(common service entry)\n  // second paramter is cse-id\n  const mobius = await thyme.getCSEBase(\"Mobius\", \"Mobius2\")\n\n  // Create Application Entity if not exist, Get Application Entity if exist\n  const sampleAE = await mobius.ensureApplicationEntity(\n    \"ncube_thyme_nodejs\",\n    false\n  )\n\n  // Create led value container (We will use light with 1024 byte space)\n  const led = await sampleAE.ensureContainer(\"ledm\", 1024, false)\n  // Set value which we want :)\n  await led.addContentInstance(\"100\")\n  // Print our last led value\n  console.log(\"LED Light: \" + (await led.queryLastValue()))\n  // subscribe to log sensor when changed\n  led.on(\"changed\", (value) =\u003e {\n    console.log(\"LED changed to \" + value)\n  })\n  // Let's try to change several times :)\n  await led.addContentInstance(\"200\")\n  await led.addContentInstance(\"300\")\n  await led.addContentInstance(\"400\")\n}\ntestLED()\n```\n\n- Result\n\n```\nLED Light: 100\nLED changed to 200\nLED changed to 300\nLED changed to 400\n```\n\n## Original\n\n[nCube-Thyme-Nodejs](https://github.com/IoTKETI/nCube-Thyme-Nodejs) by\n[IoTKETI](https://github.com/IoTKETI)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcraftingmod%2Fncube-thyme-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcraftingmod%2Fncube-thyme-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcraftingmod%2Fncube-thyme-typescript/lists"}