Skip to content

labstack/labstack-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 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, ApiError} = require('labstack')

const client = new Client('<API_KEY>')

client.barcodeGenerate({
  format: 'qr_code',
  content: 'https://labstack.com'
}).then(response => {
  client.download(response.id, '/tmp/' + response.name)
})
.catch(error => {
  console.error(error)
})

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

 
 
 

Contributors