Archive. Date of access: 12 Jan 2022

Marak Squires a01720ebf4 [minor] Updating code comments %!s(int64=12) %!d(string=hai) anos
examples bb15724c6f [dist] Added library and examples %!s(int64=12) %!d(string=hai) anos
lib a01720ebf4 [minor] Updating code comments %!s(int64=12) %!d(string=hai) anos
README.md 02cb498381 [minor] Updating code comments %!s(int64=12) %!d(string=hai) anos
package.json b9413f82c7 [docs] Updating README %!s(int64=12) %!d(string=hai) anos

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.