@gatewayapps/ntimer

1.1.0 • Public • Published

ntimer

Time the execution of a command

Usage: ntimer -s <command to time>

Options:
  --help                              Show help                        [boolean]
  --version                           Show version number              [boolean]
  -s, --Suppress output from command                  [boolean] [default: false]
  -u, --Units of time
      [choices: "milliseconds", "seconds", "minutes", "hours", "days"] [default:
                                                                      "seconds"]

Example

> ntimer -s -u milliseconds curl www.google.com
curl www.google.com  completed in 186 milliseconds

> ntimer -s -u seconds curl www.github.com
curl www.github.com  completed in 0.251 seconds

Readme

Keywords

none

Package Sidebar

Install

npm i @gatewayapps/ntimer

Weekly Downloads

2

Version

1.1.0

License

ISC

Unpacked Size

23.7 kB

Total Files

11

Last publish

Collaborators

  • danielgary
  • johnmurphy01
  • justinneff