https://github.com/dead-beef/ng1-template-concat
Concatenate AngularJS templates
https://github.com/dead-beef/ng1-template-concat
angularjs build-tool nodejs
Last synced: 2 months ago
JSON representation
Concatenate AngularJS templates
- Host: GitHub
- URL: https://github.com/dead-beef/ng1-template-concat
- Owner: dead-beef
- License: mit
- Created: 2018-01-24T14:59:00.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-03T03:55:34.000Z (almost 8 years ago)
- Last Synced: 2025-10-06T13:55:56.000Z (8 months ago)
- Topics: angularjs, build-tool, nodejs
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ng1-template-concat
[](
https://www.npmjs.com/package/ng1-template-concat
) [](
https://nodejs.org/
) [](
https://libraries.io/npm/ng1-template-concat/
) [](
https://github.com/dead-beef/ng1-template-concat/blob/master/LICENSE
)
## Overview
Concatenate AngularJS templates.
## Requirements
- [`Node.js`](https://nodejs.org/)
- [`NPM`](https://nodejs.org/)
## Installation
```bash
npm install ng1-template-concat
```
## Usage
### CLI
```bash
Usage: ng1-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('ng1-template-concat');
let html = concat.html(rootPath, [file1, file2, file3]);
```
## Licenses
* [`ng1-template-concat`](https://github.com/dead-beef/ng1-template-concat/blob/master/LICENSE)