0.1.1 • Published 13 years ago
buildtools v0.1.1
buildtools
A noseful of utilities for Coke/Cake/Jake files.
API
Standard Library Modules
fspathdirnamebasenameextnameresolverelativenormalizejoinasjoinPathexistsSyncasexists
- child_process:
spawnexec
Third Party
- underscore:
underscore,u,_,__ - underscore.string:
_.str,_.mixin _.str.exports() - node-seq:
Seq - eyes:
eyesinspectorinspect
- colors:
colors - cli-table:
Table - glob:
glob - commondir:
commondir
Helpers
Logging
print(...args)-- write to stdout without newline.say(...args)=out-- write to stdout and append newline.
Shell & Subprocess
sh(cmd, [cb]) -> voidrun(cmd, args=[], options={}) -> Processcoco(args, options) -> Process
Development
minifycssminbundlebundle_jsbundle_cssgetVersionwriteVersionFile
Paths & Files
- read = slurp = fs.readFileSync
- write = spit = fs.writeFileSync
- remove = rm = removeSync
- removeAsync
- ls = dir = fs.readdirSync
- expand
- isFile = isFileSync
- isFileAsync
- isDirectory = isDirectorySync
- isDirectoryAsync
- mkdirp = mkdirpSync
- mkdirpAsync
- sourceFiles
- glob
- commondir
0.1.1
13 years ago