Skip to content
/ node_util Public

Utilities that help you write Node programs and in particular, CLI scripts easily.

License

Notifications You must be signed in to change notification settings

abi/node_util

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node_util

Utilities that help you write Node programs and in particular, CLI scripts easily.

Install

npm install node_util

Usage

In JavaScript,

node_util = require('node_util').sync()
read = node_util.read
mv   = node_util.mv

In Coffee, destructuring makes usage even more pleasant:

{mv, read, rm_r, get}  = require('node_util').sync()

See examples/example.coffee for more.

TODO

  • Add async() that returns the async version of everything
  • Helper for mkdir -p
  • Helper for running something in the current TTY
  • Interactive examples (maybe in a browser)
  • Write out the goals for this project

About

Utilities that help you write Node programs and in particular, CLI scripts easily.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published