# @artaio/node-api

> The Arta Node library provides a seamless integration to Arta API for backend applications using both Typescript or Javascript.

Latest version **1.13.0** (published 2026-10-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install @artaio/node-api
pnpm add @artaio/node-api
yarn add @artaio/node-api
bun add @artaio/node-api
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.13.0 |
| Published | 2026-10-16 |
| First published | 2022-11-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18.x |
| Dependencies | 0 |
| Unpacked size | 210.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 2 |
| Author | ARTA |
| Maintainers | otaviojacobi, dylanfareed, marinaboaventura, selmanuysal, iuysal |

## Links

- npm: https://www.npmjs.com/package/@artaio/node-api
- Repository: https://github.com/artaio/arta-node-api
- Issues: https://github.com/artaio/arta-node-api/issues
- npm.io page: https://npm.io/package/@artaio/node-api

## Recent versions

- 1.13.0 (latest) — 2026-10-16
- 1.2.2 (deploy-draft-on-npm-publish-failure-17355fcb294e1545f5637ff9d5a6c6a27521b9ff) — 2024-10-21
- 0.29.2 (beta) — 2023-01-16
- 1.12.2 — 2026-06-29
- 1.12.1 — 2026-05-29
- 1.12.0 — 2026-04-15
- 1.11.0 — 2026-04-14
- 1.10.0 — 2026-04-08
- 1.9.1 — 2026-04-08
- 1.9.0 — 2026-03-27
- 1.8.0 — 2026-03-04
- 1.7.0 — 2026-02-24
- 1.6.0 — 2026-02-02
- 1.5.4 — 2026-01-07
- 1.5.3 — 2025-10-27
- … 23 more at https://npm.io/package/@artaio/node-api/versions

## README

Arta Node.js Library
===

The Arta Node library provides a seamless integration to Arta API for applications running on Node.js 18+ or any platform using [Serverless JS](https://www.cloudflare.com/learning/serverless/serverless-javascript/) using both Typescript or Javascript.

It is a very light package with zero runtime dependencies using only the [fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) Web API.

## Documentation

Please refer to [Arta official documentation](https://api-reference.arta.io/).


## Getting Started

### 1. Install Arta Node Library

```
$ npm install @artaio/node-api
```

### 2. Use it to interact with our API in pure JS
```js
// With top level async/await
const { Arta } = require('@artaio/node-api');
const arta = new Arta('<YOUR_API_TOKEN>');

const { items } = await arta.webhooks.list();
const myHook = items[0];

const pingResult = await myHook.ping();
console.log(pingResult);
```

### 3. Use it to interact with our API in TS
```ts
// With top level async/await
import { Arta, type Webhook } from '@artaio/node-api';
const arta: Arta = new Arta('<YOUR_API_TOKEN>');

const { items } = await arta.webhooks.list();
const myHook: Webhook = items[0];

const pingResult = await myHook.ping();
console.log(pingResult);
```

## Environment
**WARNING**: Arta Node SDK was meant to be used on server side javascript, and altough it only uses WebAPIs (fetch) it shouldn't be used on browsers as it requires a Private API Key.

This is a very tiny (about 12kb minified), 0 dependencies JS SDK for interacting with Arta backend that should be able to run in any javascript backend environment that supports fetch webapi.

## Contributing

Please be aware of our zero-dependency policy and ensure that there are no packages under "dependencies" in the `package.json`. Dev dependencies are fine, as these will not be contained in the final published package.

### Development
To develop a new function on the SDK, run `npm install` to install all the dependencies (only dev dependencies) and then run `npm run build` and the compiled JS code will be stored in the `dist/` folder which is the folder with the content published to NPM.

---
_Source: https://npm.io/package/@artaio/node-api · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
