{"id":46524029,"url":"https://github.com/dfpc-coe/node-tak","last_synced_at":"2026-05-03T20:07:09.391Z","repository":{"id":203818976,"uuid":"709031607","full_name":"dfpc-coe/node-tak","owner":"dfpc-coe","description":"TAK Server NodeJS SDK","archived":false,"fork":false,"pushed_at":"2026-04-14T04:28:32.000Z","size":1203,"stargazers_count":16,"open_issues_count":2,"forks_count":8,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-14T06:25:47.020Z","etag":null,"topics":["atak","hacktoberfest","public-safety","situational-awareness","tak"],"latest_commit_sha":null,"homepage":"http://node-tak.cloudtak.io/","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/dfpc-coe.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,"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},"funding":{"github":"ingalls"}},"created_at":"2023-10-23T21:52:50.000Z","updated_at":"2026-04-14T04:28:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"355ffaa2-e934-4220-8c7e-7cc0a5de4898","html_url":"https://github.com/dfpc-coe/node-tak","commit_stats":null,"previous_names":["dfpc-coe/node-tak"],"tags_count":130,"template":false,"template_full_name":null,"purl":"pkg:github/dfpc-coe/node-tak","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfpc-coe%2Fnode-tak","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfpc-coe%2Fnode-tak/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfpc-coe%2Fnode-tak/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfpc-coe%2Fnode-tak/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfpc-coe","download_url":"https://codeload.github.com/dfpc-coe/node-tak/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfpc-coe%2Fnode-tak/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32119065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T00:31:26.853Z","status":"online","status_checked_at":"2026-04-22T02:00:05.693Z","response_time":58,"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":["atak","hacktoberfest","public-safety","situational-awareness","tak"],"created_at":"2026-03-06T20:03:53.548Z","updated_at":"2026-04-22T03:03:23.838Z","avatar_url":"https://github.com/dfpc-coe.png","language":"TypeScript","funding_links":["https://github.com/sponsors/ingalls"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=center\u003eNode-TAK\u003c/h1\u003e\n\u003cp align=center\u003eJavascript TAK Server Library\u003c/p\u003e\n\nLightweight JavaScript library for managing TAK TLS connections for streaming CoT data\nas well as a typed SDK for performing TAK Server REST API operations\n\n## API Documentation\n\nAPI Documentation for the latest version can be found on our [Github Pages Site](https://dfpc-coe.github.io/node-tak/)\n\nOr generated locally with\n\n```sh\nnpm run doc\n\n```\n\n## Installation\n\n### NPM\n\nTo install `node-tak` with npm run\n\n```bash\nnpm install @tak-ps/node-tak\n```\n\nor for use with the global CLI:\n\n```bash\nnpm install --global @tak-ps/node-tak\n```\n\n## CLI Usage Examples\n\n### Initial Setup\n\nThe initial run of the CLI will generate a new Connection Profile \u0026 Credentials\n\n```\ntak\n```\n\nOnce the profile is generated you can specify it with `--profile \u003cprofile\u003e` in any command\nor if it is not provided it will be interactively requested\n\n### Streaming COTs\n\n```\ntak stream\n```\n\n### API Operations\n\nExample of a couple different operations:\n\n```\ntak \u003ccommand\u003e \u003csubcommand\u003e\ntak mission list\ntak package list\n```\n\n### Command Line Args\n\nThe following command line args are supported by all or many\nof the different command modes\n\n_Use custom P12 cert file_\n\n```\n--auth \u003cp12 file to use\u003e\n```\n\n_Output Raw JSON where possible_\n\n```\n--format json\n```\n\n#### Environment Variables\n\n| Variable | Notes |\n| -------- | ----- |\n| `TAK_P12_PASSWORD` | Avoid the P12 Password prompt when using in a script |\n\n## SDK Usage Examples\n\n### Basic Streaming COT Usage\n\n```js\nimport TAK from '@tak-ps/node-tak';\n\nconst tak = await TAK.connect('ConnectionID', new URL('https://tak-server.com:8089'), {\n    key: conn.auth.key,\n    cert: conn.auth.cert\n});\n\ntak.on('cot', async (cot: CoT) =\u003e {\n    console.error('COT', cot); // See node-cot library\n}).on('end', async () =\u003e {\n    console.error(`Connection End`);\n}).on('timeout', async () =\u003e {\n    console.error(`Connection Timeout`);\n}).on('ping', async () =\u003e {\n    console.error(`TAK Server Ping`);\n}).on('error', async (err) =\u003e {\n    console.error(`Connection Error`);\n});\n\n```\n\n### Basic API Usage\n\n```js\nimport { TAKAPI, APIAuthCertificate } from '@tak-ps/node-tak'\n\nconst api = await TAKAPI.init(new URL('TAK SERVER Marti API \u0026 Port'), new APIAuthCertificate(auth.cert, auth.key));\n\nconst missions = await api.Mission.list(req.query);\n\nconsole.error(missions);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfpc-coe%2Fnode-tak","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfpc-coe%2Fnode-tak","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfpc-coe%2Fnode-tak/lists"}