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