About

Package loading time in NodeJs by Tiago Danin.


Require Benchmark

Travis Downloads Node Version XO code style

Package loading time in NodeJs

Installation

Module available through the npm registry. It can be installed using the npm or yarn command line tools.

# NPM
npm install require-benchmark --save
# Or Using Yarn
yarn add require-benchmark

Example

// eslint-disable-next-line import/no-unassigned-import
require('require-benchmark') // First import
const fs = require('fs')
const path = require('path')

fs.readFileSync(path.resolve('package.json')).toString()

Tests

To run the test suite, first install the dependencies, then run test:

# NPM
npm test
# Or Using Yarn
yarn test

Dependencies

None

Dev Dependencies

Contributors

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue. List of all contributors.

License

MIT © Tiago Danin


JavaScript

3