{"id":13802724,"url":"https://github.com/uber/tchannel-node","last_synced_at":"2026-01-14T23:58:49.043Z","repository":{"id":1886049,"uuid":"42619114","full_name":"uber/tchannel-node","owner":"uber","description":null,"archived":true,"fork":false,"pushed_at":"2022-05-03T16:16:28.000Z","size":5524,"stargazers_count":202,"open_issues_count":38,"forks_count":40,"subscribers_count":2549,"default_branch":"master","last_synced_at":"2025-08-09T17:17:54.030Z","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/uber.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2015-09-16T23:37:37.000Z","updated_at":"2025-02-28T14:43:28.000Z","dependencies_parsed_at":"2022-08-06T11:15:35.945Z","dependency_job_id":null,"html_url":"https://github.com/uber/tchannel-node","commit_stats":null,"previous_names":[],"tags_count":241,"template":false,"template_full_name":null,"purl":"pkg:github/uber/tchannel-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber%2Ftchannel-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber%2Ftchannel-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber%2Ftchannel-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber%2Ftchannel-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uber","download_url":"https://codeload.github.com/uber/tchannel-node/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uber%2Ftchannel-node/sbom","scorecard":{"id":906279,"data":{"date":"2025-08-11","repo":{"name":"github.com/uber/tchannel-node","commit":"5d0648d81e5bd014c0367d9055fedf58ecb0c133"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2,"checks":[{"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":"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":"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":"Code-Review","score":3,"reason":"Found 8/23 approved changesets -- score normalized to 3","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":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: npmCommand not pinned by hash: test/link_hyperbahn.sh:35","Warn: npmCommand not pinned by hash: test/link_tcurl.sh:35","Info:   0 out of   2 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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"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":"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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 17 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"36 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-pp7h-53gx-mx7r","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-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-ff7x-qrg7-qggm","Warn: Project is vulnerable to: GHSA-4gmj-3p3h-gm8h","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-282f-qqgm-c34q","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-fvqr-27wr-82fm","Warn: Project is vulnerable to: GHSA-4xc9-xhrj-v574","Warn: Project is vulnerable to: GHSA-x5rq-j2xg-h7qm","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-hxm2-r34f-qmc5","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-wpg7-2c88-r8xv","Warn: Project is vulnerable to: GHSA-pq67-2wwv-3xjx","Warn: Project is vulnerable to: GHSA-8cj5-5rvv-wf4v","Warn: Project is vulnerable to: GHSA-w5p7-h5w8-2hfq","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh","Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp"],"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-24T17:28:19.200Z","repository_id":1886049,"created_at":"2025-08-24T17:28:19.200Z","updated_at":"2025-08-24T17:28:19.200Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28439599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T22:37:52.437Z","status":"ssl_error","status_checked_at":"2026-01-14T22:37:31.496Z","response_time":107,"last_error":"SSL_read: 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":[],"created_at":"2024-08-04T00:01:51.862Z","updated_at":"2026-01-14T23:58:49.025Z","avatar_url":"https://github.com/uber.png","language":"JavaScript","readme":"This project is no longer active. See https://github.com/uber/tchannel-node/issues/372\n\n# TChannel\n\nnetwork multiplexing and framing protocol for RPC\n\n## Stability: stable\n\n[![stable](http://badges.github.io/stability-badges/dist/stable.svg)](http://github.com/badges/stability-badges)\n\n## Example\n\n```js\nvar TChannel = require('tchannel');\n\nvar server = new TChannel();\nvar client = new TChannel();\n\nvar serverChan = server.makeSubChannel({\n    serviceName: 'server'\n});\n\n// normal response\nserverChan.register('func1', function onReq(req, res, arg2, arg3) {\n    console.log('func1 responding', { arg2: arg2.toString(), arg3: arg3.toString() });\n    res.headers.as = 'raw';\n    res.sendOk('result', 'indeed it did');\n});\n\n// err response\nserverChan.register('func2', function onReq2(req, res) {\n    res.headers.as = 'raw';\n    res.sendNotOk(null, 'it failed');\n});\n\nserver.listen(4040, '127.0.0.1', function onListen() {\n    var clientChan = client.makeSubChannel({\n        serviceName: 'server',\n        peers: [server.hostPort],\n        requestDefaults: {\n            hasNoParent: true,\n            headers: { 'as': 'raw', 'cn': 'example-client' }\n        }\n    });\n\n    clientChan.request({\n        serviceName: 'server',\n        timeout: 1000\n    }).send('func1', 'arg 1', 'arg 2', function onResp(err, res, arg2, arg3) {\n        console.log('normal res:', { arg2: arg2.toString(), arg3: arg3.toString() });\n    });\n\n    clientChan.request({\n        serviceName: 'server'\n    }).send('func2', 'arg 1', 'arg 2', function onResp(err, res, arg2, arg3) {\n        console.log('err res: ', { ok: res.ok, message: String(arg3) });\n    });\n});\n```\n\nThis example registers two functions on the \"server\". \"func 1\" always works and \"func 2\" always\nreturns an error. The client sends a request for each function, then prints the result.\n\nNote that every instance is bidirectional. New connections are initiated on demand.\n\n## Overview\n\nTChannel is a network protocol with the following goals:\n\n * request / response model\n * multiple requests multiplexed across the same TCP socket\n * out of order responses\n * streaming request and responses\n * all frames checksummed\n * transport arbitrary payloads\n * easy to implement in multiple languages\n * near-redis performance\n\nThis protocol is intended to run on datacenter networks for inter-process communication.\n\n## Protocol\n\nTChannel frames have a fixed length header and 3 variable length fields. The underlying protocol\ndoes not assign meaning to these fields, but the included client/server implementation uses\nthe first field to represent a unique endpoint or function name in an RPC model.\nThe next two fields can be used for arbitrary data. Some suggested way to use the 3 fields are:\n\n* URI path, HTTP method and headers as JSON, body\n* function name, headers, thrift / protobuf\n\nNote however that the only encoding supported by TChannel is UTF-8.  If you want JSON, you'll need\nto stringify and parse outside of TChannel.\n\nThis design supports efficient routing and forwarding of data where the routing information needs\nto parse only the first or second field, but the 3rd field is forwarded without parsing.\n\nThere is no notion of client and server in this system. Every TChannel instance is capable of\nmaking or receiving requests, and thus requires a unique port on which to listen. This requirement may\nchange in the future.\n\n - See [protocol.md](../docs/protocol.md) for more details\n\n## Performance\n\nOn a Macbook Pro, we see around 50,000 ops/sec from a single node process talking to one other node process.\n\n## Documentation\n\nSee the [docs](./docs/) folder.\n\n## Further examples\n\nSee the [examples](./examples/) folder\n\n## Installation\n\n`npm install tchannel`\n\n## Tests\n\n`npm test`\n\n## Contributors\n\n - mranney\n - jwolski\n - Raynos\n - jcorbin\n - kriskowal\n - shannili\n - rf\n\n## MIT Licenced\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuber%2Ftchannel-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuber%2Ftchannel-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuber%2Ftchannel-node/lists"}