open-index/open-npm huggingface dataset:
npm package: @nib/nconf-transforms
Description: web.config like transforms for nconf
Latest version: 0.1.0

# nconf-transforms
Similar to .NET web.config transforms, nconf-transforms allows you to load nconf configuration files based on convention.
By default reads the `NODE_ENV` environment variable to select what config file to transform. Currently only supports JSON format.

## Usage

```js
require('nconf').argv().env() // don't forget to load your environment/argv variables if you want them!

var transform = require('nconf-transforms');

transform({
  dir: './config',
  reload: true // reload nconf when the config file changes
  format: require('nconf-yaml')
});
```

where your file tree is something like

```
/app
  app.js
  /config
    settings.json
    settings.production.json
```

settings.json

```json
{
  "someConfig": "someValue"
}
```

app.js

```js
var nconf = require('nconf');
console.log(nconf.get('someConfig')); // "someValue"
```

## API

`transform(options)`

Loads your base configuration and transforms it using the `NODE_ENV` environment variable to find the transform file.

Options:

- dir: String. The directory to find the configuration files. Defaults to `__dirname`, so set it anyway.
- fileName: String. The name of your configuration files (i.e `settings.json`, `settings.production.json`). Defaults to `settings`
- reload: Boolean. Toggles reloading of configuration when the base config changes.
- environment: String. The environment to transform to. Defaults to `process.env['NODE_ENV']`
- format: String. The nconf file format to use. Defaults to JSON.

Returns the `nconf` object so you can chain loading other configuration types/files.
npm package: @nib/node-gatling
Description: node wrapper around the gatling binaries.
Author: Matthew Turner
Latest version: 2.0.0

# @nib/node-gatling

node wrapper around the gatling binaries. 

Sets the correct working directory for gatling to run and invokes the ```gatling.bat``` file with all of the passed parameters.

## Usage

Simply install ```node-gatling``` and call ```gatling``` as you would when using the original gatling binaries.

### Install
```
  npm i @nib/node-gatling --save
```

### Run
```
  gatling -s SimulationName -rf ~/results/ 
```

> Note: '~' is replaced with the current working directory.

> This helps us achieve relative file paths when running gatling from project directories.

----------

See [the gatling docs](http://gatling.io/docs/2.0.0-RC2/general/configuration.html#command-line-options "http://gatling.io/docs/2.0.0-RC2/general/configuration.html#command-line-options") for a list of all the command line arguments.
npm package: @nib/react-price-ticker
Description: React price ticker component, auto increment price every 200ms
Latest version: 0.1.0

# react-price-ticker

Simple price ticker that shows a price increasing client side every 200ms
An example can be found here https://www.nib.com.au/health-insurance/itsworthit

## Installation

```bash
npm install --save @nib/react-price-ticker
```

## Usage

```js
import PriceTicker from './PriceTicker';

<PriceTicker incrementPrice={incrementPrice} currencySymbol="$"/>
```

#Props

#### incrementPrice:

Price that you want to increment by every second.

#### currencySymbol:

Defaults to the $ dollar sign.

## Change log

### 0.1.0

- Pushed: first version