Comparing version 0.0.1 to 0.1.0
require('coffee-script'); | ||
module.exports = require('./lib/ale'); | ||
module.exports = require('./lib/main'); |
{ | ||
"name":"ale", | ||
"description":"logger -> lager -> ale", | ||
"version":"0.0.1", | ||
"description":"Utility belt with some list comprehension, type checking, and Functional Programming helpers.", | ||
"version":"0.1.0", | ||
"homepage":"http://github.com/TorchlightSoftware/ale", | ||
@@ -11,6 +11,6 @@ "repository":"git://github.com/TorchlightSoftware/ale.git", | ||
"dependencies":{ | ||
"colors":"*", | ||
"coffee-script":"*" | ||
}, | ||
"devDependencies":{ | ||
"mongodb":"*", | ||
"mocha":"*", | ||
@@ -17,0 +17,0 @@ "should":"*" |
# Ale | ||
Alternate Logging Environment | ||
What ails ya? Javascript got you down? | ||
## Features | ||
Here are some utility functions that will help. If this doesn't work, then you'd better start drinking for real. | ||
Supports colors and automatically runs inspect to infinite depth on all inputs. | ||
## Examples | ||
```javascript | ||
log = require('ale'); | ||
Curry works nicely with async: | ||
log.grey('stuff:'.blue, stuff); | ||
```coffee-script | ||
async.parallel { | ||
users: curry db.users.find, {name: 'Bob'} | ||
dogs: curry db.dogs.find, {name: 'Sharky'} | ||
log(deepNestedObject); | ||
}, (err, {users, dogs}) -> | ||
``` | ||
// {foo: {bar: {baz: 1}}} | ||
Tandoor is auto-curry: | ||
```coffee-script | ||
getUsers = tandoor (args, done) -> | ||
getDogs = tandoor (args, done) -> | ||
async.parallel { | ||
users: getUsers {name: 'Bob'} | ||
dogs: getDogs {name: 'Sharky'} | ||
}, (err, {users, dogs}) -> | ||
``` | ||
@@ -18,0 +31,0 @@ |
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
10437
1
9
2
56
3
- Removedcolors@*
- Removedcolors@1.4.0(transitive)