Archive. Date of access: 12 Jan 2022

Marak Squires a01720ebf4 [minor] Updating code comments 12 vuotta sitten
examples bb15724c6f [dist] Added library and examples 12 vuotta sitten
lib a01720ebf4 [minor] Updating code comments 12 vuotta sitten
README.md 02cb498381 [minor] Updating code comments 12 vuotta sitten
package.json b9413f82c7 [docs] Updating README 12 vuotta sitten

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.