You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@hubble/request

Package Overview
Dependencies
Maintainers
5
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hubble/request

A simple, universal, no-frills networking library


Version published
Maintainers
5
Created

Readme

Source

@hubble/request

A simple, universal, no-frills networking library

View the docs

Installing

Install in your project with:

npm install @hubble/request

Or, with yarn:

yarn add @hubble/request

Development

Prerequisites

Setup

Run:

make dev-setup dev-build

Development

To rebuild the contents of dist every time you change a file in src, use:

make dev-run

Tests

You can run the tests, while running make dev-run, using:

make dev-test

You can re-run the tests every time you save a file using:

make dev-test-watch

Getting local node_modules

In order to have your code editor use node_modules to power its plugins (such as prettier and eslint), you'll need to export your node modules:

make dev-export-node-modules

Docs

We generate docs from JSDoc blocks on all our React code.

To view the docs locally, run

make dev-docs

This will generate the docs. You can view them at http://localhost:9004

Publishing

Once your branch has been approved and merged, follow these steps in main to publish:

  1. In one terminal tab, run make dev-run
  2. Open a new tab. Run make dev-ssh
  3. Bump the version, using yarn version
  4. Commit the version bump using version number as the commit header
  5. Push the update, and the tag, to the git repository: git push && git push --tags
  6. Log in to npm, using an account authorized to push to the @hubble namespace: yarn login
  7. Publish to npm: yarn publish

FAQs

Package last updated on 01 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc