Skip to content

labstack/labstack-node

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js Client

Installation

NPM npm install --save labstack
Yarn yarn add labstack

Quick Start

Sign up to get an API key

Create a file app.js with the following content:

const {Client} = require('labstack')

const client = new Client('<ACCOUNT_ID>', '<API_KEY>')
const store = client.store()
store.insert('users', {
  name: 'Jack',
  location: 'Disney'
}).then(doc => {
  console.log(doc)
}).catch(err => {
  console.error(err)
})

From terminal run your app:

node app.js

About

Official Node.js client library for the LabStack API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published