Changed exported function to request.
Added README.
Separated testing as a dev dependency.