Installation
Sift is available from Wally, Itch.io, the Roblox Library, and GitHub releases.
While Sift is 100% free and open source, if you feel like sponsoring, Sift is also available on Itch.io.
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/sift@=0.0.1"
$ wally install
TypeScript
v0.0.1 of Sift includes TypeScript definitions. This means Sift is now compatible with roblox-ts. Refer to the Luau docs for API details.
$ npm install @rbxts/sift
// example.ts
import Sift from "@rbxts/sift"
Sift.Dictionary.merge({ a: 1, c: 2 }, { b: 3, c: Sift.None }) // { a: 1, b: 3 }
Alternatively, you can use tree-shaking to access the modules directly.
// example.ts
import { Dictionary, None } from "@rbxts/sift"
Dictionary.merge({ a: 1, c: 2 }, { b: 3, c: None }) // { a: 1, b: 3 }
Manual Installation
Grab a copy from the Roblox Library or GitHub releases, and drop it into Studio. The Sift model file can be synced in using Rojo.