1.0.0 • Published 6 months ago

@cityssm/green-button-parser v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Green Button® Parser for Node

npm (scoped) DeepSource Maintainability codecov

Parse Green Button® formatted energy consumption feeds into JSON.

Features

  • Fully typed output.
  • Support for Green Button® XML containing full feeds and single entries.
  • Enumerated values translated to meaningful text.
  • Helpful functions to link things together.

Important Note

This code is for use with the Green Button Download My Data® (DMD) standard, or with Green Button® formatted XML.

💡 If you are looking to subscribe to Green Button® data using the Green Button Connect My Data® (CMD) standard, see the City of Sault Ste. Marie's Green Button® Subscriber.

💡 If you are looking for a full application to report on energy usage, see EMILE (Energy Monitoring in Less Effort).

Installation

npm install @cityssm/green-button-parser

Usage

import { atomToGreenButtonJson } from '@cityssm/green-button-parser'

const greenButtonJson = await atomToGreenButtonJson('<feed> ... </feed>')

Helpful Links

Trademarks

® GREEN BUTTON is a registered trademark owned by Departments of the U.S. Government.

The City of Sault Ste. Marie is a Liaison member of the Green Button Alliance.

1.0.0

6 months ago

0.8.0

7 months ago

0.7.0

8 months ago

0.6.1

9 months ago

0.6.0

10 months ago

0.5.3

10 months ago

0.5.2

10 months ago

0.5.1

10 months ago

0.5.0

10 months ago

0.4.0

10 months ago

0.3.0

10 months ago

0.2.0

10 months ago

0.1.0

10 months ago