Skip to content

kolodny/toolz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

toolz

npm version npm downloads

Various bash utilities for starting servers.

Installation

npm install -g toolz

Usage

toolz tee <file>

Tee the input to stdout and a file, without ansi escape codes.

Example:

some-command | toolz tee output.log

toolz port <ports>

Get an available port.

<ports> can be a single port, a range of ports, or a comma-separated list of ports.

Examples:

toolz port 8080
toolz port 8080-8090
toolz port 8080,8081,8082

toolz wait <resources...>

Wait for resources to become available. This is a wrapper around the wait-on package.

Example:

toolz wait file:./path/to/file.txt http://localhost:8080

This is equivalent to:

wait-on file:./path/to/file.txt http://localhost:8080

toolz concur <commands...>

Run commands concurrently. This is a wrapper around the concurrently package.

Example:

toolz concur "npm run server" "npm run client"

This is equivalent to:

concurrently "npm run server" "npm run client"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published