JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 342
  • Score
    100M100P100Q113647F
  • License ISC

Javascript Modyo SDK to consume the API

Package Exports

  • @modyo/sdk

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@modyo/sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

JavaScript library for Modyo's headless API (node & browser)

JavaScript SDK for the Modyo headless API. It helps you to easily access your content stored in Modyo with your JavaScript applications.

Supported browsers and Node.js versions:

  • Chrome
  • Firefox
  • Edge
  • IE11+
  • Safari
  • node.js (8.x)

Installation

With npm:

npm install @modyo/sdk

For yarn users:

yarn add @modyo/sdk

Usage

Local development

  • Clone this repo
  • yarn build
  • Open your browser http://sdk.com:3000

Note: You will need an alias (sdk.com) for your localhost in your /etc/hosts in order to use CORS with a Modyo cloud site