Installation

Discover how to setup this beautiful SDK. ✨

Add strapi-sdk-js dependency to your project:

yarn add strapi-sdk-js@^1.1.0
npm install --save strapi-sdk-js@^1.1.0

Then you can create a new instance by importing strapi-sdk-js in your project:

import Strapi from "strapi-sdk-js";

const strapi = new Strapi();

Configuration

You can pass multiple options to the constructor:

import Strapi from "strapi-sdk-js";

const strapi = new Strapi({
  // Options
});

See options for available options.