bombhopperio-level-tools
v0.13.4
Published
Library to check that a level file is valid
Downloads
39
Readme
BombHopper.io level tools
This library is used to validate levels. Maybe it will have more level-related features later, like upgrading from an old format version into a newer.
yarn add bombhopperio-level-tools
or
npm install bombhopperio-level-tools
CLI tool
bombhopperio-level-tools validate file.json other_file.json as_many_files_as_you_want.json
JS API
validate(levelObject)
import { validate } from 'bombhopperio-level-tools';
const formatVersionNumber = validate(myLevelObject); // throws an error if the file is invalid