# img-stats

> Grabs stats of the image you feed it

Latest version **0.5.2** (published 2015-08-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install img-stats
pnpm add img-stats
yarn add img-stats
bun add img-stats
```

## 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.5.2 |
| Published | 2015-08-10 |
| First published | 2013-03-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10 |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+16 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Jeffrey Lembeck |
| Maintainers | jlembeck |

## Links

- npm: https://www.npmjs.com/package/img-stats
- Repository: https://github.com/jefflembeck/img-stats
- Issues: https://github.com/jefflembeck/img-stats/issues
- npm.io page: https://npm.io/package/img-stats

## Dependencies (1)

- [xmldom](https://npm.io/package/xmldom.md) ^0.1.19

## Recent versions

- 0.5.2 (latest) — 2015-08-10
- 0.5.1 — 2015-05-22
- 0.5.0 — 2015-05-20
- 0.4.5 — 2015-04-27
- 0.4.4 — 2015-04-27
- 0.4.3 — 2015-04-27
- 0.4.2 — 2013-12-27
- 0.4.1 — 2013-12-26
- 0.4.0 — 2013-12-26
- 0.3.0 — 2013-12-26
- 0.1.0 — 2013-03-01

## README

# img-stats

Grabs stats of the image you feed it

## Getting Started
### On the server
Install the module with: `npm install img-stats`

```javascript
var img_stats = require('img-stats');
img_stats.stats( '/path/to/img.png' , function( data ){
  console.log(data.width); // 100
  console.log(data.height); // 100
  })
```

### In the browser
Download the [production version][min] or the [development version][max].

[min]: https://raw.github.com/jlembeck/img-stats/master/dist/img-stats.min.js
[max]: https://raw.github.com/jlembeck/img-stats/master/dist/img-stats.js



## Documentation
_(Coming soon)_

## Examples
_(Coming soon)_

## Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [grunt](https://github.com/cowboy/grunt).

_Also, please don't edit files in the "dist" subdirectory as they are generated via grunt. You'll find source code in the "lib" subdirectory!_

## Release History
_(Nothing yet)_

## License
Copyright (c) 2013 Jeffrey Lembeck  
Licensed under the MIT license.

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