1.0.3 • Published 7 years ago

nanopost v1.0.3

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
7 years ago

A Simple, promise based, dependency free POST only request library

micropost(url,options)

micropost's parameters are the same as http.request's parameters, without the callback

const micropost = require('micropost');

micropost('https://www.example.com/example', options)({foo:'bar'}).then(response => {
  console.log(response.body);
});
1.0.3

7 years ago