2.0.0 • Published 6 years ago

seneca-brreg v2.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

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

2.0.0

6 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago