Archive. Date of access: 12 Jan 2022
Marak Squires a01720ebf4 [minor] Updating code comments | 12 years ago | |
---|---|---|
examples | 12 years ago | |
lib | 12 years ago | |
README.md | 12 years ago | |
package.json | 12 years ago |
Converts resourceful resources back into the JavaScript code which created them.
npm install resourceful-coder
var resourceful = require('resourceful');
var Creature = resourceful.define('creature');
var coder = require('resourceful-coder');
console.log(coder.code(Creature));
See more complete example here
No test suite yet, should add basic resource fitness test.
Code examples are working, check those out instead.