JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 183
  • Score
    100M100P100Q86567F
  • License MIT

http request util

Package Exports

  • @anzerr/request.libary
  • @anzerr/request.libary/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@anzerr/request.libary) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Intro

GitHub Actions status | linter GitHub Actions status | publish GitHub Actions status | test

Simple request object without having to pull 47 extra packages

Install

npm install --save git+https://github.com/anzerr/request.libary.git
npm install --save @anzerr/request.libary

Example

const Request = require('request.libary');

new Request('https://google.com').get('/').then((res) => {
    console.log(res.status(), res.body().toString());
});