background preloader

Node.js | Tools

Facebook Twitter

Subcollider.js. AppJS. MutekiTimer. Infinity.js. A ListView is a container that moves content in and out of the DOM on the scroll event.

Infinity.js

ListViews help keep repaint times of expensive pages down (and scrolling smooth) by making sure that there are never too many elements onscreen at a single time. ListViews excel at speeding up long lists of complex HTML elements, where new content is frequently appended to the end and existing content is rarely removed. ListViews are simple, and have several caveats: they can't be nested inside each other, and they can't have heights set via CSS. Additionally, ListViews can't easily change sizes except by appending or removing elements, and so list items that need to slide open or change their sizing will be difficult to implement.

Appending elements to a ListView is relatively fast, but removing elements is slower — so designs that need to remove elements multiple times a second at high framerates will struggle. Declare. Declare is a library designed to allow writing object oriented code the same way in both the browser and node.js.

declare

Installation npm install declare.js Or download the source (minified) Requirejs To use with requirejs place the declare source in the root scripts directory Usage declare.js provides Class methods as(module | object, name) : exports the object to module or the object with the namemixin(mixin) : mixes in an object but does not inherit directly from the object.

Instance methods _super(arguments): calls the super of the current method, you can pass in either the argments object or an array with arguments you want passed to super_getSuper(): returns a this methods direct super. Declaring a new Class Creating a new class with declare is easy! You can use Mammal just like you would any other class. Extending a class If you want to just extend a single class use the .extend method. You can also extend a class by using the declare method and just pass in the super class. Fschaefer/Probability.js. Crossfilter. Fast Multidimensional Filtering for Coordinated Views Crossfilter is a JavaScript library for exploring large multivariate datasets in the browser.

Crossfilter

Crossfilter supports extremely fast (<30ms) interaction with coordinated views, even with datasets containing a million or more records; we built it to power analytics for Square Register, allowing merchants to slice and dice their payment history fluidly. Since most interactions only involve a single dimension, and then only small adjustments are made to the filter values, incremental filtering and reducing is significantly faster than starting from scratch. Crossfilter uses sorted indexes (and a few bit-twiddling hacks) to make this possible, dramatically increasing the perfor­mance of live histograms and top-K lists. For more details on how Crossfilter works, see the API reference. ShareJS. Jsftp by sergi. Openshift/magento-example. JQuery Terminal Emulator Plugin.

Pivotal/jasmine. Minimatch. A minimal matching utility.

minimatch

This is the matching library used internally by npm. Eventually, it will replace the C binding in node-glob. It works by converting glob expressions into JavaScript RegExp objects. Usage Features Supports these glob features: Brace ExpansionExtended glob matching"Globstar" ** matching See: man shman bashman 3 fnmatchman 5 gitignore Minimatch Class Create a minimatch object by instanting the minimatch.Minimatch class. var Minimatch = require("minimatch").Minimatch var mm = new Minimatch(pattern, options)

Utilities. Grunt: a task-based command line build tool for JavaScript projects. Codestre.am: streaming your code to the masses.