JSPM

@rbxts/llama

1.1.1-ts.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q48335F
  • License MIT

Lua Library for Immutable Data (Llama) by freddylist

Package Exports

  • @rbxts/llama
  • @rbxts/llama/out/init.lua

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@rbxts/llama) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

📚 Llama 🦙

Lua Library for Immutable Data

TS typings for freddylist's "Llama" library. Some useful links:

Installation

NPM

Run npm i @rbxts/llama in your project directory.

Usage

After importing the library, you can use any utility from the documentation in TS.

Llama data types for TS

  • Dictionaries are objects {}
  • Lists are arrays T[]
  • Sets are interpreted as JS Sets new Set<T> -- In roblox-ts, a Set<number> whose added values are 1 and 5 is just a table that looks like: lua { [1] = true, [5] = true }

Importing

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.