Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including npm-run-timer with all npm packages installed. Try it out:

var npmRunTimer = require("npm-run-timer")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

npm-run-timer v1.0.0

Timer wrapper for you npm scripts.

Npm-run-timer

This tool is a convenience wrapper for timing your npm scripts. From the command-line you can can call anything you would normally call with npm with npm-run-timer. When the script is finished, the runtime will be logged at the bottom of the console.

Examples:

npm-run-timer run translations
npm-run-timer test

Output:

npm runtime: 1.67 minutes

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free