Require all nodes builtin modules (natives) in one go.
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
index.js
package.json
readme.md

readme.md

Require all nodes builtin modules (natives) in one go.

Features

  • no need to require each native separate anymore
  • all natives packed in one object
  • no namespace conflicts with natives in user code
  • no negative performance impacts if using it

Installation

$ npm install natives

Usage

var n = require('natives');

// now use any native method
n.path.join(__dirname, '..');