open-index/open-npm huggingface dataset:
npm package: @peakactivity/eslint-config-peakactivity
Description: Peak Activity's eslint configuration settings
Author: Kesniel Acton
Latest version: 1.0.2-develop

# eslint-config-peakactivity
Module to provide a linter config for Peak Activity's set of rules

# Usage
Add the package to your node project

`npm install @peakactivity/eslint-config-peakactivity --save-dev`

Once installed you can set eslint to use it in a config file like:

```
{
    "extends": "standard",
    "env": {
        "node": true,
        "mocha": true
    }
}
```

# References

1. https://eslint.org/docs/user-guide/configuring
2. https://eslint.org/docs/developer-guide/shareable-configs


For an example of all this in action see this repo:

https://bitbucket.org/citypeakactivity/ms-catalog
npm package: @peakactivity/omni-config
Description: Module to provide a general configuration scheme for NodeJS applications
Author: Kesniel Acton
Latest version: 1.0.15

# omni-config
Module to provide a general configuration scheme for NodeJS applications

# Usage
Add the package to your node project

`npm install @peakactivity/omni-archtype-web-server --save-dev`

Once installed you can require it in your application, like this:

```javascript
var config = require('@peakactivity/omni-config');
```

Then create a folder to house your json files. Pass that folder to the init function of the config.

```javascript
//load the configuration
config.init(path.join(__dirname, '/settings'));
```

Each file name will then be added to the settings object that you can reference. So if you place a file called app.json in the settings folder, it will then be loaded as app off the settings object. You can reference it like this:

```javascript
config.settings.app.swaggerHost
```

For an example of all this in action see this repo:

https://bitbucket.org/citypeakactivity/ms-catalog