<commit_before># Cocoen
[![Travis-CI](https://travis-ci.org/koenoe/cocoen/v2.svg)](https://travis-ci.org/koenoe/cocoen)
[![David](https://david-dm.org/koenoe/cocoen/v2.svg)](https://david-dm.org)

Touch-enabled before/after slider. Inspired by [before-after.js](https://github.com/jotform/before-after.js).

![](https://github.com/koenoe/cocoen/blob/master/readme.gif)

## Quick start
[Demo](https://koenromers.com/cocoen/)

### Install
```
npm install cocoen
```
Or download the [latest release](https://github.com/koenoe/cocoen/releases).

### Usage

Put the required stylesheet at the [top](https://developer.yahoo.com/performance/rules.html#css_top) of your markup:
<commit_msg>fix badges<commit_after># Cocoen
[![Travis-CI](https://travis-ci.org/koenoe/cocoen/v2.svg)](https://travis-ci.org/koenoe/cocoen)
[![David](https://david-dm.org/koenoe/cocoen/v2.svg)](https://david-dm.org)
[![NPM](https://nodei.co/npm/cocoen.png?downloads=true&downloadRank=true&stars=true)](https://www.npmjs.com/package/cocoen)

Touch-enabled before/after slider. Inspired by [before-after.js](https://github.com/jotform/before-after.js).

![](https://github.com/koenoe/cocoen/blob/master/readme.gif)

## Quick start
[Demo](https://koenromers.com/cocoen/)

### Install
```
npm install cocoen
```
Or download the [latest release](https://github.com/koenoe/cocoen/releases).

### Usage

Put the required stylesheet at the [top](https://developer.yahoo.com/performance/rules.html#css_top) of your markup:

{'fraction_non_alphanumeric': 0.2026936026936027, 'fraction_numerical': 0.0026936026936026937, 'mean_word_length': 5.16597510373444, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 20, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1475773', 'n_tokens_mistral': 601, 'n_tokens_neox': 569, 'n_words': 70}