1.0.3 • Published 7 months ago

france-identite-js v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
7 months ago

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();
1.0.3

7 months ago

1.0.2

7 months ago