@hounddesk/epayco-signature-verifier
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

epayco-signature-verifier

ePayco Signature verifier used for transactions integrity checks

Installation

This is a Node.js module available through the npm registry.

Before installing, download and install Node.js. Node.js 0.10 or higher is required.

Installation is done using the npm install command:

$ npm i @hounddesk/epayco-signature-verifier

Use the library

const { verify } = require('@hounddesk/epayco-signature-verifier');
const transactionIsLegit = verify({signature, transaction, separator}) 

Development

If you to contribute or run the project as standalone library

$ git clone git@github.com:hounddesk/epayco-signature-verifier.git --depth 1
$ cd epayco-signature-verifier
$ npm install

Then run the library in development mode:

$ npm run start:dev 

This library is build with TypeScript, you need to build the source first:

$ npm run build

Tests

To run the test suite, first install the dependencies, then run npm test:

$ npm i
$ npm test

Readme

Keywords

Package Sidebar

Install

npm i @hounddesk/epayco-signature-verifier

Weekly Downloads

4

Version

1.3.0

License

MIT

Unpacked Size

10.5 kB

Total Files

18

Last publish

Collaborators

  • degrammer