# ngx-ga

> [![Build Status](https://travis-ci.org/ah-kevin/ngx-ga.svg?branch=master)](https://travis-ci.org/ah-kevin/ngx-ga) [![codecov](https://codecov.io/gh/ah-kevin/ngx-ga/branch/master/graph/badge.svg)](https://codecov.io/gh/ah-kevin/ngx-ga) [![npm version](http

Latest version **0.0.7** (published 2017-11-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install ngx-ga
pnpm add ngx-ga
yarn add ngx-ga
bun add ngx-ga
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.7 |
| Published | 2017-11-15 |
| First published | 2017-11-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | bjke |
| Maintainers | kbjwdh |
| Keywords | angular4, angular2, angular |

## Links

- npm: https://www.npmjs.com/package/ngx-ga
- Repository: https://github.com/ah-kevin/ngx-ga
- Homepage: https://github.com/ah-kevin/ngx-ga#readme
- Issues: https://github.com/ah-kevin/ngx-ga/issues
- npm.io page: https://npm.io/package/ngx-ga

## Recent versions

- 0.0.7 (latest) — 2017-11-15
- 0.0.6 — 2017-11-15
- 0.0.5 — 2017-11-14
- 0.0.2 — 2017-11-14
- 0.0.1 — 2017-11-14
- 0.0.0 — 2017-11-14

## README

# ngx ga
[![Build Status](https://travis-ci.org/ah-kevin/ngx-ga.svg?branch=master)](https://travis-ci.org/ah-kevin/ngx-ga)
[![codecov](https://codecov.io/gh/ah-kevin/ngx-ga/branch/master/graph/badge.svg)](https://codecov.io/gh/ah-kevin/ngx-ga)
[![npm version](https://badge.fury.io/js/ngx-ga.svg)](http://badge.fury.io/js/ngx-ga)
[![devDependency Status](https://david-dm.org/ah-kevin/ngx-ga/dev-status.svg)](https://david-dm.org/ah-kevin/ngx-ga?type=dev)
[![GitHub issues](https://img.shields.io/github/issues/ah-kevin/ngx-ga.svg)](https://github.com/ah-kevin/ngx-ga/issues)
[![GitHub stars](https://img.shields.io/github/stars/ah-kevin/ngx-ga.svg)](https://github.com/ah-kevin/ngx-ga/stargazers)
[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/ah-kevin/ngx-ga/master/LICENSE)

## Demo
https://ah-kevin.github.io/ngx-ga/

## Table of contents

- [About](#about)
- [Installation](#installation)
- [Documentation](#documentation)
- [Development](#development)
- [License](#license)

## About



## Installation

Install through npm:
```
npm install --save ngx-ga
```

Then include in your apps module:

```typescript
import { NgModule } from '@angular/core';
import { NgxGaModule } from 'ngx-ga';

@NgModule({
  imports: [
    NgxGaModule.forRoot()
  ]
})
export class MyModule {}
```

Finally use in one of your apps components:
```typescript
import { Component } from '@angular/core';

@Component({
  template: '<hello-world></hello-world>'
})
export class MyComponent {}
```

You may also find it useful to view the [demo source](https://github.com/ah-kevin/ngx-ga/blob/master/demo/demo.component.ts).

### Usage without a module bundler
```
<script src="node_modules/ngx-ga/bundles/ngx-ga.umd.js"></script>
<script>
    // everything is exported ngxGa namespace
</script>
```

## Documentation
All documentation is auto-generated from the source via [compodoc](https://compodoc.github.io/compodoc/) and can be viewed here:
https://ah-kevin.github.io/ngx-ga/docs/

## Development

### Prepare your environment
* Install [Node.js](http://nodejs.org/) and [yarn](https://yarnpkg.com/en/docs/install)
* Install local dev dependencies: `yarn` while current directory is this repo

### Development server
Run `yarn start` to start a development server on port 8000 with auto reload + tests.

### Testing
Run `yarn test` to run tests once or `yarn run test:watch` to continually run tests.

### Release
* Bump the version in package.json (once the module hits 1.0 this will become automatic)
```bash
yarn run release
```

## License

MIT

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