<commit_before># ng2-swipe-cards
A kit of cards (including tinder-card) for angular2

# Installation
```bash
$ npm install ng2-swipe-cards --save
```

# Usage

For webpack consumers, first, import SwipeableCardModule to your entry AppModule file,

```bash
// Root app module file
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { SwipeCardsModule } from 'ng2-swipe-cards';

import { AppComponent } from './app/';

@NgModule({
  imports: [
    BrowserModule,
    SwipeCardsModule
    ...
  ],
  declarations: [AppComponent],
  bootstrap: [AppComponent]
});
```

Then, import ng2-swipe-cards and hammerjs in your vendor.ts file,
```bash
// vendor.ts file
import '@angular/common';
import '@angular/core';
...

import 'hammerjs';
import 'ng2-swipe-cards';
```
<commit_msg>docs: set demo link<commit_after># ng2-swipe-cards
A kit of cards (including tinder-card) for angular2

# Installation
```bash
$ npm install ng2-swipe-cards --save
```

# Demo
https://embed.plnkr.co/ebTZz51SsYUs7wzLemuo/

# Usage

For webpack consumers, first, import SwipeableCardModule to your entry AppModule file,

```bash
// Root app module file
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { SwipeCardsModule } from 'ng2-swipe-cards';

import { AppComponent } from './app/';

@NgModule({
  imports: [
    BrowserModule,
    SwipeCardsModule
    ...
  ],
  declarations: [AppComponent],
  bootstrap: [AppComponent]
});
```

Then, import ng2-swipe-cards and hammerjs in your vendor.ts file,
```bash
// vendor.ts file
import '@angular/common';
import '@angular/core';
...

import 'hammerjs';
import 'ng2-swipe-cards';
```

{'fraction_non_alphanumeric': 0.14385556202679092, 'fraction_numerical': 0.008736167734420501, 'mean_word_length': 4.174698795180723, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, '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': '3150501', 'n_tokens_mistral': 600, 'n_tokens_neox': 570, 'n_words': 159}