2.4.0 • Published 5 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
5 years ago
2.3.1
5 years ago
2.3.0
5 years ago
2.1.1
5 years ago
2.2.0
5 years ago
1.0.16
5 years ago
1.0.15
5 years ago
1.0.14
5 years ago
2.1.0
5 years ago
1.0.13
5 years ago
2.0.0
5 years ago
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