Skip to main content

Node.js SDK

The Argos SDK for Node.js enables you to upload screenshots from a Node.js script or create your own Argos SDK using @argos-ci/core. It allows for a programmatic interaction with the platform.

The SDK is available as an npm package and the source code is open sourced on GitHub.


npm install --save-dev @argos-ci/core


To upload screenshots from a ./screenshots directory, you can use the upload function provided by the SDK:

import { upload } from "@argos-ci/core";

await upload({ root: "./screenshots" });

API Reference

For a detailed breakdown of the available SDK functions and their use, please refer to the SDK reference documentation.