16 lines
485 B
Markdown
16 lines
485 B
Markdown
# JavaScript / TypeScript SDK
|
|
|
|
```bash
|
|
git clone --branch recovery/native-geofeeds-20260814 https://git.datacoria.com/Phylex/production-as213905.git
|
|
npm install ./production-as213905/as213905-sdk/javascript
|
|
```
|
|
|
|
```js
|
|
import {AS213905} from '@as213905/sdk';
|
|
const client = new AS213905({apiKey: process.env.AS213905_API_KEY});
|
|
console.log(await client.traffic({days: 7}));
|
|
```
|
|
|
|
The package has no dependencies, works in Node 18+ and modern browsers, and
|
|
ships TypeScript declarations.
|