https://github.com/dead-beef/ng2-template-concat
Concatenate Angular 2+ templates
https://github.com/dead-beef/ng2-template-concat
angular build-tool nodejs
Last synced: about 2 months ago
JSON representation
Concatenate Angular 2+ templates
- Host: GitHub
- URL: https://github.com/dead-beef/ng2-template-concat
- Owner: dead-beef
- License: mit
- Created: 2019-04-27T22:40:15.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-27T22:44:15.000Z (about 7 years ago)
- Last Synced: 2025-10-10T13:59:24.945Z (8 months ago)
- Topics: angular, build-tool, nodejs
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ng2-template-concat
[](
https://www.npmjs.com/package/ng2-template-concat
) [](
https://nodejs.org/
) [](
https://libraries.io/npm/ng2-template-concat/
) [](
https://github.com/dead-beef/ng2-template-concat/blob/master/LICENSE
)
## Overview
Concatenate Angular 2+ templates.
## Requirements
- [`Node.js`](https://nodejs.org/)
- [`NPM`](https://nodejs.org/)
## Installation
```bash
npm install ng2-template-concat
```
## Usage
### CLI
```bash
Usage: ng2-template-concat [options]
Options:
-V, --version output the version number
-r, --root template root path (default: process.cwd)
-o, --output output file path (default: stdout)
-h, --help output usage information
```
### Module
```js
const concat = require('ng2-template-concat');
let js = concat.module(rootPath, [file1, file2, file3]);
```
## Licenses
* [`ng2-template-concat`](https://github.com/dead-beef/ng2-template-concat/blob/master/LICENSE)