{"id":39405991,"url":"https://github.com/tago-io/sdk-js","last_synced_at":"2026-01-18T03:30:38.596Z","repository":{"id":37542037,"uuid":"275079815","full_name":"tago-io/sdk-js","owner":"tago-io","description":"TagoIO :: JavaScript SDK","archived":false,"fork":false,"pushed_at":"2025-12-16T18:12:55.000Z","size":2851,"stargazers_count":13,"open_issues_count":4,"forks_count":7,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-12-20T09:17:17.474Z","etag":null,"topics":["iot","sdk","tago","tago-io","tago-sdk"],"latest_commit_sha":null,"homepage":"https://js.sdk.tago.io","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/tago-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-06-26T05:20:25.000Z","updated_at":"2025-12-05T12:35:26.000Z","dependencies_parsed_at":"2024-01-10T16:17:00.112Z","dependency_job_id":"f5cfaa96-5254-48e9-aa29-566fb18e61e9","html_url":"https://github.com/tago-io/sdk-js","commit_stats":{"total_commits":421,"total_committers":15,"mean_commits":"28.066666666666666","dds":0.5510688836104514,"last_synced_commit":"90de2e511ac76c1cbc893b995e32221f5721b781"},"previous_names":[],"tags_count":94,"template":false,"template_full_name":null,"purl":"pkg:github/tago-io/sdk-js","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tago-io%2Fsdk-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tago-io%2Fsdk-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tago-io%2Fsdk-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tago-io%2Fsdk-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tago-io","download_url":"https://codeload.github.com/tago-io/sdk-js/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tago-io%2Fsdk-js/sbom","scorecard":{"id":430332,"data":{"date":"2025-08-18","repo":{"name":"github.com/tago-io/sdk-js","commit":"d72c3900bbc3dfdd994af92b220608ddf1e54099"},"scorecard":{"version":"v5.2.1-41-g40576783","commit":"40576783fda6698350fcbbeaea760ff827433034"},"score":6.4,"checks":[{"name":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/publish.yml:12","Warn: no topLevel permission defined: .github/workflows/publish.yml:1","Warn: no topLevel permission defined: .github/workflows/tests.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":5,"reason":"Found 7/12 approved changesets -- score normalized to 5","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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#code-review"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":6,"reason":"dependency not pinned by hash detected -- score normalized to 6","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/tago-io/sdk-js/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/tago-io/sdk-js/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/tago-io/sdk-js/publish.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/tago-io/sdk-js/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/tago-io/sdk-js/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/tago-io/sdk-js/tests.yml/master?enable=pin","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   3 out of   3 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#pinned-dependencies"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#cii-best-practices"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#license"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#fuzzing"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#branch-protection"}},{"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#security-policy"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/publish.yml:8"],"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/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#packaging"}},{"name":"SAST","score":7,"reason":"SAST tool is not run on all commits -- score normalized to 7","details":["Warn: 19 commits out of 25 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/40576783fda6698350fcbbeaea760ff827433034/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T03:11:37.629Z","repository_id":37542037,"created_at":"2025-08-19T03:11:37.629Z","updated_at":"2025-08-19T03:11:37.629Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28528114,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["iot","sdk","tago","tago-io","tago-sdk"],"created_at":"2026-01-18T03:30:37.933Z","updated_at":"2026-01-18T03:30:38.567Z","avatar_url":"https://github.com/tago-io.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cbr/\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://assets.tago.io/tagoio/sdk.png\" width=\"250px\" alt=\"TagoIO\"\u003e\u003c/img\u003e\n\u003c/p\u003e\n\n# TagoIO - JavaScript SDK\n\u003e TagoIO provides easy connection of electronic devices with external data to drive smarter decisions using contextual analysis. Supports Node.js, Browser, Deno, and Bun environments.\n\n## Help\n\nOfficial TagoIO SDK for JavaScript. Works across all major JavaScript runtimes and environments.\n\n| what                  | where                    |\n|-----------------------|--------------------------|\n| TagoIO website        | https://tago.io           |\n| SDK documentation     | https://js.sdk.tago.io    |\n| General documentation | https://docs.tago.io      |\n\n## Installation\n\n### Node.js \u0026 Bun\n```bash\nnpm install @tago-io/sdk\n```\n\n### Deno\n```bash\ndeno add @tago-io/sdk\n```\n\n## Quick Example\n#### Insert Device Data\n```javascript\n// ESM (recommended)\nimport { Device } from \"@tago-io/sdk\";\n\n// CommonJS\n// const { Device } = require(\"@tago-io/sdk\");\n\nconst myDevice = new Device({ token: \"00000000-2ec4-11e6-a77d-991b8f63b767\" });\n\nconst myData = {\n  variable: \"temperature\",\n  location: { lat: 42.2974279, lng: -85.628292 },\n  time: new Date(),\n  unit: \"C\",\n  value: 63,\n};\n\nasync function sendMyData() {\n  const result = await myDevice.sendData(myData);\n\n  console.log(result);\n  // 1 Data Added\n}\n\nasync function getMyData() {\n  const result = await myDevice.getData({ variables: [\"temperature\"], query: \"last_item\" });\n\n  console.info(\"Current Temperature is:\", result[0] ? result[0].value : \"N/A\");\n  // Current Temperature is: 63\n}\n\n// -\u003e See full documentation at: https://js.sdk.tago.io/\n```\n\n## Runtime Compatibility\n\n| Runtime | ESM | CommonJS | Version |\n|---------|-----|----------|---------|\n| Node.js | ✓   | ✓        | 20+     |\n| Browser | ✓   | -        | Modern  |\n| Deno    | ✓   | -        | 2.0+    |\n| Bun     | ✓   | ✓        | 1.0+    |\n\n## License\n\nTagoIO SDK for JavaScript in the browser and Node.js is released under the [Apache-2.0 License](https://github.com/tago-io/tago-sdk-js/blob/master/LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftago-io%2Fsdk-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftago-io%2Fsdk-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftago-io%2Fsdk-js/lists"}