# ember-a-b

> Unoppinionated and simple AB testing for Ember Apps

Latest version **0.0.1** (published 2017-03-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install ember-a-b
pnpm add ember-a-b
yarn add ember-a-b
bun add ember-a-b
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2017-03-26 |
| First published | 2017-03-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 4 |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | @ryanlabouve |
| Maintainers | ryanlabouve |
| Keywords | ember-addon, ab testing, marketing, SEO, ux |

## Links

- npm: https://www.npmjs.com/package/ember-a-b
- Repository: https://github.com/ryanlabouve/ember-a-b
- Homepage: https://github.com/ryanlabouve/ember-a-b#readme
- Issues: https://github.com/ryanlabouve/ember-a-b/issues
- npm.io page: https://npm.io/package/ember-a-b

## Dependencies (2)

- [ember-cli-babel](https://npm.io/package/ember-cli-babel.md) ^5.1.7
- [ember-cli-htmlbars](https://npm.io/package/ember-cli-htmlbars.md) 1.2.0

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2017-03-26

## README

# ember-a-b

> Disclosure: This is in active development.

Simple AB testing for your Ember Apps.

```
ember install ember-a-b
```
## For Usage

### Examples

*Block with contextual components*: TODO
```
{{#ember-a-b as |ab|}}
  {{#ab.a}}
    Cute puppies!
  {{/ab.a}}

  {{#ab.b}}
    Tiny dog creatures
  {{/ab.b}}

  {{!TODO CTA stuff}}
  {{ab.cta}} 
    <button onclick={{action "purchase"}}>
      Buy now!
    </button>
  {{/ab.cta}}

{{/ember-a-b}}
```

TODO *Inline:* TODO
{{ember-a-b 
  a="Cute Puppies!"
  b="Tiny dog creatures"
  cta="#signUpButton"}}

### Configuration

Install and use right now.

TODO:

* Add a config option to randomize in testing
* configure to send data to external source
* configure to use extranal source to show a or b

### Testing

TODO:

* If testing, always show A by default
* add test helper to either show one or the other

### API

TODO:

## For Development

### Installation

* `git clone <repository-url>` this repository
* `cd ember-a-b`
* `npm install`
* `bower install`

### Running

* `ember serve`
* Visit your app at [http://localhost:4200](http://localhost:4200).

### Running Tests

* `npm test` (Runs `ember try:each` to test your addon against multiple Ember versions)
* `ember test`
* `ember test --server`

### Building

* `ember build`

For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).

---
_Source: https://npm.io/package/ember-a-b · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
