Archive. Date of access: 12 Jan 2022
|
před 12 roky | |
---|---|---|
examples | před 12 roky | |
lib | před 12 roky | |
README.md | před 12 roky | |
package.json | před 12 roky |
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.