A collection of functions to operate on Lua/Luau data structures as immutable data.
Add luau-disk in your dependencies:
yarn add luau-diskOr if you are using npm:
npm install luau-diskVersions of Disk are also pre-built and linked to GitHub releases:
disk.rbxmis a Roblox model filedisk-bundled.luais a single-file version of the library (with Luau type annotations removed)
If you would like to use this library on a Lua environment, where it is currently incompatible, open an issue (or comment on an existing one) to request the appropriate modifications.
The library uses darklua to process its code.
Note: Documentation has not been fully written yet.
Documentation available within the repository, under the docs/ folder: documentation.