GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - cxmeel/sift: Immutable data library for Luau.

BranchesTags
Open more actions menu

Latest commit

 

History

41 Commits
41 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.vscode
.vscode
 
 
docs
docs
 
 
modules
modules
 
 
src
src
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.prettierrc.json
.prettierrc.json
 
 
.stylua.toml
.stylua.toml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
TestRunner.server.lua
TestRunner.server.lua
 
 
aftman.toml
aftman.toml
 
 
default.project.json
default.project.json
 
 
foreman.toml
foreman.toml
 
 
moonwave.toml
moonwave.toml
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
selene.toml
selene.toml
 
 
serve.project.json
serve.project.json
 
 
sourcemap.json
sourcemap.json
 
 
test.project.json
test.project.json
 
 
testez.toml
testez.toml
 
 
tsconfig.json
tsconfig.json
 
 
wally.lock
wally.lock
 
 
wally.toml
wally.toml
 
 

Repository files navigation

Sift

Source code NPM Package Roblox library

Sift is no longer actively maintained. If you'd like to contribute, consider creating a fork.

Immutable data library for Luau and roblox-ts.

Heavily based on @freddylist's Llama library.

Read the docs →

Quick Start

Sift is available from Wally, the Roblox Creator Store and GitHub releases.

Wally

Wally is a CLI package manager (much like NPM, Yarn or Cargo) for Roblox by @UpliftGames. Find out more at https://github.com/upliftgames/wally.

# wally.toml

[dependencies]
Sift = "csqrl/[email protected]" # Replace with current version number
$ wally install

TypeScript

Sift includes built-in TypeScript compatibility. The API is identical to the Luau counterpart.

$ npm install @rbxts/sift
// example.ts
import { Dictionary } from "@rbxts/sift"

Dictionary.merge({ a: 1, c: 2 }, { b: 3, c: Sift.None }) // { a: 1, b: 3 }

Manual Installation

Grab a copy from the Roblox Creator Store or GitHub releases, and drop it into Studio. The Sift model file can be synced in using Rojo.

Contributions

Sift is not open for contributions and is not actively maintained. If you would like to contribute, please consider creating a fork.

What's Changed?

As per the recommendations in Llama's README, the following changes have been made:

  • Sift utilises native Luau types. Llama used @osyrisrblx/t for type checking, which meant that types were only checked at runtime. Sift does not use runtime type-checking. You will need to install a library like GreenTea or t manually.
  • Organised tests. *.spec files are now alongside their source files, making it easier to locate them.
  • Documentation is now generated using @upliftgames' moonwave (Docusaurus). This makes it quick and easy to add new documentation, and provides a pleasant experience for the user.
  • Built-in TypeScript typings.

About

Immutable data library for Luau.

cxmeel.github.io/sift/

Topics

conversiondatadictionaryimmutabilityimmutableluauroactrobloxroblox-luaroblox-rojorobloxdevrobloxluarojotypescriptutilitywally

Resources

Readme
MIT license
Activity

Stars

94 stars

Watchers

2 watching

Forks

11 forks
Report repository

Releases

Sponsor this project

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.