nik-check

Indonesian NIK checker. It currently uses the service hosted on https://data.kpu.go.id/ss8.php

Usage no npm install needed!

<script type="module">
  import nikCheck from 'https://cdn.skypack.dev/nik-check';
</script>

README

NIK Checker

Indonesian NIK checker. It currently uses the service hosted on https://data.kpu.go.id/ss8.php

var nik = require('nik-check');
nik({
  nik: '',
  name: ''
}, function(err, obj, distance){

});

Test

To pass all tests you need to specify the truthy test data inside the config.js.

After that:

$ npm test

License

MIT