@popcornjs/callback
TypeScript icon, indicating that this package has built-in type declarations

2.5.1 • Public • Published

@popcornjs/callback

A wrapper for the popcorn🍿 API.

Features:

  • Written in TypeScript
  • Built in Typings
  • Callback based
  • Only 1 dependency
  • Super small
  • Easy to use
  • Uses @popcornjs/http to make requests

Example use:

import * as popcorn from '@popcornjs/callback';

popcorn.get(console.log); // logs data on the api with a get request from /
popcorn.post(body, console.log); // logs the data response from a post request

Package Sidebar

Install

npm i @popcornjs/callback

Weekly Downloads

0

Version

2.5.1

License

ISC

Unpacked Size

4.33 kB

Total Files

9

Last publish

Collaborators

  • tnt_man1671
  • salvage_dev