Getting Started

Installation

NPM

Add the npm package to your project:

npm --save install gd-sprest

Yarn

Add the package from yarn:

yarn add gd-sprest

JavaScript

The library can downloaded or referenced from github directly.

Core REST API (gd-sprest)

<script type="text/javascript" src="https://unpkg.com/gd-sprest/dist/gd-sprest.min.js"></script>
var s = document.createElement("script"); s.src = "https://unpkg.com/gd-sprest/dist/gd-sprest.min.js"; document.head.appendChild(s);

Bootstrap (No Icons) (gd-sprest-bs)

<script type="text/javascript" src="https://unpkg.com/gd-sprest-bs/dist/gd-sprest-bs.min.js"></script>
var s = document.createElement("script"); s.src = "https://unpkg.com/gd-sprest-bs/dist/gd-sprest-bs.min.js"; document.head.appendChild(s);

Bootstrap (Includes Icons) (gd-sprest-bs)

<script type="text/javascript" src="https://unpkg.com/gd-sprest-bs/dist/gd-sprest-bs-icons.min.js"></script>
var s = document.createElement("script"); s.src = "https://unpkg.com/gd-sprest-bs/dist/gd-sprest-bs-icons.min.js"; document.head.appendChild(s);

Bootstrap Web Components (gd-sprest-bs)

<script type="text/javascript" src="https://unpkg.com/gd-sprest-bs-wc/dist/gd-sprest-bs.js"></script>
var s = document.createElement("script"); s.src = "https://unpkg.com/gd-sprest-bs/wc/dist/gd-sprest-bs.js"; document.head.appendChild(s);