The Meta module consumes barrels from the __OAK_META__
rack to determine the state of an Oak server.
Install the oak-meta
package into your project with npm.
npm install oak-meta --save
Use the oak-meta
module in your project.
import Meta from 'oak-meta';
// Create an instance of Meta
let meta = new Meta();
// Create a rack
meta.processAction({
type: 'create rack',
payload: {
rackName: '__OAK_META__'
}
});
The public interface for oak-meta
is defined in the API Guide.
Pull requests are welcome! To get started, see the Contributing Guide.