-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.hbs
66 lines (46 loc) · 2.23 KB
/
template.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# superscript
*A library of miscellaneous JavaScript utilities*
[](https://npmjs.org/package/supers)
[](https://github.com/tripu/superscript/blob/master/LICENSE.md)
[](https://app.travis-ci.com/tripu/superscript)
[](https://david-dm.org/tripu/superscript)
[](https://david-dm.org/tripu/superscript?type=dev)
[](https://coveralls.io/github/tripu/superscript?branch=master)
[](https://inch-ci.org/github/tripu/superscript)
**Contents:**
1. [Installation](#1-installation)
1. [Documentation](#2-documentation)
1. [Coming soon](#3-coming-soon)
1. [Contributing](#4-contributing)
1. [Credits](#5-credits)
## 1. Installation
### On the browser
Any of these should work:
* Download [the *browserified* version from GitHub](https://raw.githubusercontent.com/tripu/superscript/master/superscript.js) and load it:
`<script src="superscript.js"></script>`
* Load it via [jsDelivr](https://www.jsdelivr.com/):
`<script src="https://cdn.jsdelivr.net/npm/supers/superscript.js"></script>`
* Load it via [Unpkg](https://unpkg.com/):
`<script src="https://unpkg.com/supers/superscript.js"></script>`
### On Node.js
```bash
$ npm i supers
```
```javascript
const superscript = require('supers');
```
## 2. Documentation
{{>main}}
## 3. Coming soon
* `cache()`
* `throttle()`
* `debounce()` (based on [David Walsh' code](https://davidwalsh.name/javascript-debounce-function))
## 4. Contributing
```bash
npm clone https://github.com/tripu/superscript.git
cd superscript
npm i && npm run build
```
## 5. Credits
Copyright © 2017–2022 tripu ([`t@tripu.info`](mailto:t@tripu.info), [`https://tripu.info`](https://tripu.info/)).
This project is licenced [under the terms of the MIT licence](https://github.com/tripu/superscript/blob/master/LICENSE.md).