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

x/remapper/src/mod.ts>parseFilePath

A framework for Beat Saber map scripting.
Go to Latest
function parseFilePath
Re-export
import { parseFilePath } from "https://deno.land/x/remapper@3.0.0/src/mod.ts";

Parse a file path, allowing extension forcing and getting useful information.

Parameters

input: FILEPATH

Input path. Can be relative or absolute.

optional
ext: `.${string}`

Force extension on the file.

optional
error = [UNSUPPORTED]

Throw an error if the file doesn't exist.