{"id":19758836,"url":"https://github.com/daq-tools/terkin-javascript","last_synced_at":"2025-06-26T02:05:03.092Z","repository":{"id":71970055,"uuid":"193797259","full_name":"daq-tools/terkin-javascript","owner":"daq-tools","description":"Terkin Telemetry client library for JavaScript, written in TypeScript","archived":false,"fork":false,"pushed_at":"2019-06-26T01:42:00.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T09:32:02.986Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/daq-tools.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","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":"2019-06-25T23:35:06.000Z","updated_at":"2019-06-26T01:41:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"f56d17f5-7667-48a8-a445-8e406fb2326d","html_url":"https://github.com/daq-tools/terkin-javascript","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/daq-tools/terkin-javascript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daq-tools%2Fterkin-javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daq-tools%2Fterkin-javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daq-tools%2Fterkin-javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daq-tools%2Fterkin-javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daq-tools","download_url":"https://codeload.github.com/daq-tools/terkin-javascript/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daq-tools%2Fterkin-javascript/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261984645,"owners_count":23240303,"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":[],"created_at":"2024-11-12T03:26:10.493Z","updated_at":"2025-06-26T02:05:03.025Z","avatar_url":"https://github.com/daq-tools.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":".. image:: https://img.shields.io/github/tag/daq-tools/terkin-javascript.svg\n    :target: https://github.com/daq-tools/terkin-javascript\n\n|\n\n.. figure:: https://ptrace.getkotori.org/2019-06-26_terkin-squirrel-small.png\n    :target: https://ptrace.getkotori.org/2019-06-26_terkin-squirrel-small.png\n\n\n######################################\nTerkin Telemetry Client for JavaScript\n######################################\n\n*****\nAbout\n*****\nTerkin Telemetry client library for JavaScript, written in TypeScript.\n\nTerkin is a client-side library, framework and concept for doing telemetry on\nembedded compute nodes usually resembling sensor nodes of a sensor network.\n\n\n********\nSynopsis\n********\n::\n\n    var terkin = require('./terkin');\n\n    var telemetry_node = new terkin.TelemetryNode(\n        \"https://daq.example.org/api\",\n        {\n            \"realm\": \"mqttkit-1\",\n            \"network\": \"testdrive\",\n            \"gateway\": \"terkin\",\n            \"node\": \"js-node-01\",\n        }\n    );\n\n    var data = {\"temperature\": 42.84, \"humidity\": 83.01};\n    telemetry_node.transmit(data);\n\n\n***********\nDevelopment\n***********\n\n\nSetup\n=====\n::\n\n    yarn install\n\n\nOperation\n=========\nCompile TypeScript in ``./src`` folder to JavaScript in ``./build`` folder::\n\n    yarn compile\n\nRun example program to publish single measurement reading::\n\n    yarn run-example\n\nRun example program to publish synthesized sawtooth signal::\n\n    yarn run-sawtooth\n\nHacking\n=======\nContinuously watch the filesystem and run example program on change::\n\n    yarn watch-example\n\nContinuously watch the filesystem and run sawtooth signal example program on change::\n\n    yarn watch-sawtooth\n\n\n----\n\n********************\nContent attributions\n********************\n\nThe copyright of particular images and pictograms are held by their respective owners, unless otherwise noted.\n\nSquirrel by Maria from the Noun Project. Creative Commons CC-BY.\n\n- https://thenounproject.com/morika/\n- https://thenounproject.com/term/squirrel/83208/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaq-tools%2Fterkin-javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaq-tools%2Fterkin-javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaq-tools%2Fterkin-javascript/lists"}