2.4.0 • Published 6 years ago
@popcornjs/http v2.4.0
@popcornjs/http
A wrapper for the popcorn🍿 API.
Features:
- Written in TypeScript
- Built in Typings
- Promise based
- Only 1 dependency
- Super small
- Easy to use
Example use:
import * as popcorn from '@popcornjs/http';
// Because top level await doesnt exist :(
(async () => {
// POST reqest
const post = await popcorn.post({ eatMore: boolean, key: string, user: string });
// GET reqest
const get = await popcorn.get();
console.log(post, get);
// get returns stats
})();2.4.0
6 years ago
2.3.1
6 years ago
2.3.0
6 years ago
2.1.1
6 years ago
2.2.0
6 years ago
1.0.16
6 years ago
1.0.15
6 years ago
1.0.14
6 years ago
2.1.0
6 years ago
1.0.13
6 years ago
2.0.0
6 years ago
1.0.12
6 years ago
1.0.11
6 years ago
1.0.10
6 years ago
1.0.9
6 years ago
1.0.8
6 years ago
1.0.7
6 years ago
1.0.6
6 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago