Archive. Date of access: 12 Jan 2022

Marak Squires a01720ebf4 [minor] Updating code comments пре 12 година
examples bb15724c6f [dist] Added library and examples пре 12 година
lib a01720ebf4 [minor] Updating code comments пре 12 година
README.md 02cb498381 [minor] Updating code comments пре 12 година
package.json b9413f82c7 [docs] Updating README пре 12 година

README.md

Resourceful-coder

Converts resourceful resources back into the JavaScript code which created them.

You should probably not be using this project

The intended use of this project is for generating documentation code examples.

If you use this as a scaffolding tool or as some weird reflection solution I probably won't approve.

Installation

 npm install resourceful-coder

Usage

var resourceful = require('resourceful');
var Creature = resourceful.define('creature');
var coder = require('resourceful-coder');
console.log(coder.code(Creature));

See more complete example here

Tests

No test suite yet, should add basic resource fitness test.

Code examples are working, check those out instead.