Importing the Library
Note
You can clone the entire Cascade repo into your project with something similar to wally, but there isn't currently a package manager that I know of which smoothly works with non roblox-dependent projects.
Pre-built releases
Cascade also has pre-built luau modules.
Over HTTP
This method will download the release dynamically using HttpGet.
local function import(owner, repo, version, file)
local tag = (version == "latest" and "latest/download" or "download/"..version)
return loadstring(game:HttpGetAsync(("https://github.com/%s/%s/releases/%s/%s"):format(owner, repo, tag, file)), file)()
end
local cascade = import("biggaboy212", "Cascade", "latest", "dist.luau")
-- If you want to use a specific release (i.e, beta releases), replace 'latest' with it's release tag.
Local Build
- Download a valid release: Cascade Releases
- Place the
luaumodule into your project (e.g., underpackages/).