{"_id":"contracts.coffee","_rev":"26-a6bcfb12a0689e9cb001fd71afdbc6b7","name":"contracts.coffee","description":"A Dialect of CoffeeScript with contracts","dist-tags":{"latest":"0.3.4"},"versions":{"0.1.0":{"name":"contracts.coffee","description":"A Dialect of CoffeeScript with contracts","keywords":["javascript","language","coffeescript","compiler","contracts"],"author":{"name":"Tim Disney"},"version":"0.1.0","licenses":[{"type":"MIT","url":"https://raw.github.com/disnet/contracts.coffee/master/LICENSE"}],"engines":{"node":">=0.4.0"},"directories":{"lib":"./lib/coffee-script"},"main":"./lib/coffee-script/coffee-script","bin":{"coffee":"./bin/coffee","cake":"./bin/cake","coffee-node":"./bin/coffee-node","cake-node":"./bin/cake-node"},"homepage":"http://disnetdev.com/contracts.coffee/","repository":{"type":"git","url":"git://github.com/disnet/contracts.coffee.git"},"devDependencies":{"uglify-js":"1.0.6","jison":"0.2.11"},"_npmUser":{"name":"disnet","email":"tim.disney@gmail.com"},"_id":"contracts.coffee@0.1.0","dependencies":{},"_engineSupported":true,"_npmVersion":"1.0.105","_nodeVersion":"v0.6.0","_defaultsLoaded":true,"dist":{"shasum":"6e083e5d1cd5aac4516d61ef6488e9de9c40cd64","tarball":"https://registry.npmjs.org/contracts.coffee/-/contracts.coffee-0.1.0.tgz","integrity":"sha512-9jl9Z2oH9yIXxHCChXufD6sCwbPuHBc1Jj6v9yLC5uBptfEFBdG4JZldHisy+fi/Zsps3p4Fs5StQVBafPkLBw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEaSPnisLtg8iy1NGjfOlbvKDRIxjx7Jv/1Akn9FeeC/AiEAjUqWoY7nDQaHjOLorz1uJQuf6UxwN2Vp7/igG2SbsSg="}]},"maintainers":[{"name":"disnet","email":"tim.disney@gmail.com"}]},"0.2.0":{"name":"contracts.coffee","description":"A Dialect of CoffeeScript with contracts","keywords":["javascript","language","coffeescript","compiler","contracts"],"author":{"name":"Tim Disney"},"version":"0.2.0","licenses":[{"type":"MIT","url":"https://raw.github.com/disnet/contracts.coffee/master/LICENSE"}],"engines":{"node":">=0.4.0"},"directories":{"lib":"./lib/coffee-script"},"main":"./lib/coffee-script/coffee-script","bin":{"coffee":"./bin/coffee","cake":"./bin/cake","coffee-node":"./bin/coffee-node","cake-node":"./bin/cake-node"},"homepage":"http://disnetdev.com/contracts.coffee/","repository":{"type":"git","url":"git://github.com/disnet/contracts.coffee.git"},"devDependencies":{"uglify-js":">=1.0.0","jison":">=0.2.0","contracts.js":"0.2.x"},"_npmUser":{"name":"disnet","email":"tim.disney@gmail.com"},"_id":"contracts.coffee@0.2.0","dependencies":{},"_engineSupported":true,"_npmVersion":"1.0.104","_nodeVersion":"v0.5.10","_defaultsLoaded":true,"dist":{"shasum":"051bc4036fe69090cabd9e9e94255aaf949c490a","tarball":"https://registry.npmjs.org/contracts.coffee/-/contracts.coffee-0.2.0.tgz","integrity":"sha512-hLyC4BBMGg1vN6szBvQUhAPYRZQ8wMJcShGGJxJPpHx8BEOWGH3mY8PRoNI9Dnt0lUTNZSurB4Wq/PoLkjSnEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZZ04wwJVBLmQFEWMCxG3rKbo07SXI9onZqYWRkRfg9wIhAOPNUL7mZevSLX+zt0/RYaItXWZqPlhK9HDUOb38pbMa"}]},"maintainers":[{"name":"disnet","email":"tim.disney@gmail.com"}]},"0.2.1":{"name":"contracts.coffee","description":"A Dialect of CoffeeScript with contracts","keywords":["javascript","language","coffeescript","compiler","contracts"],"author":{"name":"Tim Disney"},"version":"0.2.1","licenses":[{"type":"MIT","url":"https://raw.github.com/disnet/contracts.coffee/master/LICENSE"}],"engines":{"node":">=0.4.0"},"directories":{"lib":"./lib/coffee-script"},"main":"./lib/coffee-script/coffee-script","bin":{"coffee":"./bin/coffee","cake":"./bin/cake","coffee-node":"./bin/coffee-node","cake-node":"./bin/cake-node"},"homepage":"http://disnetdev.com/contracts.coffee/","repository":{"type":"git","url":"git://github.com/disnet/contracts.coffee.git"},"devDependencies":{"uglify-js":">=1.0.0","jison":">=0.2.0","contracts.js":"0.2.x"},"_npmUser":{"name":"disnet","email":"tim.disney@gmail.com"},"_id":"contracts.coffee@0.2.1","dependencies":{},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.5.10","_defaultsLoaded":true,"dist":{"shasum":"42725bdca7f5fb593d9bf2d7765d04bbc7e849b4","tarball":"https://registry.npmjs.org/contracts.coffee/-/contracts.coffee-0.2.1.tgz","integrity":"sha512-goLVgo5Ijcpg08lW659qMwu0nBU8hi9qPSonC7xi/jXmedv1cSXmyTlt23mcNm5eOSCjv7V6C9oGa2/CHoLmtA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRmuo6jcs75QvoYCsizLe2IOJMXKh6U8dzl0T3gOzsWwIhANitgpkga5KWz8wSy3zxAypuryvOr+UjjwqIqLRyyipq"}]},"maintainers":[{"name":"disnet","email":"tim.disney@gmail.com"}]},"0.3.0":{"name":"contracts.coffee","description":"A Dialect of CoffeeScript with contracts","keywords":["javascript","language","coffeescript","compiler","contracts"],"author":{"name":"Tim Disney"},"version":"0.3.0","licenses":[{"type":"MIT","url":"https://raw.github.com/disnet/contracts.coffee/master/LICENSE"}],"engines":{"node":">=0.4.0"},"directories":{"lib":"./lib/coffee-script"},"main":"./lib/coffee-script/coffee-script","bin":{"coffee":"./bin/coffee","cake":"./bin/cake","coffee-node":"./bin/coffee-node","cake-node":"./bin/cake-node"},"homepage":"http://disnetdev.com/contracts.coffee/","repository":{"type":"git","url":"git://github.com/disnet/contracts.coffee.git"},"devDependencies":{"uglify-js":">=1.0.0","jison":">=0.2.0","contracts.js":"0.3.x"},"_npmUser":{"name":"disnet","email":"tim.disney@gmail.com"},"_id":"contracts.coffee@0.3.0","dependencies":{},"_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.5.10","_defaultsLoaded":true,"dist":{"shasum":"9e20d1daf76ab2e55173c17bc76c31b5a6d41472","tarball":"https://registry.npmjs.org/contracts.coffee/-/contracts.coffee-0.3.0.tgz","integrity":"sha512-qib+jS3fMHJjNT9ZVS+0fPRj6FjOuk/V+a7nowTzrSj/qVJO/0NTa+6cVJu1Mg3n/WQ+2vDu/KKWLod8lmOdrA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfwFOm4suDJ5SKLSN0qQw6H0YFRfcsYn0nqL1E8mn4OwIgeXrGNGqbWVY3xX/P3BNzNNGoSKA6tQQs/jPaANSXI/M="}]},"maintainers":[{"name":"disnet","email":"tim.disney@gmail.com"}]},"0.3.1":{"name":"contracts.coffee","description":"A Dialect of CoffeeScript with contracts","keywords":["javascript","language","coffeescript","compiler","contracts"],"author":{"name":"Tim Disney"},"version":"0.3.1","licenses":[{"type":"MIT","url":"https://raw.github.com/disnet/contracts.coffee/master/LICENSE"}],"engines":{"node":">=0.8.0"},"directories":{"lib":"./lib/coffee-script"},"main":"./lib/coffee-script/coffee-script","bin":{"coffee":"./bin/coffee","cake":"./bin/cake","coffee-node":"./bin/coffee-node","cake-node":"./bin/cake-node"},"homepage":"http://disnetdev.com/contracts.coffee/","repository":{"type":"git","url":"git://github.com/disnet/contracts.coffee.git"},"devDependencies":{"uglify-js":">=1.0.0","jison":">=0.2.0","contracts.js":"0.2.x"},"readme":"contracts.coffee\n================\n\ncontracts.coffee is a dialect of CoffeeScript with contract support.\n\nContracts allow you to write powerful runtime assertions about your code. \nLike types but less painful, like assert but more useful.\n\n    square :: (Num) -> Num\n    square = (x) -> x * x\n\n    # throws a run-time error\n    square \"a string\"   \n\nDocumentation, usage, and more examples: http://disnetdev.com/contracts.coffee/\n\nQuick start\n===========\n\nInstall via npm:\n\n    npm install -g contracts.coffee\n\nUse the compiler:\n\n    coffee -c --contracts /path/to/script.coffee\n\nAn alternative to using the --contracts flag is setting this env variable:\n\n    export CONTRACTS_COFFEE_ENABLED=1\n\nIf you are running in the browser then you'll need to load the \ncontracts library (found in [lib/contracts/contracts.js](https://github.com/disnet/contracts.coffee/tree/master/lib/contracts))\n\n    <script type=\"text/javascript\" src=\"contracts.js\"></script>\n\nThere is also experimental support for require.js.\nSee [here](https://github.com/disnet/contracts.coffee/tree/master/test/webtest) for an example.\n\nIf you are running in node.js then you'll need to install the contracts.js package\n\n    npm install contracts.js\n\nNote that contracts.coffee requires some pretty new features of JavaScript \n([Proxies](https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Proxy) \nin particular) so it currently only works on Firefox 4+, node.js 0.8.0+,\nand recent versions of Chrome (though you'll need to enable the\nexperimental JavaScript flag in about:flags).\n\nChange Log\n----------\n* [0.3.1](https://github.com/disnet/contracts.coffee/tree/c0.3.1) (July 15th, 2012)\n  * support for stable node.js (v0.8.0+)\n  * some bug fixes\n* [0.3.0](https://github.com/disnet/contracts.coffee/tree/c0.3.0) (March 15th, 2012)\n  * [change](https://github.com/disnet/contracts.coffee/issues/8) to dependent function contracts\n  * various contracts.coffee bug fixes: [#27](https://github.com/disnet/contracts.coffee/issues/27), [#41](https://github.com/disnet/contracts.coffee/issues/41), [#33](https://github.com/disnet/contracts.coffee/issues/33), [#31](https://github.com/disnet/contracts.coffee/issues/31),\n  * various contracts.js bug fixes: [#9](https://github.com/disnet/contracts.js/pull/9), [#8](https://github.com/disnet/contracts.js/pull/8), [#7](https://github.com/disnet/contracts.js/pull/7), [#6](https://github.com/disnet/contracts.js/pull/6), [#5](https://github.com/disnet/contracts.js/pull/5), [#4](https://github.com/disnet/contracts.js/pull/4)\n  * experimental support for require.js (see [here](https://github.com/disnet/contracts.coffee/tree/master/test/webtest) for example use)\n  * based off CoffeeScript 1.3.1\n* [0.2.0](https://github.com/disnet/contracts.coffee/tree/c0.2.0) (January 4th, 2012)\n  * removed `.use()`, now using `Contracts.exports` and `Contracts.use`\n  * various bug fixes\n  * based off CoffeeScript 1.2.0\n* [0.1.0](https://github.com/disnet/contracts.coffee/tree/c0.1.0) (August 29th, 2011) \n  * initial release\n  * based off CoffeeScript 1.1.2\n","_id":"contracts.coffee@0.3.1","dist":{"shasum":"884cf09a860a5997dd64941b9807e955122cbc9b","tarball":"https://registry.npmjs.org/contracts.coffee/-/contracts.coffee-0.3.1.tgz","integrity":"sha512-Psv+7RsruUefZfV5WsW9MD5/HuiJD2IG6hRqVsNrWykLCCMAxhca3rlckWG2bHgNI3UNcqiKqaccMWr9y8hw/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDI5PsycYWIknRuT6VgHmnriC4utqaXpZkmvwU9P1YfEAiAnUMVZak4g2IQUFrmNkK6+lmDKuZHiXI0hiipvxFI7zA=="}]},"maintainers":[{"name":"disnet","email":"tim.disney@gmail.com"}]},"0.3.2":{"name":"contracts.coffee","description":"A Dialect of CoffeeScript with contracts","keywords":["javascript","language","coffeescript","compiler","contracts"],"author":{"name":"Tim Disney"},"version":"0.3.2","licenses":[{"type":"MIT","url":"https://raw.github.com/disnet/contracts.coffee/master/LICENSE"}],"engines":{"node":">=0.8.0"},"directories":{"lib":"./lib/coffee-script"},"main":"./lib/coffee-script/coffee-script","bin":{"coffee":"./bin/coffee","cake":"./bin/cake","coffee-node":"./bin/coffee-node","cake-node":"./bin/cake-node"},"homepage":"http://disnetdev.com/contracts.coffee/","repository":{"type":"git","url":"git://github.com/disnet/contracts.coffee.git"},"devDependencies":{"uglify-js":">=1.0.0","jison":">=0.2.0","contracts.js":"0.2.x"},"readme":"contracts.coffee\n================\n\ncontracts.coffee is a dialect of CoffeeScript with contract support.\n\nContracts allow you to write powerful runtime assertions about your code. \nLike types but less painful, like assert but more useful.\n\n    square :: (Num) -> Num\n    square = (x) -> x * x\n\n    # throws a run-time error\n    square \"a string\"   \n\nDocumentation, usage, and more examples: http://disnetdev.com/contracts.coffee/\n\nQuick start\n===========\n\nInstall via npm:\n\n    npm install -g contracts.coffee\n\nUse the compiler:\n\n    coffee -c --contracts /path/to/script.coffee\n\nAn alternative to using the --contracts flag is setting this env variable:\n\n    export CONTRACTS_COFFEE_ENABLED=1\n\nIf you are running in the browser then you'll need to load the \ncontracts library (found in [lib/contracts/contracts.js](https://github.com/disnet/contracts.coffee/tree/master/lib/contracts))\n\n    <script type=\"text/javascript\" src=\"contracts.js\"></script>\n\nThere is also experimental support for require.js.\nSee [here](https://github.com/disnet/contracts.coffee/tree/master/test/webtest) for an example.\n\nIf you are running in node.js then you'll need to install the contracts.js package\n\n    npm install contracts.js\n\nNote that contracts.coffee requires some pretty new features of JavaScript \n([Proxies](https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Proxy) \nin particular) so it currently only works on Firefox 4+, node.js 0.8.0+,\nand recent versions of Chrome (though you'll need to enable the\nexperimental JavaScript flag in about:flags).\n\nChange Log\n----------\n* [0.3.2](https://github.com/disnet/contracts.coffee/tree/c0.3.1) (September 5, 2012)\n  * disabling contracts for arrays (see issue [54](https://github.com/disnet/contracts.coffee/issues/54))\n  * various bug fixes\n* [0.3.1](https://github.com/disnet/contracts.coffee/tree/c0.3.1) (July 15th, 2012)\n  * support for stable node.js (v0.8.0+)\n  * some bug fixes\n* [0.3.0](https://github.com/disnet/contracts.coffee/tree/c0.3.0) (March 15th, 2012)\n  * [change](https://github.com/disnet/contracts.coffee/issues/8) to dependent function contracts\n  * various contracts.coffee bug fixes: [#27](https://github.com/disnet/contracts.coffee/issues/27), [#41](https://github.com/disnet/contracts.coffee/issues/41), [#33](https://github.com/disnet/contracts.coffee/issues/33), [#31](https://github.com/disnet/contracts.coffee/issues/31),\n  * various contracts.js bug fixes: [#9](https://github.com/disnet/contracts.js/pull/9), [#8](https://github.com/disnet/contracts.js/pull/8), [#7](https://github.com/disnet/contracts.js/pull/7), [#6](https://github.com/disnet/contracts.js/pull/6), [#5](https://github.com/disnet/contracts.js/pull/5), [#4](https://github.com/disnet/contracts.js/pull/4)\n  * experimental support for require.js (see [here](https://github.com/disnet/contracts.coffee/tree/master/test/webtest) for example use)\n  * based off CoffeeScript 1.3.1\n* [0.2.0](https://github.com/disnet/contracts.coffee/tree/c0.2.0) (January 4th, 2012)\n  * removed `.use()`, now using `Contracts.exports` and `Contracts.use`\n  * various bug fixes\n  * based off CoffeeScript 1.2.0\n* [0.1.0](https://github.com/disnet/contracts.coffee/tree/c0.1.0) (August 29th, 2011) \n  * initial release\n  * based off CoffeeScript 1.1.2\n","_id":"contracts.coffee@0.3.2","dist":{"shasum":"53e8502a05ef7293caf3accd63e1db5e4f72ce35","tarball":"https://registry.npmjs.org/contracts.coffee/-/contracts.coffee-0.3.2.tgz","integrity":"sha512-ET7u4rp6t1Zs/VZH6LkAsI+8yY30ES1EpDpk07uX62uCzUvoHNY0SVmxWUwkndwQzlBjMW/Pvei02AcotwctDA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDIS9fRJbj/0mgNi9QWcurd6O3Q9IaO1s8GCezR4FwvcgIhAIM+lMDt+6y+6j0TJcWV+pM6BoEqFJmvDSyG+zjaa7NM"}]},"maintainers":[{"name":"disnet","email":"tim.disney@gmail.com"}]},"0.3.3":{"name":"contracts.coffee","description":"A Dialect of CoffeeScript with contracts","keywords":["javascript","language","coffeescript","compiler","contracts"],"author":{"name":"Tim Disney"},"version":"0.3.3","licenses":[{"type":"MIT","url":"https://raw.github.com/disnet/contracts.coffee/master/LICENSE"}],"engines":{"node":">=0.8.0"},"directories":{"lib":"./lib/coffee-script"},"main":"./lib/coffee-script/coffee-script","bin":{"coffee":"./bin/coffee","cake":"./bin/cake","coffee-node":"./bin/coffee-node","cake-node":"./bin/cake-node"},"homepage":"http://disnetdev.com/contracts.coffee/","repository":{"type":"git","url":"git://github.com/disnet/contracts.coffee.git"},"devDependencies":{"uglify-js":">=1.0.0","jison":">=0.2.0","contracts-js":"0.2.x"},"readme":"contracts.coffee\n================\n\ncontracts.coffee is a dialect of CoffeeScript with contract support.\n\nContracts allow you to write powerful runtime assertions about your code. \nLike types but less painful, like assert but more useful.\n\n    square :: (Num) -> Num\n    square = (x) -> x * x\n\n    # throws a run-time error\n    square \"a string\"   \n\nDocumentation, usage, and more examples: http://disnetdev.com/contracts.coffee/\n\nQuick start\n===========\n\nInstall via npm:\n\n    npm install -g contracts.coffee\n\nUse the compiler:\n\n    coffee -c --contracts /path/to/script.coffee\n\nAn alternative to using the --contracts flag is setting this env variable:\n\n    export CONTRACTS_COFFEE_ENABLED=1\n\nIf you are running in the browser then you'll need to load the \ncontracts library (found in [lib/contracts/contracts.js](https://github.com/disnet/contracts.coffee/tree/master/lib/contracts))\n\n    <script type=\"text/javascript\" src=\"contracts.js\"></script>\n\nThere is also experimental support for require.js.\nSee [here](https://github.com/disnet/contracts.coffee/tree/master/test/webtest) for an example.\n\nIf you are running in node.js then you'll need to install the contracts.js package\n\n    npm install contracts.js\n\nNote that contracts.coffee requires some pretty new features of JavaScript \n([Proxies](https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Proxy) \nin particular) so it currently only works on Firefox 4+, node.js 0.8.0+,\nand recent versions of Chrome (though you'll need to enable the\nexperimental JavaScript flag in about:flags).\n\nChange Log\n----------\n* [0.3.2](https://github.com/disnet/contracts.coffee/tree/c0.3.1) (September 5, 2012)\n  * disabling contracts for arrays (see issue [54](https://github.com/disnet/contracts.coffee/issues/54))\n  * various bug fixes\n* [0.3.1](https://github.com/disnet/contracts.coffee/tree/c0.3.1) (July 15th, 2012)\n  * support for stable node.js (v0.8.0+)\n  * some bug fixes\n* [0.3.0](https://github.com/disnet/contracts.coffee/tree/c0.3.0) (March 15th, 2012)\n  * [change](https://github.com/disnet/contracts.coffee/issues/8) to dependent function contracts\n  * various contracts.coffee bug fixes: [#27](https://github.com/disnet/contracts.coffee/issues/27), [#41](https://github.com/disnet/contracts.coffee/issues/41), [#33](https://github.com/disnet/contracts.coffee/issues/33), [#31](https://github.com/disnet/contracts.coffee/issues/31),\n  * various contracts.js bug fixes: [#9](https://github.com/disnet/contracts.js/pull/9), [#8](https://github.com/disnet/contracts.js/pull/8), [#7](https://github.com/disnet/contracts.js/pull/7), [#6](https://github.com/disnet/contracts.js/pull/6), [#5](https://github.com/disnet/contracts.js/pull/5), [#4](https://github.com/disnet/contracts.js/pull/4)\n  * experimental support for require.js (see [here](https://github.com/disnet/contracts.coffee/tree/master/test/webtest) for example use)\n  * based off CoffeeScript 1.3.1\n* [0.2.0](https://github.com/disnet/contracts.coffee/tree/c0.2.0) (January 4th, 2012)\n  * removed `.use()`, now using `Contracts.exports` and `Contracts.use`\n  * various bug fixes\n  * based off CoffeeScript 1.2.0\n* [0.1.0](https://github.com/disnet/contracts.coffee/tree/c0.1.0) (August 29th, 2011) \n  * initial release\n  * based off CoffeeScript 1.1.2\n","readmeFilename":"README.md","_id":"contracts.coffee@0.3.3","dist":{"shasum":"663911722e6483830d61b9ac81886494eb11de0f","tarball":"https://registry.npmjs.org/contracts.coffee/-/contracts.coffee-0.3.3.tgz","integrity":"sha512-PQO1rJ0nH/sz+QbdUj4h+pUlZv67Jo6NzHpZDMClEcShgZxepCYINlZSktqTg5HBC3seibox+L3jzT6K/wYPoA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEtuKqTyxh19fQh3xsj9beyGlUV81MPBJVsi38Ix2g58AiEAw4pR6smxsemCvU5WQZTUbp15lyrE2jhXOZG2TwR8jqI="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"disnet","email":"tim.disney@gmail.com"},"maintainers":[{"name":"disnet","email":"tim.disney@gmail.com"}]},"0.3.4":{"name":"contracts.coffee","description":"A Dialect of CoffeeScript with contracts","keywords":["javascript","language","coffeescript","compiler","contracts"],"author":{"name":"Tim Disney"},"version":"0.3.4","licenses":[{"type":"MIT","url":"https://raw.github.com/disnet/contracts.coffee/master/LICENSE"}],"engines":{"node":">=0.8.0"},"directories":{"lib":"./lib/coffee-script"},"main":"./lib/coffee-script/coffee-script","bin":{"coffee":"./bin/coffee","cake":"./bin/cake","coffee-node":"./bin/coffee-node","cake-node":"./bin/cake-node"},"homepage":"http://disnetdev.com/contracts.coffee/","repository":{"type":"git","url":"git://github.com/disnet/contracts.coffee.git"},"devDependencies":{"uglify-js":">=1.0.0","jison":">=0.2.0","contracts-js":">=0.2.x"},"readme":"contracts.coffee\n================\n\ncontracts.coffee is a dialect of CoffeeScript with contract support.\n\nContracts allow you to write powerful runtime assertions about your code. \nLike types but less painful, like assert but more useful.\n\n    square :: (Num) -> Num\n    square = (x) -> x * x\n\n    # throws a run-time error\n    square \"a string\"   \n\nDocumentation, usage, and more examples: http://disnetdev.com/contracts.coffee/\n\nQuick start\n===========\n\nInstall via npm:\n\n    npm install -g contracts.coffee\n\nUse the compiler:\n\n    coffee -c --contracts /path/to/script.coffee\n\nAn alternative to using the --contracts flag is setting this env variable:\n\n    export CONTRACTS_COFFEE_ENABLED=1\n\nIf you are running in the browser then you'll need to load the \ncontracts library (found in [lib/contracts/contracts.js](https://github.com/disnet/contracts.coffee/tree/master/lib/contracts))\n\n    <script type=\"text/javascript\" src=\"contracts.js\"></script>\n\nThere is also experimental support for require.js.\nSee [here](https://github.com/disnet/contracts.coffee/tree/master/test/webtest) for an example.\n\nIf you are running in node.js then you'll need to install the contracts.js package\n\n    npm install contracts.js\n\nNote that contracts.coffee requires some pretty new features of JavaScript \n([Proxies](https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Proxy) \nin particular) so it currently only works on Firefox 4+, node.js 0.8.0+,\nand recent versions of Chrome (though you'll need to enable the\nexperimental JavaScript flag in about:flags).\n\nChange Log\n----------\n* [0.3.2](https://github.com/disnet/contracts.coffee/tree/c0.3.1) (September 5, 2012)\n  * disabling contracts for arrays (see issue [54](https://github.com/disnet/contracts.coffee/issues/54))\n  * various bug fixes\n* [0.3.1](https://github.com/disnet/contracts.coffee/tree/c0.3.1) (July 15th, 2012)\n  * support for stable node.js (v0.8.0+)\n  * some bug fixes\n* [0.3.0](https://github.com/disnet/contracts.coffee/tree/c0.3.0) (March 15th, 2012)\n  * [change](https://github.com/disnet/contracts.coffee/issues/8) to dependent function contracts\n  * various contracts.coffee bug fixes: [#27](https://github.com/disnet/contracts.coffee/issues/27), [#41](https://github.com/disnet/contracts.coffee/issues/41), [#33](https://github.com/disnet/contracts.coffee/issues/33), [#31](https://github.com/disnet/contracts.coffee/issues/31),\n  * various contracts.js bug fixes: [#9](https://github.com/disnet/contracts.js/pull/9), [#8](https://github.com/disnet/contracts.js/pull/8), [#7](https://github.com/disnet/contracts.js/pull/7), [#6](https://github.com/disnet/contracts.js/pull/6), [#5](https://github.com/disnet/contracts.js/pull/5), [#4](https://github.com/disnet/contracts.js/pull/4)\n  * experimental support for require.js (see [here](https://github.com/disnet/contracts.coffee/tree/master/test/webtest) for example use)\n  * based off CoffeeScript 1.3.1\n* [0.2.0](https://github.com/disnet/contracts.coffee/tree/c0.2.0) (January 4th, 2012)\n  * removed `.use()`, now using `Contracts.exports` and `Contracts.use`\n  * various bug fixes\n  * based off CoffeeScript 1.2.0\n* [0.1.0](https://github.com/disnet/contracts.coffee/tree/c0.1.0) (August 29th, 2011) \n  * initial release\n  * based off CoffeeScript 1.1.2\n","readmeFilename":"README.md","_id":"contracts.coffee@0.3.4","dist":{"shasum":"d1a5d5512ebd4b515a58e756d3d2edbf6de15ac9","tarball":"https://registry.npmjs.org/contracts.coffee/-/contracts.coffee-0.3.4.tgz","integrity":"sha512-V80QNovW58yTKUB6JMOOSVqlUzCf7jFfYEAQdnoLzTr8P22bqAlXOXhS2lyu9f2oKSy+ZUkLcHEaGOpwxHLDww==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDjQbbfifc5lPKIc16RSus/iHgFj8odVgSkDC0XuFhZDAiAkwS+CpAEmUEX5WbMmIJjhYJw1OSZOHIRNPj3VUa7MbA=="}]},"_npmVersion":"1.1.65","_npmUser":{"name":"disnet","email":"tim.disney@gmail.com"},"maintainers":[{"name":"disnet","email":"tim.disney@gmail.com"}]}},"readme":null,"maintainers":[{"name":"disnet","email":"tim.disney@gmail.com"}],"time":{"modified":"2022-06-13T22:40:52.290Z","created":"2011-11-14T05:14:03.709Z","0.1.0":"2011-11-14T05:14:05.293Z","0.2.0":"2012-01-04T19:36:27.979Z","0.2.1":"2012-02-23T23:55:18.702Z","0.3.0":"2012-04-15T08:13:03.648Z","0.3.1":"2012-07-16T03:01:40.872Z","0.3.2":"2012-09-06T04:19:11.729Z","0.3.3":"2013-05-01T19:32:26.945Z","0.3.4":"2013-05-21T17:42:02.146Z"},"author":{"name":"Tim Disney"},"repository":{"type":"git","url":"git://github.com/disnet/contracts.coffee.git"},"users":{"m_oebius":true}}