This library is a TypeScript adaptation of Matter Tools. The main usage is the same as Matter Tools. See the README of Matter Tools for details.
npm install @rozelin/matter-tools
If you want to import and use interface definitions, etc., you can write as follows.
import MatterTools, { Gui } from '@rozelin/matter-tools'
const Gui: Gui.IGui = MatterTools.Gui.create()
or
import * as MatterToolsTypes from '@rozelin/matter-ts'
const MatterTools = MatterToolsTypes.default
const Gui: MatterToolsTypes.Gui.IGui = MatterTools.Gui.create()