Nose Picking Mechanisms

    promise-node-core

    1.0.2 • Public • Published

    NPM   Build Status

    promise-node-core

    Promise for all node core modules async functions

    © Pradeep Mishra, Licensed under the MIT-LICENSE

    Example usage

    var pnc = require('promise-node-core');
    var fs = pnc.require('fs');
    fs.readFile('./index.js').then(function(res){
        console.log(res);
    });
     
    var http = pnc.require('http');
    http.get("http://www.google.com/index.html").then(function(res) {
      console.log("Got response: " + res.statusCode);
    });
     
    npm install promise-node-core --save

    Install

    npm i promise-node-core

    DownloadsWeekly Downloads

    13

    Version

    1.0.2

    License

    MIT

    Last publish

    Collaborators

    • pradeepmishra