Introducing node-heatmap, a nifty node.js module for making pretty heatmaps. You can even use node-heatmap in the browser with browserify. Here's an example of using heatmap in node with some random values biased towards the center of the canvas: var heatmap = require('heatmap'); var heat = heatmap(500, 500, { radius : 30 }); for (var i = 0; i When the example calls .addPoint(x,y), heatmap draws
Announcing browserify, a node.js module that bundles up all your javascript into a single file so you can use node.js-style require() from the browser. Check this: server.js var connect = require('connect'); var server = connect.createServer(); server.use(connect.static(__dirname)); server.use(require('browserify')(__dirname + '/js')); server.listen(9797); js/foo.js var bar = require('./bar'); mod
Seq is a node.js library for chainable, asynchronous flow control. With Seq, you can turn complicated nested callback logic into a cleaner and more straightforward pipeline-style. Even the error handling is chainable! Plus, you can do fancy things like set limits on the number of parallel tasks executing at once. Here's a simple example of Seq that executes some shell commands and reads files. //
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く