bombhopperio-level-tools
v0.13.4
Published
Library to check that a level file is valid
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-toolsor
npm install bombhopperio-level-toolsCLI tool
bombhopperio-level-tools validate file.json other_file.json as_many_files_as_you_want.jsonJS API
validate(levelObject)
import { validate } from 'bombhopperio-level-tools';
const formatVersionNumber = validate(myLevelObject); // throws an error if the file is invalid