# pomeg

> a cli helper that create sprite image and output the raw offset information.

Latest version **1.0.0** (published 2017-10-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install pomeg
pnpm add pomeg
yarn add pomeg
bun add pomeg
```

Provides the command `pome`.

## 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.0 |
| Published | 2017-10-24 |
| First published | 2017-10-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | IAIAE |
| Maintainers | iaiae |
| Keywords | sprite, images |

## Links

- npm: https://www.npmjs.com/package/pomeg
- Repository: https://github.com/IAIAE/pome
- Homepage: https://github.com/IAIAE/pome#readme
- Issues: https://github.com/IAIAE/pome/issues
- npm.io page: https://npm.io/package/pomeg

## Dependencies (3)

- [praan](https://npm.io/package/praan.md) ^1.4.0
- [images](https://npm.io/package/images.md) ^3.0.1
- [layout](https://npm.io/package/layout.md) ^2.2.0

## 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

- 1.0.0 (latest) — 2017-10-24

## README

# pome
pome(granate) a cli helper that create sprite image and output the raw offset information.
![](https://github.com/IAIAE/pome/blob/master/pome.png)

# usage

## module
read all images in `./js_images` and generate a sprite image named `sprite.png`
```javascript
const Pome = require('pomeg')

let task = new Pome('./js_images', {
    padding: 0,
    order: 'binary-tree'
})
let {sourceMap} = task.sprite('./sprite.png')
console.info(sourceMap)
```

## CLI
```
$> npm install -g pomeg
$> pome ./js_images ./sprite.png
```

enjoy it

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