Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@artaio/node-api

Package Overview
Dependencies
Maintainers
2
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@artaio/node-api

The Arta Node library provides a seamless integration to Arta API for applications running on Node.js using both Typescript or Javascript.

  • 0.30.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11
increased by57.14%
Maintainers
2
Weekly downloads
 
Created
Source

Pre-release notice

arta-node-api is in a pre-release beta. The package's API is unstable and expected to change prior to public release. Please only make use of the package in coordination with ARTA during this period.

Arta Node.js Library

The Arta Node library provides a seamless integration to Arta API for applications running on Node.js using both Typescript or Javascript.

Documentation

Please refer to Arta official documentation.

Getting Started

1. Install Arta Node Library

$ npm install @artaio/node-api

2. Use it to interact with our API in pure JS

const { Arta } = require('@artaio/node-api');
const arta = new Arta('<YOUR_API_TOKEN>');

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

myHook.ping().then(console.log);

3. Use it to interact with our API in TS

import { Arta, Webhook } from '@artaio/node-api';
const arta: Arta = new Arta('<YOUR_API_TOKEN>');

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

myHook.ping().then(console.log);

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.

FAQs

Package last updated on 03 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc