Skip to Content
Skip to Content

Require

zune.require


A library to use zune’s require resolver in luau.

Functions

navigate(path: string | buffer, from: (string | buffer)?, config: string | buffer?): string

Parameters

  • path: string | buffer - The path to navigate to.
  • from: (string | buffer)? - The path to navigate from. Defaults to the current file.
  • config: string | buffer? - The configuration to use.

Throws

  • Require Error
  • Memory Error

getCached

getCached(resolvedPath: string): any?

Parameters

  • resolvedPath: string

Throws

  • Require Error
  • Memory Error
Last updated on