# grunt-jsttojs

> Building js tanplate with grunt

Latest version **0.1.0** (published 2014-01-04) · 0 weekly downloads

## Install

```sh
npm install grunt-jsttojs
pnpm add grunt-jsttojs
yarn add grunt-jsttojs
bun add grunt-jsttojs
```

## Health

**Score 10/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2014-01-04 |
| First published | 2012-12-18 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.8.0 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 11 |
| Author | Alexey Kupriyanenko |
| Maintainers | upwards |
| Keywords | gruntplugin, grunt, jsttojs |

## Links

- npm: https://www.npmjs.com/package/grunt-jsttojs
- Repository: https://github.com/kupriyanenko/grunt-jsttojs
- Homepage: http://upwards.github.com/grunt-jsttojs/
- Issues: https://github.com/kupriyanenko/grunt-jsttojs/issues
- npm.io page: https://npm.io/package/grunt-jsttojs

## Dependencies (1)

- [jsttojs](https://npm.io/package/jsttojs.md) >=1.2.0

## Recent versions

- 0.1.0 (latest) — 2014-01-04
- 0.0.3 — 2014-01-04
- 0.0.2 — 2013-03-10
- 0.0.1 — 2012-12-18

## README

grunt-jsttojs
=======

[![NPM version](https://badge.fury.io/js/grunt-jsttojs.png)](http://badge.fury.io/js/grunt-jsttojs)

Grunt task for [jsttojs](https://github.com/kupriyanenko/jsttojs) - a node.js module for precompile JavaScript templates to one file.

_If you haven't used [grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](https://github.com/cowboy/grunt/blob/master/docs/getting_started.md) guide._

### Getting Started

From the same directory as your project's Gruntfile and package.json, install this plugin with the following command:

```
$ npm install grunt-jsttojs
```

Once that's done, add this line to your project's Gruntfile:

```js
grunt.loadNpmTasks('grunt-jsttojs');
```

### Overview

Inside your `grunt.js` file add a section named `jsttojs`. This section specifies the options passed to [RequireJS Optimizer](http://requirejs.org/docs/optimization.html).

#### Config Example

Example requirejs jsttojs config:

```javascript
  jsttojs: {
    root: 'src/Templates',
    output: 'src/Templates/templates.js',
    ext: 'html',
    removebreak: true,
    amd: true,
    requirements: ['handlebars']
  }
```

### License

Copyright (c) 2012 Alexey Kupriyanenko a.kupriyanenko@gmail.com

grunt-jsttojs is released under the MIT license.

---
_Source: https://npm.io/package/grunt-jsttojs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
