Comparing version 0.1.4 to 0.1.5
@@ -0,1 +1,3 @@ | ||
#0.1.5/2012-08-26 | ||
* Changed middleware plugin to error properly | ||
@@ -2,0 +4,0 @@ #0.1.4/2012-08-20 |
@@ -59,3 +59,3 @@ var func = require("./functions"), | ||
* | ||
* @param {Object} obj the object in which the method you are connection to resides | ||
* @param {Object} obj the object in which the method you are connecting to resides | ||
* @param {String} method the name of the method to connect to | ||
@@ -62,0 +62,0 @@ * @param {Function} cb the function to callback |
@@ -1009,3 +1009,3 @@ var string = require("./string").string; | ||
* | ||
* @return {Date} a date with the number of monts subtracted | ||
* @return {Date} a date with the number of months subtracted | ||
*/ | ||
@@ -1017,3 +1017,3 @@ comb.monthsAgo = function (val) { | ||
/** | ||
* Adds the specified days/s to the current date. | ||
* Adds the specified day/s to the current date. | ||
* | ||
@@ -1029,3 +1029,3 @@ * @param {Number} val the number of days to add | ||
/** | ||
* Subtracts the specified days/s from the current date. | ||
* Subtracts the specified day/s from the current date. | ||
* | ||
@@ -1065,3 +1065,3 @@ * @param {Number} val the number of days to subtract | ||
/** | ||
* Adds the specified minutes/s to the current date. | ||
* Adds the specified minute/s to the current date. | ||
* | ||
@@ -1078,3 +1078,3 @@ * @param {Number} val the number of minutes to add | ||
/** | ||
* Subtracts the specified minutes/s from the current date. | ||
* Subtracts the specified minute/s from the current date. | ||
* | ||
@@ -1103,3 +1103,3 @@ * @param {Number} val the number of minutes to subtract | ||
/** | ||
* Subtracts the specified seconds/s from the current date. | ||
* Subtracts the specified second/s from the current date. | ||
* | ||
@@ -1106,0 +1106,0 @@ * @param {Number} val the number of seconds to subtract |
@@ -52,3 +52,3 @@ var comb = exports; | ||
* Binds a method to a particular scope ignoring any new arguments passed | ||
* into the functuion. This useful if you want to force particular arguments and | ||
* into the function. This is useful if you want to force particular arguments and | ||
* ignore any new ones | ||
@@ -79,3 +79,3 @@ * | ||
* Binds a method to a particular scope ignoring any new arguments passed | ||
* into the functuion. This useful if you want to force particular arguments and | ||
* into the function. This is useful if you want to force particular arguments and | ||
* ignore any new ones | ||
@@ -82,0 +82,0 @@ * |
@@ -125,3 +125,3 @@ var comb = exports, | ||
* | ||
* @param {Anything} obj the thing to test if it and instnace of a class | ||
* @param {Anything} obj the thing to test if it and instance of a class | ||
* @param {Object} Clazz used to determine if the object is an instance of | ||
@@ -163,3 +163,3 @@ * | ||
/** | ||
* Adds listeners to process.exit with out having to change setMaxListeners useful if you | ||
* Adds listeners to process.exit without having to change setMaxListeners useful if you | ||
* are writing a library and do not want to change core setting. | ||
@@ -166,0 +166,0 @@ * |
@@ -237,3 +237,3 @@ var comb = exports, | ||
/** | ||
* Determins if an object is just a hash and not a qualified Object such as number | ||
* Determines if an object is just a hash and not a qualified Object such as Number | ||
* | ||
@@ -284,3 +284,3 @@ * @example | ||
/** | ||
* Determines if an two things are deep equal. | ||
* Determines if two things are deep equal. | ||
* | ||
@@ -287,0 +287,0 @@ * @example |
@@ -245,3 +245,3 @@ /** | ||
* <ul> | ||
* <li>as(module | bject, name): exports the object to module or the object with the name</li> | ||
* <li>as(module | object, name): exports the object to module or the object with the name</li> | ||
* <li>mixin(mixin) : mixes in an object</li> | ||
@@ -248,0 +248,0 @@ * </ul> |
237
lib/index.js
@@ -16,201 +16,64 @@ var base = require("./base"); | ||
* | ||
* <h1>Comb</h1> | ||
* #Comb | ||
* | ||
* <h2>Overview</h2> | ||
* ##Overview | ||
* | ||
* <p>Framework for node that provides a one stop shop for frequently needed utilities, including:</p> | ||
* Framework for node that provides a one stop shop for frequently needed utilities, including: | ||
* | ||
* <ul> | ||
* <li>OO utilties</li> | ||
* <li>Collections</li> | ||
* <li>Logging</li> | ||
* <li>String & date formatting</li> | ||
* <li>Flow control</li> | ||
* <li>Date Management</li> | ||
* </ul> | ||
* * [OO utilties](./define.html) | ||
* * Collections | ||
* * [Logging](./logging.html) | ||
* * [String & date formatting](./utilities) | ||
* * [Flow control](./promise.html) | ||
* | ||
* | ||
* <p>See Usage for more details.</p> | ||
* ##Installation | ||
* | ||
* <h2>Installation</h2> | ||
* `npm install comb` | ||
* | ||
* <pre><code>npm install comb | ||
* </code></pre> | ||
* ##Highlights | ||
* | ||
* <h2>Why?</h2> | ||
* * 100% test coverage! | ||
* * comb([define](./comb.html#.define)|[singleton](./comb.html#.singleton)) | ||
* * The backbone of comb. | ||
* * Options for classical inheritance models as well as mixins(pseudo multi-inheritance) | ||
* * You can call this._super from any method. Including statically defined ones! | ||
* * Access to your class level properties within an instance | ||
* * Logging | ||
* * Logger inheritance through name spaces | ||
* * Predefined [level](./comb_logging_Level.html) level definition along with the ability to define your own. | ||
* * Multiple appenders including | ||
* * [FileAppender](./comb_logging_appenders_FileAppender.html) - log it to a file | ||
* * [RollingFileAppender](./comb_logging_appenders_RollingFileAppender.html) - log it to a file up to a customizable size then create a new one. | ||
* * [JSONAppender](./comb_logging_appenders_JSONAppender.html) - write it out as JSON to a file. | ||
* * [ConsoleAppender](./comb_logging_appenders_ConsoleAppender.html)- log it to the console | ||
* * Configurable with [files OR programatically](./comb_logger.html#.configure) | ||
* * Collections | ||
* * [RedBlackTree](./comb_collections_RedBlackTree.html) | ||
* * [AVLTree](./comb_collections_AVLTree.html) | ||
* * [AnderssonTree](./comb_collections_AnderssonTree.html) | ||
* * [BinaryTree](./comb_collections_BinaryTree.html) | ||
* * [HashTable](./comb_collections_HashTable.html) | ||
* * [MaxHeap](./comb_collections_MaxHeap.html) | ||
* * [MinHeap](./comb_collections_MinHeap.html) | ||
* * [Pool](./comb_collections_Pool.html) | ||
* * [PriorityQueue](./comb_collections_PriorityQueue.html) | ||
* * [Queue](./comb_collections_Queue.html) | ||
* * [Stack](./comb_collections_Stack.html) | ||
* | ||
* <p>If your like us its fun to find new modules to use but often wish you didn’t have to sift through NPM registry | ||
* or the node modules page to find what you need.</p> | ||
* * [Flow control](./promise.html) | ||
* * [Promises](./comb_Promise.html) | ||
* * [PromiseList](./comb_PromiseList.html) | ||
* * [comb.when](./comb.html#.when) | ||
* * [comb.serial](./comb.html#.serial) | ||
* | ||
* <p> So….</p> | ||
* @footer | ||
* ##License | ||
* | ||
* <p>We created a library of things we use often, or commons utilities that are used by our other APIs.</p> | ||
* MIT <https://github.com/Pollenware/comb/raw/master/LICENSE> | ||
* | ||
* <h2>Highlights</h2> | ||
* | ||
* <ul> | ||
* <li>> 99% test coverage! And we’re always adding more!</li> | ||
* <li>comb(<a href="./comb.html#.define">define</a>|<a | ||
* href="./comb.html#.singleton">singleton</a>) | ||
* | ||
* <ul> | ||
* <li>The back bone of comb.</li> | ||
* <li>Options for classical inheritance models as well as mixins(pseudo multi-inheritance)</li> | ||
* <li>You can call this._super from any method. Including statically defined ones!</li> | ||
* <li>Access to you class level properties within an instance</li> | ||
* <li>And <a href="./comb.html#.define">much more…</a></li> | ||
* </ul> | ||
* </li> | ||
* <li>Logging | ||
* | ||
* <ul> | ||
* <li><a href="http://pollenware.github.com/comb_logging_Logger.html">Powerful logging API!</a></li> | ||
* <li>Logger inheritance through name spaces</li> | ||
* <li><a href="./comb_logging_Level.html">Predefined level definition along | ||
* with the ability to define your own.</a></li> | ||
* <li>Multiple appenders including | ||
* | ||
* <ul> | ||
* <li><a href="./comb_logging_appenders_FileAppender.html">FileAppender</a> | ||
* - log it to a file | ||
* </li> | ||
* <li><a href="./comb_logging_appenders_RollingFileAppender.html">RollingFileAppender</a> | ||
* - log it to a file up to a customizable size then create a new one! | ||
* </li> | ||
* <li><a href="./comb_logging_appenders_JSONAppender.html">JSONAppender</a> | ||
* - write it out as JSON to a file. | ||
* </li> | ||
* <li><a href="./comb_logging_appenders_ConsoleAppender.html">ConsoleAppender</a> | ||
* - log it to the console | ||
* </li> | ||
* </ul> | ||
* </li> | ||
* <li>All appenders can be using with custom levels, separately, or all together.</li> | ||
* <li>Configurable with <a href="./comb_logging_BasicConfigurator.html">files | ||
* OR programatically</a></li> | ||
* </ul> | ||
* </li> | ||
* <li>Collections | ||
* | ||
* <ul> | ||
* <li><a href="./comb_collections_RedBlackTree.html">RedBlackTree</a>, <a | ||
* href="./comb_collections_AVLTree.html">AVLTree</a>, <a | ||
* href="./comb_collections_AnderssonTree.html">AnderssonTree</a>, <a | ||
* href="./comb_collections_BinaryTree.html">BinaryTree</a>, <a | ||
* href="./comb_collections_HashTable.html">HashTable</a>, <a | ||
* href="./comb_collections_MaxHeap.html">MaxHeap</a>, <a | ||
* href="./comb_collections_MinHeap.html">MinHeap</a>, <a | ||
* href="./comb_collections_Pool.html">Pool</a>, <a | ||
* href="./comb_collections_PriorityQueue.html">PriorityQueue</a>, <a | ||
* href="./comb_collections_Queue.html">Queue</a>, <a | ||
* href="./comb_collections_Stack.html">Stack</a></li> | ||
* </ul> | ||
* </li> | ||
* <li>Flow control | ||
* | ||
* <ul> | ||
* <li><a href="./comb_Promise.html">Promises</a></li> | ||
* <li><a href="./comb.PromiseList.html">PromiseLists</a></li> | ||
* </ul> | ||
* </li> | ||
* <li><a href="./comb.html">Tell me more!</a></li> | ||
* </ul> | ||
* | ||
* | ||
* <h2>Usage</h2> | ||
* | ||
* <ul> | ||
* <li>OO system | ||
* | ||
* <ul> | ||
* <li><a href="./comb.html#.define">define</a></li> | ||
* <li><a href="./comb.html#.singleton">singleton</a></li> | ||
* </ul> | ||
* </li> | ||
* <li>Collections | ||
* | ||
* <ul> | ||
* <li><a href="./comb_collections_RedBlackTree.html">RedBlackTree</a></li> | ||
* <li><a href="./comb_collections_AVLTree.html">AVLTree</a></li> | ||
* <li><a href="./comb_collections_AnderssonTree.html">AnderssonTree</a></li> | ||
* <li><a href="./comb_collections_BinaryTree.html">BinaryTree</a></li> | ||
* <li><a href="./comb_collections_HashTable.html">HashTable</a></li> | ||
* <li><a href="./comb_collections_MaxHeap.html">MaxHeap</a></li> | ||
* <li><a href="./comb_collections_MinHeap.html">MinHeap</a></li> | ||
* <li><a href="./comb_collections_Pool.html">Pool</a></li> | ||
* <li><a href="./comb_collections_PriorityQueue.html">PriorityQueue</a></li> | ||
* <li><a href="./comb_collections_Queue.html">Queue</a></li> | ||
* <li><a href="./comb_collections_Stack.html">Stack</a></li> | ||
* </ul> | ||
* </li> | ||
* <li>Logging | ||
* | ||
* <ul> | ||
* <li><a href="./comb_logging_Logger.html">Logger</a></li> | ||
* <li><a href="./comb_logging_Level.html">Level</a></li> | ||
* <li>Appenders | ||
* | ||
* <ul> | ||
* <li><a href="./comb_logging_appenders_Appender.html">Appender</a> | ||
* </li> | ||
* <li><a href="./comb_logging_appenders_ConsoleAppender.html">ConsoleAppender</a> | ||
* </li> | ||
* <li><a href="./comb_logging_appenders_FileAppender.html">FileAppender</a> | ||
* </li> | ||
* <li><a href="./comb_logging_appenders_JSONAppender.html">JSONAppender</a> | ||
* </li> | ||
* <li><a href="./comb_logging_appenders_RollingFileAppender.html">RollingFileAppender</a> | ||
* </li> | ||
* </ul> | ||
* </li> | ||
* <li>Configurators | ||
* | ||
* <ul> | ||
* <li><a href="./comb_logging_BasicConfigurator.html">BasicConfigurator</a> | ||
* </li> | ||
* <li><a href="./comb_logging_PropertyConfigurator.html">PropertyConfigurator</a> | ||
* </li> | ||
* </ul> | ||
* </li> | ||
* </ul> | ||
* </li> | ||
* <li>Plugins for objects defined with comb | ||
* | ||
* <ul> | ||
* <li><a href="./comb_plugins_Broadcaster.html">Broadcaster</a></li> | ||
* <li><a href="./comb_plugins_Middleware.html">Middleware </a></li> | ||
* </ul> | ||
* </li> | ||
* <li><a href="./comb.Promise.html">Promises</a></li> | ||
* <li><a href="./comb.PromiseList.html">PromiseLists</a></li> | ||
* <li>Utilities | ||
* | ||
* <ul> | ||
* <li><a href="./comb.html">comb</a></li> | ||
* <li><a href="./comb_array.html">Array</a></li> | ||
* <li><a href="./comb_date.html">Date</a></li> | ||
* <li><a href="./comb_number.html">Number</a></li> | ||
* <li><a href="./comb_regexp.html">Regexp</a></li> | ||
* <li><a href="./comb_string.html">String</a></li> | ||
* <li><a href="./comb_characters.html">Characters</a></li> | ||
* </ul> | ||
* </li> | ||
* </ul> | ||
* | ||
* | ||
* <h2>License</h2> | ||
* | ||
* <p>MIT <a href="https://github.com/Pollenware/comb/raw/master/LICENSE">https://github.com/Pollenware/comb/raw/master/LICENSE</a> | ||
* </p> | ||
* | ||
* <h2>Meta</h2> | ||
* | ||
* <ul> | ||
* <li>Code: <code>git clone git://github.com/Pollenware/comb.git</code></li> | ||
* <li>JsDoc: <a href="http://pollenware.github.com/comb">http://pollenware.github.com/comb</a></li> | ||
* <li>Website: <a href="http://pollenware.com">http://pollenware.com</a> - Twitter: <a | ||
* href="http://twitter.com/pollenware">http://twitter.com/pollenware</a> - 877.465.4045 | ||
* </li> | ||
* </ul> | ||
* | ||
* ##Meta | ||
* * Code: `git clone git://github.com/Pollenware/comb.git` | ||
* * Website: <http://pollenware.com> | ||
* * Twitter: [http://twitter.com/pollenware](http://twitter.com/pollenware) - 877.465.4045 | ||
*/ | ||
@@ -217,0 +80,0 @@ |
@@ -76,14 +76,18 @@ var func = require("../base/functions"), | ||
var count = 0; | ||
var next = func.hitch(this, function () { | ||
process.nextTick(func.hitch(this, function () { | ||
//if Ive looped through all of them callback | ||
if (count == length) { | ||
promise.callback(); | ||
} else { | ||
//call next | ||
var nextArgs = args.slice(0); | ||
nextArgs.unshift(next); | ||
funcs[count++].apply(this, nextArgs); | ||
} | ||
})); | ||
var next = func.hitch(this, function (err) { | ||
if (err) { | ||
promise.errback(err); | ||
} else { | ||
process.nextTick(func.hitch(this, function () { | ||
//if Ive looped through all of them callback | ||
if (count == length) { | ||
promise.callback(); | ||
} else { | ||
//call next | ||
var nextArgs = args.slice(0); | ||
nextArgs.unshift(next); | ||
funcs[count++].apply(this, nextArgs); | ||
} | ||
})); | ||
} | ||
}); | ||
@@ -90,0 +94,0 @@ next(); |
@@ -24,28 +24,27 @@ var hitch = require("./base/functions").hitch, | ||
/** | ||
* Promise object used for handling a thread | ||
*@example | ||
* var myFunc = function(){ | ||
* var promise = new Promise(); | ||
* //callback the promise after 10 Secs | ||
* setTimeout(hitch(promise, "callback"), 10000); | ||
* return promise; | ||
* } | ||
* var myFunc2 = function(){ | ||
* var promises =[]; | ||
* for(var i = 0; i < 10; i++){ | ||
* promises.push(myFunc); | ||
* } | ||
* //create a new promise list with all 10 promises | ||
* return new PromiseList(promises); | ||
* } | ||
* Promise object used to provide seperation of success and error resolution paths for async operations. | ||
* | ||
* myFunc.then(do something...) | ||
* myFunc.addCallback(do something...) | ||
* myFunc.chain(myfunc).then(do something...) | ||
* myFunc.chain(myfunc).addCallback(do something...) | ||
* @example | ||
* var myFunc = function(){ | ||
* var promise = new Promise(); | ||
* //callback the promise after 10 Secs | ||
* setTimeout(hitch(promise, "callback"), 10000); | ||
* return promise.promise(); | ||
* } | ||
* var myFunc2 = function(){ | ||
* var promises =[]; | ||
* for(var i = 0; i < 10; i++){ | ||
* promises.push(myFunc); | ||
* } | ||
* //create a new promise list with all 10 promises | ||
* return new PromiseList(promises).promise(); | ||
* } | ||
* | ||
* myFunc2.then(do something...) | ||
* myFunc2.addCallback(do something...) | ||
* myFunc2.chain(myfunc).then(do something...) | ||
* myFunc2.chain(myfunc).addCallback(do something...) | ||
* myFunc.then(function(success){}, function(error){}) | ||
* //chain promise operations | ||
* myFunc.chain(myfunc).then(function(success){}, function(error){}) | ||
* | ||
* myFunc2.then(function(success){}, function(error){}) | ||
* //chain promise operations | ||
* myFunc2.chain(myfunc).then(function(success){}, function(error){}) | ||
* @constructs | ||
@@ -365,24 +364,28 @@ */ | ||
/** | ||
* PromiseList object used for handling a list of Promises | ||
* | ||
* PromiseList object used for handling a list of Promises | ||
* @example var myFunc = function(){ | ||
* var promise = new Promise(); | ||
* //callback the promise after 10 Secs | ||
* setTimeout(hitch(promise, "callback"), 10000); | ||
* return promise; | ||
* } | ||
* var myFunc2 = function(){ | ||
* var promises =[]; | ||
* for(var i = 0; i < 10; i++){ | ||
* promises.push(myFunc); | ||
* } | ||
* //create a new promise list with all 10 promises | ||
* return new PromiseList(promises); | ||
* } | ||
* var pl = new comb.PromiseList([myFunc(), myFunc2()]); | ||
* pl.then(do something...) | ||
* pl.addCallback(do something...) | ||
* pl.chain(myfunc).then(do something...) | ||
* pl.chain(myfunc).addCallback(do something...) | ||
* @example | ||
* var myFunc = function(){ | ||
* var promise = new Promise(); | ||
* //callback the promise after 10 Secs | ||
* setTimeout(hitch(promise, "callback"), 10000); | ||
* return promise.promise(); | ||
* } | ||
* var myFunc2 = function(){ | ||
* var promises =[]; | ||
* for(var i = 0; i < 10; i++){ | ||
* promises.push(myFunc); | ||
* } | ||
* //create a new promise list with all 10 promises | ||
* return new PromiseList(promises).promise(); | ||
* } | ||
* | ||
* myFunc.then(function(success){}, function(error){}) | ||
* //chain promise operations | ||
* myFunc.chain(myfunc).then(function(success){}, function(error){}) | ||
* | ||
* myFunc2.then(function(success){}, function(error){}) | ||
* //chain promise operations | ||
* myFunc2.chain(myfunc).then(function(success){}, function(error){}) | ||
* | ||
* @param {comb.Promise[]} [defs=[]] the list of promises | ||
@@ -667,4 +670,4 @@ * @constructs | ||
when(base.isFunction(item) ? item() : item).then( | ||
base.partial(callNextSuccess, list, index, results, isErrored, ret), | ||
base.partial(callNextError, index, results, isErrored, ret)); | ||
callNextSuccess.bind(null, list, index, results, isErrored, ret), | ||
callNextError.bind(null, index, results, isErrored, ret)); | ||
} catch (e) { | ||
@@ -671,0 +674,0 @@ ret.errback(e); |
{ | ||
"name": "comb", | ||
"description": "A framework for node", | ||
"version": "0.1.4", | ||
"keywords" : ["OO", "Object Oriented", "Collections", "Tree", "HashTable", "Pool", "Logging", "Promise", "Promises", "Proxy"], | ||
"repository": { | ||
"type": "git", | ||
"url": "git@github.com:Pollenware/comb.git" | ||
"name":"comb", | ||
"description":"A framework for node", | ||
"version":"0.1.5", | ||
"keywords":["OO", "Object Oriented", "Collections", "Tree", "HashTable", "Pool", "Logging", "Promise", "Promises", "Proxy"], | ||
"repository":{ | ||
"type":"git", | ||
"url":"git@github.com:Pollenware/comb.git" | ||
}, | ||
"homepage": "http://pollenware.github.com/comb/symbols/comb.html", | ||
"author": "Pollenware (http://pollenware.github.com)", | ||
"main": "index.js", | ||
"directories": { | ||
"lib": "lib" | ||
"homepage":"http://pollenware.github.com/comb/", | ||
"author":"Pollenware (http://pollenware.github.com)", | ||
"main":"index.js", | ||
"directories":{ | ||
"lib":"lib" | ||
}, | ||
"engines": { | ||
"node": ">= 0.6.1" | ||
"engines":{ | ||
"node":">= 0.6.1" | ||
} | ||
} |
158
README.md
#Comb | ||
###NOTE: v0.1.1 removed proxy code out of core see [comb-proxy](http://github.com/Pollenware/comb-proxy) | ||
##Overview | ||
Framework for node that provides a one stop shop for frequently needed utilities, including: | ||
* OO utilties | ||
* Collections | ||
* Logging | ||
* String & date formatting | ||
* Flow control | ||
* Date Management | ||
See Usage for more details. | ||
## Installation | ||
npm install comb | ||
##Why? | ||
If your like us its fun to find new modules to use but often wish you didn't have to sift through NPM registry or the node modules page to find what you need. | ||
So.... | ||
We created a library of things we use often, or commons utilities that are used by our other APIs. | ||
##Highlights | ||
* > 99% test coverage! And we're always adding more! | ||
* comb([define](http://pollenware.github.com/comb/comb.html#.define)|[singleton](http://pollenware.github.com/comb/comb.html#.singleton)) | ||
* The back bone of comb. | ||
* Options for classical inheritance models as well as mixins(pseudo multi-inheritance) | ||
* You can call this._super from any method. Including statically defined ones! | ||
* Access to you class level properties within an instance | ||
* And [much more...](http://pollenware.github.com/comb/comb.html#.define) | ||
* Logging | ||
* [Powerful logging API!](http://pollenware.github.com/comb_logging_Logger.html) | ||
* Logger inheritance through name spaces | ||
* [Predefined level definition along with the ability to define your own.](http://pollenware.github.com/comb/comb_logging_Level.html) | ||
* Multiple appenders including | ||
* [FileAppender](http://pollenware.github.com/comb/comb_logging_appenders_FileAppender.html) - log it to a file | ||
* [RollingFileAppender](http://pollenware.github.com/comb/comb_logging_appenders_RollingFileAppender.html) - log it to a file up to a customizable size then create a new one! | ||
* [JSONAppender](http://pollenware.github.com/comb/comb_logging_appenders_JSONAppender.html) - write it out as JSON to a file. | ||
* [ConsoleAppender](http://pollenware.github.com/comb/comb_logging_appenders_ConsoleAppender.html) - log it to the console | ||
* All appenders can be using with custom levels, separately, or all together. | ||
* Configurable with [files OR programatically](http://pollenware.github.com/comb/comb_logging_BasicConfigurator.html) | ||
* Collections | ||
* [RedBlackTree](http://pollenware.github.com/comb/comb_collections_RedBlackTree.html), [AVLTree](http://pollenware.github.com/comb/comb_collections_AVLTree.html), [AnderssonTree](http://pollenware.github.com/comb/comb_collections_AnderssonTree.html), [BinaryTree](http://pollenware.github.com/comb/comb_collections_BinaryTree.html), [HashTable](http://pollenware.github.com/comb/comb_collections_HashTable.html), [MaxHeap](http://pollenware.github.com/comb/comb_collections_MaxHeap.html), [MinHeap](http://pollenware.github.com/comb/comb_collections_MinHeap.html), [Pool](http://pollenware.github.com/comb/comb_collections_Pool.html), [PriorityQueue](http://pollenware.github.com/comb/comb_collections_PriorityQueue.html), [Queue](http://pollenware.github.com/comb/comb_collections_Queue.html), [Stack](http://pollenware.github.com/comb/comb_collections_Stack.html) | ||
* Flow control | ||
* [Promises](http://pollenware.github.com/comb/comb_Promise.html) | ||
* [PromiseLists](http://pollenware.github.com/comb/comb_PromiseList.html) | ||
* [Tell me more!](http://pollenware.github.com/comb/comb.html) | ||
##Usage | ||
* OO system | ||
* [define](http://pollenware.github.com/comb/comb.html#.define) | ||
* [singleton](http://pollenware.github.com/comb/comb.html#.singleton) | ||
* Collections | ||
* [RedBlackTree](http://pollenware.github.com/comb/comb_collections_RedBlackTree.html) | ||
* [AVLTree](http://pollenware.github.com/comb/comb_collections_AVLTree.html) | ||
* [AnderssonTree](http://pollenware.github.com/comb/comb_collections_AnderssonTree.html) | ||
* [BinaryTree](http://pollenware.github.com/comb/comb_collections_BinaryTree.html) | ||
* [HashTable](http://pollenware.github.com/comb/comb_collections_HashTable.html) | ||
* [MaxHeap](http://pollenware.github.com/comb/comb_collections_MaxHeap.html) | ||
* [MinHeap](http://pollenware.github.com/comb/comb_collections_MinHeap.html) | ||
* [Pool](http://pollenware.github.com/comb/comb_collections_Pool.html) | ||
* [PriorityQueue](http://pollenware.github.com/comb/comb_collections_PriorityQueue.html) | ||
* [Queue](http://pollenware.github.com/comb/comb_collections_Queue.html) | ||
* [Stack](http://pollenware.github.com/comb/comb_collections_Stack.html) | ||
* Logging | ||
* [Logger](http://pollenware.github.com/comb/comb_logging_Logger.html) | ||
* [Level](http://pollenware.github.com/comb/comb_logging_Level.html) | ||
* Appenders | ||
* [Appender](http://pollenware.github.com/comb/comb_logging_appenders_Appender.html) | ||
* [ConsoleAppender](http://pollenware.github.com/comb/comb_logging_appenders_ConsoleAppender.html) | ||
* [FileAppender](http://pollenware.github.com/comb/comb_logging_appenders_FileAppender.html) | ||
* [JSONAppender](http://pollenware.github.com/comb/comb_logging_appenders_JSONAppender.html) | ||
* [RollingFileAppender](http://pollenware.github.com/comb/comb_logging_appenders_RollingFileAppender.html) | ||
* Configurators | ||
* [BasicConfigurator](http://pollenware.github.com/comb/comb_logging_BasicConfigurator.html) | ||
* [PropertyConfigurator](http://pollenware.github.com/comb/comb_logging_PropertyConfigurator.html) | ||
* Plugins for objects defined with comb | ||
* [Broadcaster](http://pollenware.github.com/comb/comb_plugins_Broadcaster.html) | ||
* [Middleware ](http://pollenware.github.com/comb/comb_plugins_Middleware.html) | ||
* [Promises](http://pollenware.github.com/comb/comb_Promise.html) | ||
* [PromiseLists](http://pollenware.github.com/comb/comb_PromiseList.html) | ||
* Utilities | ||
* [comb](http://pollenware.github.com/comb/comb.html) | ||
* [Array](http://pollenware.github.com/comb/comb_array.html) | ||
* [Date](http://pollenware.github.com/comb/comb_date.html) | ||
* [Number](http://pollenware.github.com/comb/comb_number.html) | ||
* [Regexp](http://pollenware.github.com/comb/comb_regexp.html) | ||
* [String](http://pollenware.github.com/comb/comb_string.html) | ||
* [Characters](http://pollenware.github.com/comb/comb_characters.html) | ||
##Overview | ||
Framework for node that provides a one stop shop for frequently needed utilities, including: | ||
* [OO utilties](http://pollenware.github.com/comb/define.html) | ||
* Collections | ||
* [Logging](http://pollenware.github.com/comb/logging.html) | ||
* [String & date formatting](http://pollenware.github.com/comb/utilities) | ||
* [Flow control](http://pollenware.github.com/comb/promise.html) | ||
##Installation | ||
`npm install comb` | ||
##Highlights | ||
* 100% test coverage! | ||
* comb([define](http://pollenware.github.com/comb/comb.html#.define)|[singleton](http://pollenware.github.com/comb/comb.html#.singleton)) | ||
* The backbone of comb. | ||
* Options for classical inheritance models as well as mixins(pseudo multi-inheritance) | ||
* You can call this._super from any method. Including statically defined ones! | ||
* Access to your class level properties within an instance | ||
* [Logging](http://pollenware.github.com/comb/logging.html) | ||
* Logger inheritance through name spaces | ||
* Predefined [level](http://pollenware.github.com/comb/comb_logging_Level.html) level definition along with the ability to define your own. | ||
* Multiple appenders including | ||
* [FileAppender](http://pollenware.github.com/comb/comb_logging_appenders_FileAppender.html) - log it to a file | ||
* [RollingFileAppender](http://pollenware.github.com/comb/comb_logging_appenders_RollingFileAppender.html) - log it to a file up to a customizable size then create a new one. | ||
* [JSONAppender](http://pollenware.github.com/comb/comb_logging_appenders_JSONAppender.html) - write it out as JSON to a file. | ||
* [ConsoleAppender](http://pollenware.github.com/comb/comb_logging_appenders_ConsoleAppender.html)- log it to the console | ||
* Configurable with [files OR programatically](http://pollenware.github.com/comb/comb_logger.html#.configure) | ||
* Collections | ||
* [RedBlackTree](http://pollenware.github.com/comb/comb_collections_RedBlackTree.html) | ||
* [AVLTree](http://pollenware.github.com/comb/comb_collections_AVLTree.html) | ||
* [AnderssonTree](.http://pollenware.github.com/combcomb_collections_AnderssonTree.html) | ||
* [BinaryTree](http://pollenware.github.com/comb/comb_collections_BinaryTree.html) | ||
* [HashTable](http://pollenware.github.com/comb/comb_collections_HashTable.html) | ||
* [MaxHeap](http://pollenware.github.com/comb/comb_collections_MaxHeap.html) | ||
* [MinHeap](http://pollenware.github.com/comb/comb_collections_MinHeap.html) | ||
* [Pool](http://pollenware.github.com/comb/comb_collections_Pool.html) | ||
* [PriorityQueue](http://pollenware.github.com/comb/comb_collections_PriorityQueue.html) | ||
* [Queue](http://pollenware.github.com/comb/comb_collections_Queue.html) | ||
* [Stack](http://pollenware.github.com/comb/comb_collections_Stack.html) | ||
* [Flow control](http://pollenware.github.com/comb/promise.html) | ||
* [Promises](http://pollenware.github.com/comb/comb_Promise.html) | ||
* [PromiseList](http://pollenware.github.com/comb/comb_PromiseList.html) | ||
* [comb.when](http://pollenware.github.com/comb/comb.html#.when) | ||
* [comb.serial](http://pollenware.github.com/comb/comb.html#.serial) | ||
##License | ||
@@ -113,5 +62,4 @@ | ||
* Code: `git clone git://github.com/Pollenware/comb.git` | ||
* JsDoc: <http://pollenware.github.com/comb> | ||
* Website: <http://pollenware.com> - Twitter: <http://twitter.com/pollenware> - 877.465.4045 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
360863
9038
65