def-req

Create request functions with your own defaults.

npm install def-req
2 downloads in the last week
4 downloads in the last month

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

npm loves you