cityssm/node-green-button-subscriber

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "@cityssm/green-button-subscriber",
  "version": "0.5.0",
  "type": "module",
  "engines": {
    "node": ">=18.0.0"
  },
  "description": "Handles the OAuth authentication, downloading, and parsing of Green ButtonĀ® data.",
  "keywords": [
    "connect-my-data",
    "download-my-data",
    "energy",
    "energy-consumption",
    "energy-usage",
    "espi",
    "green-button",
    "openespi",
    "open-energy-services-provider-interface",
    "third-party",
    "utilityapi",
    "xml-parser"
  ],
  "exports": {
    ".": "./index.js",
    "./index": "./index.js",
    "./index.js": "./index.js"
  },
  "scripts": {
    "test": "cross-env NODE_ENV=dev DEBUG=green-button-*  mocha --timeout 60000",
    "coverage": "cross-env NODE_ENV=dev DEBUG=green-button-* c8 --reporter=lcov --reporter=text --reporter=text-summary mocha --timeout 60000 --exit"
  },
  "author": "The Corporation of the City of Sault Ste. Marie",
  "license": "MIT",
  "homepage": "https://github.com/cityssm/node-green-button-subscriber#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/cityssm/node-green-button-subscriber.git"
  },
  "bugs": {
    "url": "https://github.com/cityssm/node-green-button-subscriber/issues"
  },
  "dependencies": {
    "@cityssm/green-button-parser": "^1.0.0",
    "axios": "^1.6.1",
    "debug": "^4.3.4"
  },
  "devDependencies": {
    "@types/debug": "^4.1.12",
    "@types/mocha": "^10.0.4",
    "@types/node": "^20.9.0",
    "cross-env": "^7.0.3",
    "eslint": "^8.53.0",
    "eslint-config-cityssm": "^1.0.0"
  }
}