{
"path": "/blog/2011-09-20-contracts-coffee-works-in-node-js",
"site": "at://did:plc:4vjd3fe2cgzq5d24j4f3zvar/site.standard.publication/3mjz2bzni752x",
"$type": "site.standard.document",
"title": "Contracts.coffee Works In Node.js!",
"content": {
"$type": "dev.disnet.blog.content.markdown",
"markdown": "\n[Contracts.coffee](http://disnetdev.com/contracts.coffee/) now works in node.js! V8 (the JavaScript engine used by node) has recently added support for Proxies which contracts.coffee requires.\n\nYou'll need a bleeding-edge version of node to get it running. Try either master (unstable) or [0.5.7](https://github.com/joyent/node/tree/v0.5.7). Build instructions are [here](https://github.com/joyent/node/wiki/Installation).\n\nProxies are hidden behind a command line flag in V8 so you'll also need to supply `--harmony_proxies` to node when calling the compiler:\n\n node --harmony_proxies bin/coffee -CL test.coffee\n\nThere are almost certainly node-specific bugs in contracts.coffee so don't trust it with anything important yet. You can get started playing though!\n\nReport any bugs you run into on the [issue tracker](https://github.com/disnet/contracts.coffee/issues?sort=created&direction=desc&state=open).\n",
"sourceFormat": "markdown"
},
"publishedAt": "2011-09-20T00:00:00.000Z",
"textContent": "Contracts.coffee now works in node.js! V8 (the JavaScript engine used by node) has recently added support for Proxies which contracts.coffee requires. You'll need a bleeding edge version of node to get it running. Try either master (unstable) or 0.5.7. Build instructions are here. Proxies are hidden behind a command line flag in V8 so you'll also need to supply harmony proxies to node when calling the compiler: node harmony proxies bin/coffee CL test.coffee There are almost certainly node specific bugs in contracts.coffee so don't trust it with anything important yet. You can get started playing though! Report any bugs you run into on the issue tracker."
}