New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

requirep

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

requirep

Converts callback-based functions in Node.js built-in modules to Promises

latest
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

requirep

Converts callback-based functions in Node.js built-in modules to Promises.

var requirep = require('requirep');
var fs = requirep('fs');

fs.readFile('filename', 'utf8')
  .then(/*...*/);

License

(The MIT License)

Copyright (c) 2014 Po-Ying Chen <poying.me@gmail.com>.

Keywords

promise

FAQs

Package last updated on 17 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts