var m = ;m;// Backbone accessorm;// prints "Foo changed to bar"// Proximo accessormfoo = 'baz';// prints "Foo changed to baz"
Proximo uses the Harmony Proxy proposal implemented in the v8 engine. This is available by
node with the
--harmony_proxies flag. As an alternative the
module can be installed.
Proximo is an experiment and is still being developed. Use at your own risk.
$ npm install proximo
The module is tested on node v0.6.19. Other tests will be added soon.
The Harmony API's are not completely settled yet so the implementation is not final. The new
Proxy.for API is not yet implemented in v8 packaged with node v0.6.x. The
is also unimplemented as it relies on the Harmony iterator proposal which is also not
available in node.
This module is available under the MIT License. See LICENSE file for full details. Some parts of model.js are taken from backbone.js which is available under the MIT License.