Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

good-tenants-verification-package

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

good-tenants-verification-package

Official verification library of goodtenants.io

  • 1.0.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by300%
Maintainers
0
Weekly downloads
 
Created
Source

Good Tenant Popup Verificaion Library

The Good Tenant Popup Verificaion library provides convenient access to the Good Tenants Verification API from applications written in JavaScript/TypeScript.

Documentation

See the Good Tenant Docs for Documentation.

Requirements

Node 12 or higher.

Installation

Install the package with:

npm install verification-package
# or
yarn add verification-package

Usage

The package needs to be configured with your account's secret key, which is available in the [Good Tenants Dashboard][api-keys]. Require it with the key's value:

Usage with TypeScript

Import Verfication as a default import (not * as verification-package, unlike the DefinitelyTyped version) and instantiate the verification using Verification.setup() with the latest API version.

import Verification from "verification-package";

function initVerification() {
  Verification.setup({
    first_name: "john",
    last_name: "doe",
    email: "johndoe@mail.com",
    purpose: "residential" or "commercial"
    key: "pk_test_....",
    onClose: () => console.log("close"),
    callback: () => console.log("success"),
  });
}

initVerification();

Support

New features and bug fixes are released on the latest major version of the verification-package package.

More Information

Development

Run all tests:

$ yarn install
$ yarn test

If you do not have yarn installed, you can get it with npm install --global yarn

FAQs

Package last updated on 24 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc