Balupton's Node.js Utility Functions
This project contains several utility functions used and maintained by Benjamin Lupton
What it provides
Take a look at its source file here
Installing
-
Install Node.js
-
Install it
npm install bal-util
Using
-
With Node.js in JavaScript
require('coffee-script');
util = require('bal-util');
-
With Node.js in CoffeeScript
util = require 'bal-util'
History
-
v0.8 November 2, 2011
- Considerable improvements to
scandir
, cpdir
and rmdir
- Note, passing
false
as the file or dir actions will now skip all of that type. Pass null
if you do not want that. dirAction
is now fired before we read the directories children, if you want it to fire after then in the next callback, pass a callback in the 3rd argument. See rmdir
for an example of this.
- Fixed npm web to url warnings
-
v0.7 October 3, 2011
- Added
versionCompare
and packageCompare
functions
-
v0.6 September 14, 2011
- Updated
util.Group
to support async
and sync
grouping
-
v0.4 June 2, 2011
- Added util.type for testing the type of a variable
- Added util.expandPath and util.expandPaths
-
v0.3 June 1, 2011
- Added util.Group class for your async needs :)
-
v0.2 May 20, 2011
- Added some tests with expresso
- util.scandir now returns err,list,tree
- Added util.writetree
-
v0.1 May 18, 2011
License
Licensed under the MIT License
Copyright 2011 Benjamin Arthur Lupton