1.0.1 • Published 6 months ago

vlookup-ondc v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

ONDC /vlookup UTILITY

  1. Install the package.
npm i vlookup-ondc
  1. Import the vLookUp method in your project.
const vLookUp = require("vlookup-ondc");

vLookUp({
  senderSubscriberId: "", //subscriber_id of sender
  privateKey: "", //private key of sender in base64 encoding

  //search parameters of the NP whose details need to be fetched from registry
  domain: "nic2004:52110",
  subscriberId: "buyerApp.com",
  country: "IND",
  type: "buyerApp", //buyerApp, sellerApp, gateway
  city: "std:080",
  env: "preprod", //staging,preprod,prod
}).then((res) => console.log(res));
  1. The output will include the registry details of the NP.

Please refer to the GitHub README for the documentation.

1.0.1

6 months ago

1.0.0

8 months ago