@magikcraft/core

Magikcraft core library for SMA plugins

Usage no npm install needed!

<script type="module">
  import magikcraftCore from 'https://cdn.skypack.dev/@magikcraft/core';
</script>

README

@magikcraft/core NPM version Build Status Dependency Status

Core Magikcraft utilities for SMA plugins

This repository contains the Magikcraft API - magikcraft.io - as well as the reusable utilities that are used to implement the Magikcraft API.

To see how methods like magik.dixit and magik.exsultus are implemented, take a look in the magik directory.

Installation

npm install @magikcraft/core

Testing

Use the SMA image in test mode to run the unit tests.

Make sure you have the latest version of smac installed:

npm i -g smac

Then run the tests:

npm test

License

Apache-2.0 © Josh Wulf