<commit_before># base-options [![NPM version](https://badge.fury.io/js/base-options.svg)](http://badge.fury.io/js/base-options)

> Adds an `option` method to base-methods.

## Install

Install with [npm](https://www.npmjs.com/)

```sh
$ npm i base-options --save
```

## Usage

```js
var Base = require('base-methods');
var option = require('base-options');

// create your application and inherit `Base`
function App() {
  Base.call(this);
}
Base.extend(App);
var app = new App();

// add the `option` method to `App`
app.mixin('option', option);

// set/get options
app.option('foo', 'bar');
console.log(app.options);
//=> {foo: 'bar'}
```

## Related projects

* [base-methods](https://www.npmjs.com/package/base-methods): Starter for creating a node.js application with a handful of common methods, like `set`, `get`,… [more](https://www.npmjs.com/package/base-methods) | [homepage](https://github.com/jonschlinkert/base-methods)
* [class-utils](https://www.npmjs.com/package/class-utils): Utils for working with JavaScript classes and prototype methods. | [homepage](https://github.com/jonschlinkert/class-utils)

## Running tests

Install dev dependencies:

```sh
$ npm i -d && npm test
```

## Contributing

Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/base-options/issues/new).

## Author

**<NAME>**
<commit_msg>0.1.2 readme<commit_after># base-options [![NPM version](https://badge.fury.io/js/base-options.svg)](http://badge.fury.io/js/base-options)

> Adds an `option` method to base-methods.

## Install

Install with [npm](https://www.npmjs.com/)

```sh
$ npm i base-options --save
```

## Usage

```js
var Base = require('base-methods');
var option = require('base-options');

// create your application and inherit `Base`
function App() {
  Base.call(this);
}
Base.extend(App);
var app = new App();

// add the `option` method to `App`
app.mixin('option', option);

// set/get options
app.option('foo', 'bar');
console.log(app.options);
//=> {foo: 'bar'}
```

## Related projects

* [base-data](https://www.npmjs.com/package/base-data): adds a `data` method to base-methods. | [homepage](https://github.com/jonschlinkert/base-data)
* [base-methods](https://www.npmjs.com/package/base-methods): Starter for creating a node.js application with a handful of common methods, like `set`, `get`,… [more](https://www.npmjs.com/package/base-methods) | [homepage](https://github.com/jonschlinkert/base-methods)
* [class-utils](https://www.npmjs.com/package/class-utils): Utils for working with JavaScript classes and prototype methods. | [homepage](https://github.com/jonschlinkert/class-utils)

## Running tests

Install dev dependencies:

```sh
$ npm i -d && npm test
```

## Contributing

Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/base-options/issues/new).

## Author

**<NAME>**

{'fraction_non_alphanumeric': 0.18362533692722371, 'fraction_numerical': 0.0010107816711590297, 'mean_word_length': 4.518587360594796, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 18, 'lorem ipsum': 0, 'www.': 9, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5573520', 'n_tokens_mistral': 1018, 'n_tokens_neox': 973, 'n_words': 243}