open-index/open-npm huggingface dataset:
npm package: @hughescr/eslint-config-flow
Description: ESLint config using @hughescr/eslint-config-default and adding Flow type annotation support
Author: Craig Hughes
Latest version: 2.1.10
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

Overview
========

This is a default configuration set-up for how I like my ESLint to be set up, when I'm using [Flow](https://flowtype.org) for typechecking

```
npm install eslint-config-default eslint eslint-plugin-promise
```

Then put this in .eslintrc:

```
'use strict';

module.exports = {
    'extends': '@hughescr/eslint-config-flow',
};
```
npm package: @hughescr/generator-aws-lambda
Description: Yeoman generator to create a NodeJS AWS lamdba which can be written in modern Javascript (ES6) and will get transpiled appropriately for AWS
Author: Craig Hughes
Latest version: 2.0.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

Overview
========

This is a scaffold for the basic structure of a NodeJS AWS lambda function, which can be written in ES6 with Flow annotations, and will get transpiled down to something Lambda is happy with.

Use
===

Install yo and the generator (probably globally), create a directory for your project, then run the generator in that directory

```
npm -g install yo @hughescr/generator-aws-lambda
mkdir sample-project
cd sample-project
yo @hughescr/aws-lambda
```

Answer the questions for the config you want, then sit back and it'll build and set up:

* Main source stub
* Unit test stubs
* ESLint
* Grunt, including
  - `lint` target which runs lint
  - `test` target which runs tests & coverage report\
  - `package` target which creates a ZIP file you can upload to AWS
  - `deploy` target which will update a lambda on AWS with the code
  - `invoke` target which will test-invoke your lambda locally passing it an event you can specify
* NPM package.json, including
  - `postversion` script which handles git updating of version ticking
npm package: @hughescr/generator-node-basic
Description: Basic NodeJS project with package.json, .eslint.rc, Sublime project, test directory, Gruntfile, README, etc
Author: Craig Hughes
Latest version: 2.0.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

Overview
========

This is a scaffold for the basic structure of a NodeJS package for Craig's use

Use
===

Install yo and the generator (probably globally), create a directory for your project, then run the generator in that directory

```
npm -g install yo @hughescr/generator-node-basic
mkdir sample-project
cd sample-project
yo @hughescr/node-basic
```

Answer the questions for the config you want, then sit back and it'll build and set up:

* Main source stub
* Unit test stubs
* ESLint
* Gulp, including
  - `lint` target which runs lint
  - `mocha` target which runs the unit tests
  - `test` target which runs lint & tests
* NPM package.json, including
  - `postversion` script which handles git updating of version ticking
npm package: @hughescr/pge-rates
Description: Data about PG&E rate plans
Author: Craig Hughes
Latest version: 1.1.3
Deprecated: All the rates are way out of date but the structure might be helpful if someone wants to update the numbers and plans

# Overview

This is the basic residential rate data for PG&E's electric plans.  These are updated from time to time to track the latest PG&E rates, but the updating is not exactly religious, so the data might be slightly outdated.

Rate plans included in the dataset:

* E1
* E6 (new signups not allowed after 2016-05-31)
* E7 (deprecated rate plan that is no longer available)
* E9 (plug-in electric car owners only)
* EV (plug-in electric cat owners only)
* E-TOU-A
* E-TOU-B

# Usage

```
const pge_rates = require('@hughescr/pge-rates').rates;
const pge_baselines = require('@hughescr/pge-rates').baselines;

console.log(`The peak summer rate for plan E6 is ${pge_rates.E6.prices['Summer Peak']/100000}` $/kWh);
console.log(`Baseline amount for winter for non-electric heating households in region X is ${pge_baselines.code_b.X.Winter}` kWh/day);
```