seneca-brreg

2.0.0 • Public • Published

Build Status Coverage Status js-standard-style

seneca-brreg

Look up data from the Norwegian Entity Registry.

This is a module for the Seneca microservices toolkit.

Installation

$ npm i seneca
$ npm i seneca-brreg

Usage

'use strict'
 
const seneca = require('seneca')()
const brreg = require('seneca-brreg')
 
seneca.use(brreg)
 
seneca.act('role: brreg, cmd: lookup', {query: '994528130'}, (error, data) => {
  if (error) {
    console.error(error)
  } else {
    console.log(data)
  }
})
 
//=> [{entry}]

License

MIT

Robohash image of seneca-brreg

Package Sidebar

Install

npm i seneca-brreg

Weekly Downloads

1

Version

2.0.0

License

MIT

Unpacked Size

5.63 kB

Total Files

10

Last publish

Collaborators

  • maccyber
  • telemark
  • zrrrzzt