Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/remapper/src/model.ts>getModel

A framework for Beat Saber map scripting.
Latest
function getModel
import { getModel } from "https://deno.land/x/remapper@3.1.2/src/model.ts";

Get the objects from a .rmmodel, caches data if model hasn't changed.

Parameters

filePath: FILEPATH

Path to the .rmmodel.

optional
name: string

Name to cache the data as. Defaults to file name.

optional
process: (objects: ModelObject[]) => void

Function to run for each object on the cached data.

optional
processing: any[]

Parameters that will re-process the data if changed.