Archive. Date of access: 12 Jan 2022
Marak Squires a01720ebf4 [minor] Updating code comments | il y a 12 ans | |
---|---|---|
examples | il y a 12 ans | |
lib | il y a 12 ans | |
README.md | il y a 12 ans | |
package.json | il y a 12 ans |
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.