JSPM

skapi-js

0.1.93
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 969
  • Score
    100M100P100Q101057F
  • License Apache-2.0

Javascript library for Skapi: Complete JAM Stack, front-end driven serverless backend API service.

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

Complete JAM Stack, front-end driven 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>
<body>
  ...
</body>
<script>
  const skapi = new Skapi('your_service_id', 'your_user_id');
  // ... Start Coding!
</script>

For webpack projects

To use skapi in a webpack-based project (such as Vue, React, or Angular), 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');

export { skapi }; // Import skapi from your project files

For more info, visit our documentation page