New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@0k/browser-request

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0k/browser-request

Browser request implementation

  • 1.0.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

This packages holds implementation of HttpRequest (from 0k.io/types-request), a simple http request facility using the standard fetch() interface.

This should work in any browser and WebView when run in android or iOS.

Adding @0k/browser-request to your project

From the root of your project:

npm install --save @0k/browser-request

Or better, as browser-request is still in early release,

npm install --save 0k/browser-request#master

To be sure to get the latest version, relaunch this last command whenever you want to update.

Developer

Building the project from fresh clone

npm install

Transpilation to JavaScript

npx tsc

or with watch support:

npx tsc -w

Changelog

0.0.5 (2023-04-22)

Fix

  • Repair android browser support. [Valentin Lab]

    It seems at least on some android, the timeout function doesn't seem to be available, and all requests would fail.

0.0.4 (2023-03-02)

New

  • Add timeout option support. [Valentin Lab]

0.0.3 (2022-09-10)

Fix

  • Prevent double slash at beginning of path. [Valentin Lab]

0.0.2 (2022-06-02)

Fix

  • Response headers were not correctly filled up. [Valentin Lab]

FAQs

Package last updated on 08 May 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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc