2.4.0 • Published 4 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
4 years ago
2.3.1
4 years ago
2.3.0
4 years ago
2.1.1
4 years ago
2.2.0
4 years ago
1.0.16
4 years ago
1.0.15
4 years ago
1.0.14
4 years ago
2.1.0
4 years ago
1.0.13
4 years ago
2.0.0
4 years ago
1.0.12
4 years ago
1.0.11
4 years ago
1.0.10
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago