# gulp-texturepacker

> Gulp plugin for TexturePacker

Latest version **1.0.2** (published 2016-07-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-texturepacker
pnpm add gulp-texturepacker
yarn add gulp-texturepacker
bun add gulp-texturepacker
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2016-07-19 |
| First published | 2016-07-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Andre Caetano |
| Maintainers | webcaetano |
| Keywords | gulpjs, gulpplugin, texturepacker, texture-packer, sprites, spritesheet |

## Links

- npm: https://www.npmjs.com/package/gulp-texturepacker
- Repository: https://github.com/webcaetano/gulp-texturepacker
- Homepage: https://github.com/webcaetano/gulp-texturepacker#readme
- Issues: https://github.com/webcaetano/gulp-texturepacker/issues
- npm.io page: https://npm.io/package/gulp-texturepacker

## Dependencies (2)

- [lodash](https://npm.io/package/lodash.md) ^4.13.1
- [through2](https://npm.io/package/through2.md) ^2.0.0

## Recent versions

- 1.0.2 (latest) — 2016-07-19
- 1.0.1 — 2016-07-19
- 1.0.0 — 2016-07-19

## README

# gulp-texturepacker

[![npm][npm-img]][npm-url]

Gulp plugin for TexturePacker

## Installation

```
npm install gulp-texturepacker
```

## Examples

```javascript
var tps = require('gulp-texturepacker');

gulp.src('test/atlas.tps')
.pipe(tps()); // output .tps with his setup
```

With options 
```javascript
gulp.src(['test/*.tps'])
.pipe(tps({
	sheet:'./test/dist/main.png',
	data:'./test/dist/data.json'
}));
```

## Options

#### sheet

Destination of spritesheet image (png, jpg, etc)

#### data

Destination of data file (json, plist, etc)

#### textureFormat

Sets the format for the textures.<br>
The format type is automatically derived from the sheet

#### format

TexturePacker format e.g. cocos2d, phaser-json-array<br>
Full list at TexturePacker --help

#### backgroundColor

background color format `FFFFFF`.

#### log

Type `Boolean` Default `false`<br>
Display logs

---------------------------------

The MIT [License](https://raw.githubusercontent.com/webcaetano/gulp-texturepacker/master/LICENSE.md)

[npm-img]: https://img.shields.io/npm/v/gulp-texturepacker.svg?style=flat-square
[npm-url]: https://npmjs.org/package/gulp-texturepacker

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