1.1.4 • Published 7 years ago

n-translate-2 v1.1.4

Weekly downloads
4
License
MIT
Repository
github
Last release
7 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

7 years ago

1.1.3

7 years ago

1.1.123

7 years ago

1.1.122

7 years ago

1.1.121

7 years ago

1.1.120

7 years ago

1.1.119

7 years ago

1.1.118

7 years ago

1.1.117

7 years ago

1.1.116

7 years ago

1.1.115

7 years ago

1.1.114

7 years ago

1.1.113

7 years ago

1.1.111

7 years ago

1.1.11

7 years ago

1.2.11

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.21

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago

0.1.151

7 years ago

0.1.150

7 years ago

0.1.149

7 years ago

0.1.148

7 years ago

0.1.147

7 years ago

0.1.146

7 years ago

0.1.145

7 years ago

0.1.144

7 years ago

0.1.143

7 years ago

0.1.142

7 years ago

0.1.141

7 years ago

0.1.140

7 years ago

0.1.139

7 years ago

0.1.138

7 years ago

0.1.137

7 years ago

0.1.136

7 years ago

0.1.135

7 years ago

0.1.134

7 years ago

0.1.133

7 years ago

0.1.132

7 years ago

0.1.131

7 years ago

0.1.130

7 years ago

0.1.129

7 years ago

0.1.128

7 years ago

0.1.127

7 years ago

0.1.126

7 years ago

0.1.125

7 years ago

0.1.124

7 years ago

0.1.123

7 years ago

0.1.122

7 years ago

0.1.121

7 years ago

0.1.120

7 years ago

0.1.119

7 years ago

0.1.118

7 years ago

0.1.117

7 years ago

0.1.116

7 years ago

0.1.115

7 years ago

0.1.114

7 years ago

0.1.113

7 years ago

0.1.112

7 years ago

0.1.111

7 years ago

0.1.11

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago