npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

prembly-identitypass-sdk

v0.1.0

Published

The Prembly Identitypass SDK is a library that allows you to easily integrate verification services into your nodeJS app. The SDK is based on the Prembly Identitypass API, which provides a range of verification services, including data verification, ident

Downloads

31

Readme

Prembly Identitypass JavaScript SDK

The Prembly Identitypass SDK is a library that allows you to easily integrate verification services into your nodeJS app. The SDK is based on the Prembly Identitypass API, which provides a range of verification services, including data verification, identity verification, document verification, biometric verification, radar verification and other verification services.

Features

The Prembly Identitypass SDK offers the following features:

  • Data verification: verify the authenticity of datas from different countries and sources such as stamp duty, plate numbers, NIN, international passport, bvn, government-issued IDs, credit reports etc.

  • Global business verification: get essential company information you are doing/want to have a business with by verifying their authenticity, as well as for marketing and sales purposes by searching using company name, customer details, email, or country code, adhering to ISO-3166-1 Alpha-2 standards, and biometric-based registration verification.

  • Document verification: you can easily add document verification to your software applications by using document image verification method. It's a simple and efficient way to automate document verification across regions like Asia-Pacific (APAC), Europe, Middle East, and Africa (EMEA), North America (NA), and South America (SA).

  • Biometrics: Enroll and authenticate your users by utilizing facial recognition method. This allows you to register and verify your users' identities using their unique facial features.

  • Identity Radar: prevents fraud in digital businesses using quality data and our AI engine. Choose our Fraud Detection & Prevention solution for peace of mind.

  • General: you can also use other verification services.

Requirements

  • node.js
  • API credentials from Prembly Identitypass

Installation

To install the Prembly IdentityPass SDK, you can use npm, yarn and pnpm.

Using npm:

npm install prembly-identitypass-sdk

Using yarn:

yarn add prembly-identitypass-sdk

Using pnpm:

pnpm install prembly-identitypass-sdk

Configuration

After installing the app, you can import the SDK to use as follow:

import PremblyVerificationService,{ DataVerificationService, RadarVerificationService } from 'prembly-identitypass-sdk';

const config = {
apiKey = 'your_prembly_app_api_key';
appId = 'your_prembly_app_id';
env = 'default is set to test'; //should be changed to live
}

//creating an instance
const premblyVerifier = new PremblyVerificationService(config);

//you can access all prembly verification service here with their method aside data-verification and radar which has its own instance.

premblyVerifier.scope.method.then((res) => console.log(res));


//for radar, its different you have to create an instance of its own as follow:

const config = {appToken: 'your_prembly_apptoken'}

const premblyRadarVerifier = new RadarVerificationService(config)

//to use it

premblyRadarVerifier.radar({your field}).then(res => console.log(res))

Documentation

You can access all the verification services from the prembly instance aside from the data verification and radar service that has its own instance.

Data Verification

Each country service can be accessed by their acronym as follow:

import { DataVerificationService } from 'prembly-identitypass-sdk';

//for data verification its different you have to create an instance of its own as follow:

const premblyDataVerifier = new DataVerificationService(config)

//after setting the config, you can access different country and their data verification service as shown:

premblyDataVerifier.countryService.method.then((res)=> console.log(res))

eg: verify bvn data method in Nigeria service

premblyDataVerifier.ngService.bvn({ number: XXXX XXXX XXXX XXXX }).then((res) => console.log(res))

| Sn | Country | Acronym | | --- | ------------ | ------------- | | 1 | Nigeria | ngService | | 2 | Ghana | ghService | | 3 | Kenya | kyService | | 4 | Rwanda | rwService | | 5 | Sierra Leone | slService | | 6 | South Africa | saService | | 7 | Uganda | ugService | | 8 | Mashup | mashupService |

Other verification services

Each verification service can be accessed by their acronym as follow:

| Sn | Name | Acronym | | --- | --------- | ---------------- | | 1 | Biometric | biometricService | | 2 | Document | documentService | | 3 | Global | globalService |