@warriorjs/core

0.14.0 • Public • Published

@warriorjs/core

WarriorJS core.

Install

npm install @warriorjs/core

Usage

const warriorjs = require('@warriorjs/core');
import { runLevel } from '@warriorjs/core');
import * as warriorjs from '@warriorjs/core';

API Reference

warriorjs.runLevel(levelConfig: Object, playerCode: string)

Runs the given level config with the given player code.

warriorjs.getLevel(levelConfig: Object)

Returns the level for the given level config.

/@warriorjs/core/

    Package Sidebar

    Install

    npm i @warriorjs/core

    Weekly Downloads

    5

    Version

    0.14.0

    License

    MIT

    Unpacked Size

    36.1 kB

    Total Files

    16

    Last publish

    Collaborators

    • olistic