Package Exports
- skapi-js
- skapi-js/dist/skapi.module.js
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 (skapi-js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
skapi
Serverless-based backend API service designed to simplify the web development.
For HTML projects
<!DOCTYPE html>
<script src="https://cdn.jsdelivr.net/npm/skapi-js@latest/dist/skapi.js"></script>
<script>
const skapi = new Skapi('your_service_id', 'your_user_id');
</script>
For webpack projects
To use skapi in a webpack-based project (such as Vue, React, or Angular), first install skapi-js from npm:
$ npm install skapi-js@latest
Then, import the library into your main JavaScript file:
// main.js
import { Skapi } from 'skapi-js';
const skapi = new Skapi('your_service_id', 'your_user_id');