0.0.2 • Published 6 years ago

@springbuck/ng-coinhive v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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.