NG Coinhive
Table of Content
- Introduction
- Installation
- Configuration
- Usage
- Licence
Introduction
Provide user interaction, coinhive data for web apps.
Installation
$ npm install springbuck/ng-coinhive
"dependencies": {
...
"springbuck/ng-coinhive": "~0.0.0",
...
}
Configurations
// src/app/app.module.ts
import { NGCOINHIVE_CONFIG } from "@springbuck/ng-coinhive";
import { MY_NGCOINHIVE_CONFIG_VALUE } from "...";
providers: [
...
{ provide: NGCOINHIVE_CONFIG, useValue: MY_NGCOINHIVE_CONFIG_VALUE }
...
]
Usage
Licence
Released under the MIT License, LICENSE.