@springbuck/ng-coinhive
v0.0.2
Published
Coinhive front-end to https://github.com/isaiahiroko/laravel-coinhive
Downloads
5
Maintainers
Readme
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.