2.3.3

Setup

Discover how to setup this beautiful SDK. ✨

If you are using Strapi v3, check out here the documentation of the SDK v1

Installation

Add strapi-sdk-js dependency to your project:

Yarn
yarn add strapi-sdk-js
NPM
npm install --save strapi-sdk-js

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
})

Check out the Options page for available options.

Table of Contents