Noosphere Possibilities Maximized

    @sanity/request

    0.0.3 • Public • Published

    @sanity/request

    Small shim to make browsers use xhr, while node.js use request

    Installation

    npm install --save @sanity/request
    

    Usage

    const request = require('@sanity/request')
    
    request({url: 'http://foo.bar'}, (err, res, body) => {
      // ...
    })

    License

    MIT-licensed

    Install

    npm i @sanity/request

    DownloadsWeekly Downloads

    18

    Version

    0.0.3

    License

    MIT

    Last publish

    Collaborators

    • nina.andal
    • rankers
    • snorreeb
    • mattcraig
    • dkhuntrods
    • vincentquigley
    • stipsan
    • michael-sanity
    • rubioz
    • tonina
    • ritasdias
    • simeonsanity
    • kmelve
    • ricokahler
    • bjoerge
    • rexxars
    • skogsmaskin
    • simenss
    • hdoro
    • robinpyon
    • mariuslundgard
    • sanity-io
    • evenw
    • radhe_sanity
    • rbotten
    • vicbergquist
    • judofyr
    • obliadp
    • dcilke
    • fredcarlsen
    • jorn_georg
    • hermanw
    • svirs
    • mikolajsanity
    • sgulseth
    • atombender