New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ale

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ale - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

examples/empty

2

index.js
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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc