0.3.6 • Published 10 months ago

@rbxts/lapis v0.3.6

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Lapis

A Roblox DataStore abstraction that offers:

  • Session Locking - Documents can only be accessed from one server at a time. This prevents some bugs and duping methods.
  • Validation - Ensure your data is correct before saving it.
  • Migrations - Update the structure of your data over time.
  • Retries - Failed DataStore requests will be retried.
  • Throttling - DataStore requests will never exceed their budget and throw an error.
  • Promise-based API - Promises are used instead of yielding.
  • Immutability - By default, documents are deep frozen must be updated immutably. This can be disabled.
  • Save Batching - Pending Document:save() and Document:close() calls are combined into one DataStore request when possible.
  • Auto Save - Documents are automatically saved every 5 minutes.
  • BindToClose - All documents are automatically closed when the game shuts down.

This library was inspired by Quicksave.

Warning

Lapis has not been battle-tested in a large production game yet. It may contain obscure bugs so use at your own risk.

0.3.6

10 months ago

0.3.5

11 months ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.4

11 months ago

0.3.3

12 months ago

0.3.0

1 year ago

0.2.11

1 year ago

0.2.10

1 year ago

0.2.9

2 years ago

0.2.8

2 years ago

0.2.7

2 years ago

0.2.6

2 years ago

0.2.3

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.0-ts.3

2 years ago

0.2.0-ts.2

2 years ago

0.2.0-ts.1

2 years ago