3.0.0 • Published 1 day ago

@tak-ps/node-tak v3.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 day ago

Lightweight JavaScript library for managing TAK TLS connections for streaming CoT data

Installation

NPM

To install node-tak with npm run

npm install @tak-ps/node-tak

Usage Examples

Basic Usage

import TAK from '@tak-ps/node-tak';

const tak = await TAK.connect('ConnectionID', new URL('https://tak-server.com:8089'), {
    key: conn.auth.key,
    cert: conn.auth.cert
});

tak.on('cot', async (cot: CoT) => {
    console.error('COT', cot); // See node-cot library
}).on('end', async () => {
    console.error(`Connection End`);
}).on('timeout', async () => {
    console.error(`Connection Timeout`);
}).on('ping', async () => {
    console.error(`TAK Server Ping`);
}).on('error', async (err) => {
    console.error(`Connection Error`);
});
3.0.0

1 day ago

2.1.2

23 days ago

2.1.1

24 days ago

2.1.0

24 days ago

2.0.1

25 days ago

1.9.0

29 days ago

1.8.0

29 days ago

1.7.0

1 month ago

1.6.1

2 months ago

1.6.0

2 months ago

1.5.0

2 months ago

1.4.0

3 months ago

1.2.0

4 months ago

1.3.0

4 months ago

1.1.0

4 months ago

1.0.2

4 months ago

1.0.1

5 months ago

1.0.0

5 months ago

0.4.1

6 months ago

0.4.0

6 months ago

0.4.2

6 months ago

0.3.3

7 months ago

0.3.2

7 months ago

0.3.1

7 months ago

0.3.0

7 months ago

0.2.0

7 months ago