Skip to content

A JavaScript/TypeScript API wrapper for the roblox datastores web API.

Notifications You must be signed in to change notification settings

Soap-0020/bloxystores.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What Is bloxystores.js?

A JavaScript/TypeScript API wrapper for the roblox datastores web API.

How Do I Install it?

Run "npm install bloxystores.js"

Usage

Connecting with your keys

import { connect } from "bloxystores.js";

connect({
  apiKey: API_KEY, // The api key from the roblox dashboard
  universeId: UNIVERSE_ID, // The universe of the game to use
});

Creating a new entry

import { dataStore } from "bloxystores.js";

const playerData = dataStore("playerData");

playerData
  .createOne(7, {
    // Create an entry with the id "7"
    cash: 101, // Set the value as { cash: 101 }
  })
  .then(console.log); // Log out the result

About

A JavaScript/TypeScript API wrapper for the roblox datastores web API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published