1.0.0 • Published 6 years ago

id5 v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

id5

国政通 NodeJS SDK

npm Travis branch Codecov branch David deps Known Vulnerabilities npm download

Installation

npm i id5 -S

Usage

const ID5 = require('id5');

const id5 = new ID5({
  username: 'runrioter',
  password: 'runrioterpsw',
  wsdlUrl: 'https://some.domain/someServices?wsdl',
  key: '87651234',
  iv: '87651234',
});

const matched = await id5.validateIDInfo('马冬梅', '21062419820628XXXX');

if (matched) {
  // ...
} else {
  // ...
}

Debug

Set DEBUG env variable to run your program.

DEBUG=id5 npm run \<some-script>

LICENSE

MIT

1.0.0

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago