An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# ng1-template-concat

[![npm](https://img.shields.io/npm/v/ng1-template-concat.svg)](
https://www.npmjs.com/package/ng1-template-concat
) [![node](https://img.shields.io/node/v/ng1-template-concat.svg)](
https://nodejs.org/
) [![Libraries.io for GitHub](https://img.shields.io/librariesio/github/dead-beef/ng1-template-concat.svg)](
https://libraries.io/npm/ng1-template-concat/
) [![license](https://img.shields.io/github/license/dead-beef/ng1-template-concat.svg)](
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)