nelreina-node-utils
Library of handy Utils scripts for NodeJS / Most common use in my projects
This package contains:
- unirest
- sqllize - some handy sequelize utility functions
Unirest
An abstraction of unirest module and promisify. Now you can use unirest with async/await
API
// Default to GET method;
Options
options = method: 'POST' // defaults to GET query: {} // Object with query params body: {} // Object for POST/ PUT body;
Example
const unirest = ; ;
OR
const unirest = ; async { const data = await ; console;};
sqllize
Pending docs...