france-identite-js
v1.0.3
Published
This is a JavaScript library to validate French identity using the governement new service [France Identité](https://france-identite.gouv.fr/).
Downloads
2
Readme
france-identite-js
This is a JavaScript library to validate French identity using the governement new service France Identité.
The lib is currently using Selenium, but I am currently working on using the API.
Installation
npm install france-identite-js
Usage
/* eslint-disable no-console */
import verify from './lib/index.js';
const verificationsTodo = [
{
user: 'Stéphane Gully',
file: 'attestation.pdf',
},
{
user: 'Yves Volvic',
file: 'attestation.pdf',
},
{
user: 'John Doe',
file: 'test.pdf',
},
];
const run = async () => {
const results = await verify(verificationsTodo);
console.log(results);
};
run();