Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 339 Bytes

readme.md

File metadata and controls

16 lines (10 loc) · 339 Bytes

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