jspenc72 / node-spriv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spriv Logo

node-spriv

  • Unofficial NodeJS SDK for Spriv
  • The worlds most advanced, secure and affordable 2FA on the market.

Node Spriv

The Official NodeJS SDK of Spriv 2FA

Prerequisites

  1. Create account on spriv.com
  2. Create an API Access Key

Quick Start

Create the app:

$ mkdir newApp
$ cd newApp
$ npm init

Install node-spriv as a dependency:

$ npm install --save node-spriv

Example Use

// index.js
var app_key = ""        //Your Spriv App Key
var app_secretkey = ""  //Your Spriv App Secret Key
var spriv = require("node-spriv")(app_key, app_secretkey)


// Now you are ready to begin using spriv

About