Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

clientside-request

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clientside-request

a clientside module that enables async requests in the browser; mimics request-promise in usage.

  • 1.4.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

clientside-request

npm npm

This is a npm nodule for the front end (a cmm module) built to bring the simplicity of request-promise package to the browser.

Installation

npm install clientside-request --save

Example Usage

require("clientside-request")
    .then((request)=>{
        return request("http://same_origin/route") // note, request must be same origin as browsers block cross origin requests.
    })
    .then((response)=>{
        /* */
    })

comments

To preserve sessions and handle cookies from server and to server - set {cookies : true}

FAQs

Package last updated on 10 May 2018

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