logginservice
## Installation
Last updated 3 years ago by giorgio.galassi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install logginservice 
SYNC missed versions from official npm registry.

logginservice

Installation

To install this library, run:

$ npm install logginservice --save

Consuming your library

Once you have published your library to npm, you can import your library in any Angular application by running:

$ npm install logginservice

and then from your Angular AppModule:

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

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

// Import your library
import { SampleModule } from 'logginservice';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,

    // Specify your library as an import
    LibraryModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Once your library is imported, you can use its components, directives and pipes in your Angular application:

<!-- You can now use your library component in app.component.html -->
<h1>
  {{title}}
</h1>
<sampleComponent></sampleComponent>

Development

To generate all *.js, *.js.map and *.d.ts files:

$ npm run tsc

To lint all *.ts files:

$ npm run lint

License

MIT © Galassi Giorgio

Current Tags

  • 0.1.0                                ...           latest (3 years ago)

2 Versions

  • 0.1.0                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |