0.0.1 • Published 8 months ago

bloxystores.js v0.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

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
0.0.1

8 months ago

0.0.0

8 months ago