# dsmr-parser

> Parser for DSMR (Dutch Smart Meter Requirements) data exchange protocol

Latest version **2.1.3** (published 2023-01-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install dsmr-parser
pnpm add dsmr-parser
yarn add dsmr-parser
bun add dsmr-parser
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.3 |
| Published | 2023-01-25 |
| First published | 2016-01-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 9.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Robert Klep |
| Maintainers | robertklep |

## Links

- npm: https://www.npmjs.com/package/dsmr-parser
- Repository: https://github.com/robertklep/node-dsmr-parser
- Homepage: https://github.com/robertklep/node-dsmr-parser#readme
- Issues: https://github.com/robertklep/node-dsmr-parser/issues
- npm.io page: https://npm.io/package/dsmr-parser

## Dependencies (1)

- [crc](https://npm.io/package/crc.md) ^3.8.0

## Recent versions

- 2.1.3 (latest) — 2023-01-25
- 2.1.2 — 2021-05-24
- 2.1.1 — 2019-02-10
- 2.1.0 — 2019-02-10
- 2.0.1 — 2016-04-11
- 2.0.0 — 2016-01-19
- 1.0.0 — 2016-01-19

## README

# DSMR parser

Quick and dirty DSMR ([Dutch Smart Meter Requirements](http://www.netbeheernederland.nl/themas/dossier/documenten/?pageindex=3)) parser. Will only parse DSMRv4 telegrams (not DSMRv3 or older).

## Installation

```
$ npm i dsmr-parser
```

## Caveats

DSMR "telegrams" should have a CRLF line ending, and should end with a blank line. This is a requirement of the protocol, and the checksum calculation depends on it.

## Example

```
const parser   = require('dsmr-parser');
const telegram = parser.parse(`\
/KFM5KAIFA-METER\r
\r
1-3:0.2.8(42)\r
...
!8A3F\r
\r
`);

console.log( telegram.objects );
```

---
_Source: https://npm.io/package/dsmr-parser · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
