https://github.com/abi/node_util
Utilities that help you write Node programs and in particular, CLI scripts easily.
https://github.com/abi/node_util
Last synced: about 1 year ago
JSON representation
Utilities that help you write Node programs and in particular, CLI scripts easily.
- Host: GitHub
- URL: https://github.com/abi/node_util
- Owner: abi
- License: mit
- Created: 2011-09-18T05:35:32.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2011-09-18T05:41:53.000Z (over 14 years ago)
- Last Synced: 2025-03-10T09:09:02.903Z (over 1 year ago)
- Language: CoffeeScript
- Homepage:
- Size: 103 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
node_util
======
Utilities that help you write Node programs and in particular, CLI scripts easily.
Install
=======
`npm install node_util`
Usage
=====
In JavaScript,
```javascript
node_util = require('node_util').sync()
read = node_util.read
mv = node_util.mv
```
In Coffee, destructuring makes usage even more pleasant:
```coffee
{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