@tipe/databox-loader

0.3.15 • Public • Published

Databox Loader

Tipe Databox Loader for talking with Databox

yarn add @tipe/databox-loader
const DATABOX_URL = process.env.DATABOX_URL
const databox = createDatabox(DATABOX_URL)

const query = {
  // MongoDB query
}

databox.user.create(query)

databox[MODEL][ACTION](query)

/*
// return data
{
  data: {},
  errors: []
}
*/

Readme

Keywords

none

Package Sidebar

Install

npm i @tipe/databox-loader

Weekly Downloads

0

Version

0.3.15

License

Apache-2.0

Last publish

Collaborators

  • aishablake
  • nakuliyer
  • dandra-mo
  • mfarmer
  • mrwade
  • jakesyl
  • mknapper1
  • kevinsims
  • traversng
  • tipe-npm
  • realmike33
  • hendrixer