cm-libs-dukpt
TypeScript icon, indicating that this package has built-in type declarations

1.0.17 • Public • Published

Common DUKPT Library

Getting Started

This repository serve as a library for common Derived Unique Key Per Transaction (DUKPT).

How to setup environment?

  1. Clone this repository.

  2. Change directory to the repository.

  3. Install package dependencies.

    npm install
    

How to run unit-test?

  1. Write test cases in a *.test.ts file under the same folder with the actual module file. For example, module file src/dukpt.ts, unit-test file src/dukpt.test.ts.

  2. Run unit-test command.

    • To run single module unit-test.

      npm run test-this src/dukpt.test.ts
      
    • To run all unit-test.

      npm run test
      

How to debug?

Please use unit-test method for debugging.

  1. Set breakpoint on the source code by pressing F9 key.

  2. Run unit-test command with debugging.

    npm run debug-this src/dukpt.test.ts
    
  3. Start debugging by pressing F5 key.

How to release version?

Write commit message that contains keyword

  • run-release to publish patch version.
  • run-prerelease to publish prerelease version.

Readme

Keywords

none

Package Sidebar

Install

npm i cm-libs-dukpt

Weekly Downloads

32

Version

1.0.17

License

MIT

Unpacked Size

52.1 kB

Total Files

26

Last publish

Collaborators

  • paidchain