Skip to content

labstack/labstack-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 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>')
const geocode = client.geocode()

geocode.address('eiffel tower')
.then(response => {
  console.info(response)
})
.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