sprocketdb

0.0.3 • Public • Published

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()

Readme

Keywords

none

Package Sidebar

Install

npm i sprocketdb

Weekly Downloads

3

Version

0.0.3

License

none

Unpacked Size

401 kB

Total Files

3

Last publish

Collaborators

  • brianmd