Package loading time in NodeJs by Tiago Danin.
Package loading time in NodeJs
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
// 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()
To run the test suite, first install the dependencies, then run test
:
# NPM
npm test
# Or Using Yarn
yarn test
None
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue. List of all contributors.
JavaScript
3