@rbxts/llama
v1.1.1-ts.1
Published
Lua Library for Immutable Data (Llama) by freddylist
Downloads
15
Maintainers
Readme
TS typings for freddylist's "Llama" library. Some useful links:
Run npm i @rbxts/llama
in your project directory.
After importing the library, you can use any utility from the documentation in TS.
- Dictionaries are objects
{}
- Lists are arrays
T[]
- Sets are interpreted as JS Sets
new Set<T>
-- In roblox-ts, aSet<number>
whose added values are1
and5
is just a table that looks like:lua { [1] = true, [5] = true }
import Llama from "@rbxts/llama";
or
import { Dictionary, List, Set } from "@rbxts/llama";
If you would like to contribute to Llama, please file Pull Requests and Issues in its GitHub repository, and not in the repository of this package.