{"id":22245757,"url":"https://github.com/oddhill/node-bankid","last_synced_at":"2025-07-28T02:33:08.159Z","repository":{"id":44215265,"uuid":"68591208","full_name":"oddhill/node-bankid","owner":"oddhill","description":"A small library to help you more easily connect to the BankID HTTP/JSON API.","archived":false,"fork":false,"pushed_at":"2022-12-30T18:58:38.000Z","size":314,"stargazers_count":6,"open_issues_count":18,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-30T17:41:25.700Z","etag":null,"topics":["bankid","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oddhill.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-09-19T09:37:20.000Z","updated_at":"2023-06-24T14:22:43.000Z","dependencies_parsed_at":"2023-01-31T13:40:13.390Z","dependency_job_id":null,"html_url":"https://github.com/oddhill/node-bankid","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oddhill%2Fnode-bankid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oddhill%2Fnode-bankid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oddhill%2Fnode-bankid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oddhill%2Fnode-bankid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oddhill","download_url":"https://codeload.github.com/oddhill/node-bankid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227857778,"owners_count":17830263,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bankid","nodejs"],"created_at":"2024-12-03T05:18:23.459Z","updated_at":"2024-12-03T05:18:24.028Z","avatar_url":"https://github.com/oddhill.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BankID API Client\n\n[![Build Status](https://travis-ci.org/oddhill/node-bankid.svg?branch=master)](https://travis-ci.org/oddhill/node-bankid)\n[![Coverage Status](https://coveralls.io/repos/github/oddhill/node-bankid/badge.svg?branch=master)](https://coveralls.io/github/oddhill/node-bankid?branch=master) [![Greenkeeper badge](https://badges.greenkeeper.io/oddhill/node-bankid.svg)](https://greenkeeper.io/)\n\nThis package will help you make requests to the BankID HTTP/JSON API.\n\n## Requirements\n\n- A pfx certificate issued by a certified Bank.\n- The [request](https://www.npmjs.com/package/request) module needs to be installed as a dependency.\n\n## Getting started\n\nRun the following command in your terminal to install the module to your project.\n\n### NPM\n\n```\nnpm install @oddhill/bankid request\n```\n\n### Yarn\n\n```\nyarn add @oddhill/bankid request\n```\n\n## Example\n\nBelow is an example showing how to use the library when making a request to the Authenticate method on the BankID HTTP/JSON API.\n\n```\nconst bankid = require('bankid);\n\nconst options = {\n\tpfx: './path-to-your-pfx-certificate.pfx',\n\tpassphrase: 'certpassphrasse',\n};\n\nbankid(options, (err, service) =\u003e {\n\tif (err) console.log(err);\n\n\tconst args = {\n\t\tpersonalNumber: '199801011234',\n    endUserIp: '192.168.0.1',\n\t};\n\n\tservice.authenticate(args, (err, response) =\u003e {\n\t\tconsole.log(response);\n\t});\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foddhill%2Fnode-bankid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foddhill%2Fnode-bankid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foddhill%2Fnode-bankid/lists"}