Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@rbxts/document-service
Advanced tools
DocumentService is a fully strictly typed Luau library for saving data with Roblox DataStores. It can be used for sesssion-locked data, such as player data, or for non-session-locked data, like shared groups or houses.
DocumentService is a fully strictly typed Luau library for saving data with Roblox DataStores. It can be used for sesssion-locked data, such as player data, or for non-session-locked data, like shared groups or houses.
See the docs for more information.
This is a new release and, although it has been thoroughly unit tested, it hasn't yet been used in a live production game - as with any open source software, use it at your own risk! I am working on adding it to my game, so this will not be a concern for too long.
Add DocumentService = "anthony0br/documentservice@LATEST_VERSION"
to your wally.toml
.
DocumentService has no dependencies so you can just copy and paste the contents of
target/roblox
into your project.
This library takes inspiration from Lapis, ProfileService, keyForm, and kampfkarren's blog. These are all great projects but didn't meet my needs in some way.
Contributions are accepted. Your contributions must run in Lune directly from src and, when compiled by darklua to target/roblox, in Roblox. You should use moonwave to update/generate documentation.
To build for Roblox:
rojo sourcemap source.project.json -o sourcemap.json
. It is necessary to generate a sourcemap of the src folder so darklua can convert our requires.darklua process src target/roblox
.The best way to get in touch is to ping me in the thread in the Roblox OSS discord, or create an issue.
FAQs
DocumentService is a fully strictly typed Luau library for saving data with Roblox DataStores. It can be used for sesssion-locked data, such as player data, or for non-session-locked data, like shared groups or houses.
We found that @rbxts/document-service demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.