Create request functions with your own defaults.

npm install def-req
4 downloads in the last month


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

var defReq = require('def-req')


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

License: MIT

npm loves you