1.1.4 • Published 8 years ago

n-translate-2 v1.1.4

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

n-translate-2

Installation

To install this library, run:

$ npm install n-translate-2 --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 n-translate-2

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 'n-translate-2';

@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, *.d.ts and *.metadata.json files:

$ npm run build

To lint all *.ts files:

$ npm run lint

License

MIT © Dennis Haulund Nielsen

1.1.4

8 years ago

1.1.3

8 years ago

1.1.123

8 years ago

1.1.122

8 years ago

1.1.121

8 years ago

1.1.120

8 years ago

1.1.119

8 years ago

1.1.118

8 years ago

1.1.117

8 years ago

1.1.116

8 years ago

1.1.115

8 years ago

1.1.114

8 years ago

1.1.113

8 years ago

1.1.111

8 years ago

1.1.11

8 years ago

1.2.11

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.21

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago

0.1.151

8 years ago

0.1.150

8 years ago

0.1.149

8 years ago

0.1.148

8 years ago

0.1.147

8 years ago

0.1.146

8 years ago

0.1.145

8 years ago

0.1.144

8 years ago

0.1.143

8 years ago

0.1.142

8 years ago

0.1.141

8 years ago

0.1.140

8 years ago

0.1.139

8 years ago

0.1.138

8 years ago

0.1.137

8 years ago

0.1.136

8 years ago

0.1.135

8 years ago

0.1.134

8 years ago

0.1.133

8 years ago

0.1.132

8 years ago

0.1.131

8 years ago

0.1.130

8 years ago

0.1.129

8 years ago

0.1.128

8 years ago

0.1.127

8 years ago

0.1.126

8 years ago

0.1.125

8 years ago

0.1.124

8 years ago

0.1.123

8 years ago

0.1.122

8 years ago

0.1.121

8 years ago

0.1.120

8 years ago

0.1.119

8 years ago

0.1.118

8 years ago

0.1.117

8 years ago

0.1.116

8 years ago

0.1.115

8 years ago

0.1.114

8 years ago

0.1.113

8 years ago

0.1.112

8 years ago

0.1.111

8 years ago

0.1.11

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago