{"library":"smart-id-rest","type":"library","category":null,"description":"smart-id-rest is a Node.js client for the Smart-ID authentication and signing API. Version 1.2.4 is the current stable release. It provides methods for authentication and digital signing using Estonian e-residency Smart-ID certificates. The library abstracts the REST API, handling session creation and status polling. It is particularly useful for integrating Smart-ID into Node.js applications requiring strong authentication or digital signatures. The package is maintained by CitizenOS and has a small footprint with no required dependencies.","language":"javascript","status":"active","version":"1.2.4","tags":["javascript","smart-id"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install smart-id-rest","imports":["const smartIdClient = require('smart-id-rest')();","smartIdClient.init({ hostname, apiPath, relyingPartyUUID, replyingPartyName, issuers });","const result = await smartIdClient.authenticate(nationalIdentityNumber, countryCode);","const result = await smartIdClient.signature(nationalIdentityNumber, countryCode, hashBase64);","const authStatus = await smartIdClient.statusAuth(sessionId, sessionHash);","const signStatus = await smartIdClient.statusSign(sessionId);"]},{"cmd":"yarn add smart-id-rest","imports":[]},{"cmd":"pnpm add smart-id-rest","imports":[]}],"homepage":"https://github.com/citizenos/smart-id-rest#readme","github":"https://github.com/citizenos/smart-id-rest","docs":null,"changelog":null,"pypi":null,"npm":"smart-id-rest","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}