New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@gatewayapps/nloop

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gatewayapps/nloop

``` Usage: nloop -n [num] -m -- <command to execute>

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
3
Created
Source

nloop

Usage: nloop -n [num] -m -- <command to execute>

Options:
  --help                      Show help                                [boolean]
  --version                   Show version number                      [boolean]
  -m, --Enable multi-thread                           [boolean] [default: false]
  -n, --Number of iterations                                          [required]

When multi-thread is enabled, it will create a process for each iteration immediately. Be careful with this option.

Example:

> nloop -n 5 -- echo "Hello, world!"
Hello, world!
Hello, world!
Hello, world!
Hello, world!
Hello, world!

> nloop -n 5 -- ntimer -s -u milliseconds curl www.google.com
 curl www.google.com  completed in 172 milliseconds
 curl www.google.com  completed in 172 milliseconds
 curl www.google.com  completed in 181 milliseconds
 curl www.google.com  completed in 173 milliseconds
 curl www.google.com  completed in 168 milliseconds

FAQs

Package last updated on 21 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts