Short for "Node Packaged Modules", NPMs are the standard packaging method for Node.js modules.
These are my featured npms, for a complete list see my npmsjs.org profile.
Simple PhantomJS Script wrapper for Node.js, which parsed JSON output from the passed PhantomJS script (if possible).
YSlow.js on Node.js is a simple Node.js wrapper for programmatically running phantomjs yslow.js
.
run
. Now passes both error
and results
to callback. See README examples for details. This update is not backwards compatabile with previous releases.
I wrote git-fish – a Github Webhook listener – to provide a simple and modular method for executing an autodeployment on mervine.net when adding or updating a post. I designed it to as simple and as modular as possible. While written in Node.js, I tend to use it execute simple bash scripts, like the mervine.net deployment script:
#!/bin/bash cd /home/jmervine/mervine.net make deploy/soft
With this combination, I can use [Github] as my psudo-CMS, to create and update posts and when I save an addition or change, it becomes visable on the site in seconds (including, updating code and purging cache).
For detailed information on setting up and using git-fish or my other see my git-fish project page.
Enjoy!
Removing runSync
. Refactoring run
to support sending spawned process SIGINT
to capture current report from httperf and exit.
In my last post on this topic (Benchmarking with HTTPerf.js and NodeUnit) I covered benchmarking application render times from the server to first byte. In this post, I'm going cover basic client benchmarking using YSlow and PhantomJS via YSlow.js on Node.js.