@vaporsproject/web
TypeScript icon, indicating that this package has built-in type declarations

5.0.11 • Public • Published

Web Utilities

This sub-module is part of the vapors project.

It contains functions to abstract safely and responsibly connecting to the web, including exponential back-off.

For more information, see the documentation.

Importing

Most users will prefer to use the umbrella package, but for those with more specific needs, individual components can be imported.

const {

    fetchJson,

    poll,

    // Types
    ConnectionInfo,
    FetchJsonResponse,

    PollOptions,
    OncePollable,
    OnceBlockable

} = require("@vaporsproject/web");

License

MIT License

Readme

Keywords

Package Sidebar

Install

npm i @vaporsproject/web

Weekly Downloads

1

Version

5.0.11

License

MIT

Unpacked Size

107 kB

Total Files

36

Last publish

Collaborators

  • marlonhanks