sprocketdb
v0.0.3
Published
This package provides an easy way to get started with Sprocket Datasets in NodeJS
Downloads
10
Readme
Sprocket DB Package
This package provides an easy way to get started with Sprocket Datasets in NodeJS
Example Usage:
import {sprocketDb} from "sprocketdb";
const main = async () => {
const query = await sprocketDb(); // factory function to setup the database
const aPlayer = await query("SELECT * FROM players LIMIT 1");
console.log(
aPlayer[0];
)
}
main()