Skip to content

maxint-app/teller-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node Teller

Nodejs client for teller.io API

Installation

$ npm install node-teller

or, with yarn

$ yarn add node-teller

Usage

First, generate certificates and private key from teller.io dashboard. Then place the files in your project root. Make sure to add them to .gitignore to avoid committing them to your repository.

Use in your project:

import { TellerClient } from 'node-teller';

const teller = new TellerClient({
  certificatePath: "./certificate.pem",
  privateKeyPath: "./private_key.pem",
  // optional. You will most likely will need to pass it in each request
  accessToken: "your_access_token_from_teller_connect"
});

teller.identity.get().then((identity) => {
  console.log(identity);
})

Follow the teller.io docs for more information.

License

MIT

About

Node.js Client for teller.io

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published