@booljs/api
v0.6.4
Published
Bool.js - API Core
Downloads
15
Readme
BoolJS API
BoolJS API is a BoolJS module designed to define the API that is implemented in the framework bootstrapping. Here you can find the available plugins and base classes that make part of an instance.
Here's also located the logic of application instances and stores.
Install
API Core comes as a dependency of BoolJS, so —in normal circumstances, there should be no need of installing it as a separate dependency.
If you need to install it as a part of a plugin, run the command
$ npm install @booljs/api@latest --save-peer
Usage
You'll probably need to use API when building a plugin. In that case, you can call the necessary classes requiring @booljs/api
. For instance:
'use strict';
const { RouteMiddleware } = require('@booljs/api');
module.exports class MyMiddleware extends RouteMiddleware {
// ...
};
Contributing
We're still making -or looking for- a serious contributing document. By now, feel free to contribute the way you usually do in other projects. If this is your first time, follow these steps:
- Fork us
- Make your changes
- Commit by each file change, indicating what you did in that file.
- Please –¡please!-, don't push until you get the tests completely passing (in this case is just once).
- Push and make a pull request, describing what you did in general.
- PR will go through an automated revision in Travis CI. If everything is correct, a peer-revision will start.