1.0.6 • Published 3 years ago

axl-node-toolbox v1.0.6

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

axl-node-toolbox

ultra light node utilities and snippets toolbox

js-doc provided

LocalHost

example one-liner to serve dir

await new LocalHost('test-host').setHostingDir('./public').run(8080);

  • supports port-sets and port ranges
  • integrated with graceLog
  • utilizes node express, allows passing express static options
  • instance returns - suitable for chaining
  • open for extension, closed for modifications ;)

Ports

All you need to play with ports. Uses sockets for optimal performance

  • getFreePort
  • getFreePortFromSet
  • isPortFree

Various

  • cmd - call / execute shell script by string and wait for result
1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago