Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nets-kar

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nets-kar

Nets KAR Web Service API

  • 1.0.4
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Nets KAR Web Service API

This is a nodejs library that requests the Nets KAR Web Service API.

Contains both AMD and ESM modules and uses request for HTTP requests.

Requirements

You'll need a PKCS12 (.p12) certificate and a passphrase for the embedded private key.

Usage

Example:

import { createKar } from 'nets-kar'

createKar({ certificate: 'cert.p12', passphrase: '' })
  .verifyOwner('00000000000', '11111111111')
  .then(({ code, success, message }) => console.log(code, success, message))
  .catch(error => console.error('Request error', error))

Set the mode option to "production" when putting this into production. The default is "development".

Development

Uses Parcel for building the final AMD module.

Run npm run build to run build and npm run test for unit tests.

Documentation

  • https://www.nets.eu/no-nb/losninger/konto-og-adresseringsregister/Pages/dokumentasjon.aspx

FAQs

Package last updated on 09 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc