# @arpi-1902/cvr-api

> Package for search in danish CVR (VAT) register

Latest version **1.0.3** (published 2022-03-14) · ISC license · 0 weekly downloads

## Install

```sh
npm install @arpi-1902/cvr-api
pnpm add @arpi-1902/cvr-api
yarn add @arpi-1902/cvr-api
bun add @arpi-1902/cvr-api
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2022-03-14 |
| First published | 2022-03-14 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | arpi-1902 |

## Links

- npm: https://www.npmjs.com/package/@arpi-1902/cvr-api
- Repository: https://github.com/Anna-1902/NPM-package-CVR
- Homepage: https://github.com/Anna-1902/NPM-package-CVR#readme
- Issues: https://github.com/Anna-1902/NPM-package-CVR/issues
- npm.io page: https://npm.io/package/@arpi-1902/cvr-api

## Dependencies (1)

- [axios](https://npm.io/package/axios.md) ^0.26.0

## Recent versions

- 1.0.3 (latest) — 2022-03-14
- 1.0.2 — 2022-03-14
- 1.0.1 — 2022-03-14
- 1.0.0 — 2022-03-14

## README

# CVR-api
Package for search in danish CVR (VAT) register 

The CVR-api can be used for searching in the danish and norwegian CVR register.
CVR number, p-number and company name can be used as search parameters to find a company in the register. Country is required. 
It is also possible to search for a company specifically by cvr, name, phone or productionunits.

## Install

```
npm install @arpi-1902/cvr-api
```

## Usage

#### Get company from register by search:

```
import { getCompanyBySearch } from '@arpi-1902/cvr-api'

const result = getCompanyBySearch (search input, country)
```

#### Get company from register by VAT

Note: VAT must be a number

```
import { getCompanyByVat } from '@arpi-1902/cvr-api'

const result = getCompanyByVat (vat, country)
```

#### Get company from register by name

```
import { getCompanyByName } from '@arpi-1902/cvr-api'

const result = getCompanyByName (name, country)
```

#### Get company from register by productionunit

```
import { getCompanyByProdu } from '@arpi-1902/cvr-api'

const result = getCompanyByProdu (produ, country)
```

#### Get company from register by phonenumber

```
import { getCompanyByPhone } from '@arpi-1902/cvr-api'

const result = getCompanyByPhone (phone, country)
```

---
_Source: https://npm.io/package/@arpi-1902/cvr-api · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
