@nymproject/mix-fetch-node-commonjs
TypeScript icon, indicating that this package has built-in type declarations

1.2.4-rc.1 • Public • Published

Nym MixFetch

This package is a drop-in replacement for fetch in NodeJS to send HTTP requests over the Nym Mixnet.

Usage

const { mixFetch } = require('@nymproject/mix-fetch-node-commonjs');

...

const response = await mixFetch('https://nymtech.net');
const html = await response.text();

/@nymproject/mix-fetch-node-commonjs/

    Package Sidebar

    Install

    npm i @nymproject/mix-fetch-node-commonjs

    Weekly Downloads

    8

    Version

    1.2.4-rc.1

    License

    Apache-2.0

    Unpacked Size

    11 MB

    Total Files

    12

    Last publish

    Collaborators

    • nymbot
    • mmsinclair
    • nymtech
    • jstuczyn