def-req

0.1.0 • Public • Published

defReq

A simple wrapper around request, to set your own defaults.

var defReq = require('def-req')

defReq(opts)

Returns a function that takes options and an optional callback, merges the two options objects together, and passes them to request.

Copyright 2013 Nick Niemeir nick.niemeir@gmail.com

License: MIT

/def-req/

    Package Sidebar

    Install

    npm i def-req

    Weekly Downloads

    0

    Version

    0.1.0

    License

    none

    Last publish

    Collaborators

    • nrn