Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    yeppublic

    yep

    A simple HTTP client for node.

    Install

    npm install yep
    

    Usage

    yep({ url: 'http://example.com' })
      .then(res => console.log(res.body))
     
    yep.stream({ url: 'http://example.com' })
      .then(res => res.pipe(fs.createWriteStream('index.html')))

    API

    • yep(options)
    • yep.stream(options)

    where options has the following keys:

    • url
    • method
    • headers
    • form
    • json
    • proxy

    License

    MIT

    install

    npm i yep

    Downloadsweekly downloads

    2

    version

    0.1.0

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar