1.0.12 • Published 5 years ago

fptu-sdk v1.0.12

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

FPTU Javascript SDK

A simple SDK for scaffolding FPTU.tech projects.

Installation

Prerequisites: Node.js (>=6.x, 8.x preferred), npm version 3+ and Git.

Install as a library

$ npm install fptu-sdk

Build universal javascript

  • Install yarn npm install yarn -g.
  • Clone project, run yarn and yarn build, get file fptu-sdk.js from /dist/ folder.
  • You may upload that javascript file to a CDN for later use.
  • If you don't want to build you can use that file here: https://cdn.jsdelivr.net/npm/fptu-sdk@[version,eg:1.0.2]/dist/fptu-sdk.js

How to use SDK universal javascript

  • Add <script src="fptu-sdk.js"></script> to your index.html.
  • Deal with the window.FPTUSDK global, and you got the world!

Usage

Example:

const sdk = require("fptu-sdk");

// Get overview
sdk.overview.getOverview().then(data => console.log(data));
1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago