1.0.2 • Published 1 year ago
@rozelin/matter-tools v1.0.2
Matter Tools
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.
install
npm install @rozelin/matter-tools
Type Declaration Usage
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()