{"id":33167536,"url":"https://github.com/morkai/h5.coap","last_synced_at":"2026-01-31T18:21:19.030Z","repository":{"id":57110890,"uuid":"11058240","full_name":"morkai/h5.coap","owner":"morkai","description":"Implementation of the Constrained Application Protocol (CoAP) client for node.js.","archived":false,"fork":false,"pushed_at":"2014-01-27T23:50:32.000Z","size":222,"stargazers_count":61,"open_issues_count":1,"forks_count":11,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-10-30T08:56:32.180Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/morkai.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}},"created_at":"2013-06-29T19:40:43.000Z","updated_at":"2025-07-23T21:22:06.000Z","dependencies_parsed_at":"2022-08-21T07:31:00.767Z","dependency_job_id":null,"html_url":"https://github.com/morkai/h5.coap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/morkai/h5.coap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morkai%2Fh5.coap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morkai%2Fh5.coap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morkai%2Fh5.coap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morkai%2Fh5.coap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/morkai","download_url":"https://codeload.github.com/morkai/h5.coap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morkai%2Fh5.coap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285484486,"owners_count":27179744,"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","status":"online","status_checked_at":"2025-11-20T02:00:05.334Z","response_time":54,"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":[],"created_at":"2025-11-16T00:00:45.513Z","updated_at":"2025-11-20T18:00:59.314Z","avatar_url":"https://github.com/morkai.png","language":"JavaScript","funding_links":[],"categories":["Protocol Library"],"sub_categories":["CoAP"],"readme":"# h5.coap\n\nImplementation of the Constrained Application Protocol (CoAP) client for node.js.\n\n[![Build Status](https://travis-ci.org/morkai/h5.coap.png?branch=master)](https://travis-ci.org/morkai/h5.coap)\n\nImplemented client-side features:\n\n  - [draft-ietf-core-coap-18](http://tools.ietf.org/html/draft-ietf-core-coap-18)\n  - [draft-ietf-core-block-12](http://tools.ietf.org/html/draft-ietf-core-block-12)\n    - Block1 + Block2 (server initiative)\n  - [draft-ietf-core-observe-08](http://tools.ietf.org/html/draft-ietf-core-observe-08)\n    - Observe + Block2 (server initiative)\n    - Re-registration after a Max-Age expiration\n    - Re-registration after a blockwise timeout\n  - See the [test/functional/](test/functional/) directory for a list of tested scenarios.\n\n## Example\n\n```\nnpm install git://github.com/morkai/h5.coap git://github.com/morkai/h5.linkformat\n```\n\n```js\nvar coap = require('h5.coap');\nvar linkformat = require('h5.linkformat');\n\nvar client = new coap.Client();\n\nvar req = client.get('coap://127.0.0.1/.well-known/core', {\n  accept: 'application/link-format'\n});\n\nreq.on('response', function(res)\n{\n  if (res.isSuccess())\n  {\n    console.log(linkformat.parse(res.getPayload().toString()));\n  }\n  else\n  {\n    console.log(res.toPrettyString());\n  }\n});\n```\n\n## TODO\n\n  - More tests\n  - Readme\n  - Documentation\n  - npm publish\n\n## License\n\nThis project is released under the\n[MIT License](https://raw.github.com/morkai/h5.coap/master/license.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorkai%2Fh5.coap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorkai%2Fh5.coap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorkai%2Fh5.coap/lists"}