# grunt-template-file

> Replaces file with templated version defined by options. Useful for compile time definitions

Latest version **0.1.0** (published 2013-05-28) · 0 weekly downloads

## Install

```sh
npm install grunt-template-file
pnpm add grunt-template-file
yarn add grunt-template-file
bun add grunt-template-file
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2013-05-28 |
| First published | 2013-05-28 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.8.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Lachlan Ford |
| Maintainers | shadowford |
| Keywords | gruntplugin, template, images, assets, games |

## Links

- npm: https://www.npmjs.com/package/grunt-template-file
- Repository: https://github.com/shadowford/grunt-template-file
- Issues: https://github.com/shadowford/grunt-template-file/issues
- npm.io page: https://npm.io/package/grunt-template-file

## Alternatives

- [exif-parser](https://npm.io/package/exif-parser.md) — 3.8M weekly downloads
- [vite-plugin-compression](https://npm.io/package/vite-plugin-compression.md) — 569.5K weekly downloads
- [pica](https://npm.io/package/pica.md) — 442.4K weekly downloads
- [@reportportal/client-javascript](https://npm.io/package/@reportportal/client-javascript.md) — 408.8K weekly downloads
- [@tldraw/state](https://npm.io/package/@tldraw/state.md) — 316.0K weekly downloads

## Recent versions

- 0.1.0 (latest) — 2013-05-28

## README

grunt-template-file
===================

Grunt task which replaces file with templated version defined by options. Useful for compile time definitions

#Usage: 

    Requires a file and an options object with a data object inside. 
    The data object contains name-value pairs. e.g.
        file : "some/file.js",
        options : {
            data: {
                foo : "bar"
            }
        }

    this will tepmlate '<%= foo %>' into 'bar' in the file some/file.js

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