0.0.1 • Published 1 year ago

@eventus/eventus-js v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@eventus/eventus-js

eventus-js is a javascript library used to trigger events for Eventus.

Installation

Install eventus-js using:

npm install @eventus/eventus-js

or

yarn add @eventus/eventus-js

Usage

import { useEventus } from "@eventus/eventus-js";

// initialise api
const eventus = useEventus({
  client_id: "", // your client id
});

eventus.trigger("{EVENT_ID}", { message: "custom payload" });

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT