@openjam/logic-rules
v4.0.1
Published
A higher-level wrapper around OpenJam's API
Downloads
40
Maintainers
Readme
@openjam/logic-rules
openjam-logic-rules provides a higher-level wrapper around OpenJam's API and encapsulates all the business logic related to the OpenJam front-end.
Documentation
- https://openjam-eu.github.io/openjam-logic-rules/
How to use?
import OpenJam from '@openjam/logic-rules';
const oj = new OpenJam();
// GET one artist
const artist = oj.getArtist('ID00001');
// GET all artists
const artists = oj.getArtists();
// now, we have the artists from OpenJam <3
NPM scripts
# Read the manual ;-)
npm info
# Commit using conventional commit style ([husky](https://github.com/typicode/husky) will tell you to use it if you haven't :wink:)
npm run commit