# fixture-images

> Animated GIF/PNG/WEBP and Static GIF/PNG/WEBP/BMP/JPG/JXR/PSD/TIF

Latest version **0.1.5** (published 2015-06-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install fixture-images
pnpm add fixture-images
yarn add fixture-images
bun add fixture-images
```

## 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.5 |
| Published | 2015-06-01 |
| First published | 2015-05-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | 59naga |
| Maintainers | 59naga |
| Keywords | fixture, gif, apng, webp |

## Links

- npm: https://www.npmjs.com/package/fixture-images
- Repository: https://github.com/59naga/fixture-images
- Homepage: https://github.com/59naga/fixture-images#readme
- Issues: https://github.com/59naga/fixture-images/issues
- npm.io page: https://npm.io/package/fixture-images

## Alternatives

- [@mce/gif](https://npm.io/package/@mce/gif.md) — 2.6K weekly downloads
- [cleanse](https://npm.io/package/cleanse.md) — 173 weekly downloads
- [str](https://npm.io/package/str.md) — 127 weekly downloads
- [naming](https://npm.io/package/naming.md) — 95 weekly downloads
- [tap-telco-api](https://npm.io/package/tap-telco-api.md) — 19 weekly downloads

## Recent versions

- 0.1.5 (latest) — 2015-06-01
- 0.1.4 — 2015-06-01
- 0.1.3 — 2015-05-28
- 0.1.2 — 2015-05-28
- 0.1.1 — 2015-05-28
- 0.1.0 — 2015-05-28
- 0.0.1 — 2015-05-28
- 0.0.0 — 2015-05-28

## README

# Fixture images
* `animated.GIF`
  
  ![](./animated.GIF)
* `animated.PNG`
  
  ![](./animated.PNG)
* `animated.WEBP`
  
  ![](./animated.WEBP)
* `still.GIF`
  
  ![](./still.GIF)
* `still.PNG`
  
  ![](./still.PNG)
* `still.WEBP`
  
  ![](./still.WEBP)
* `still.JPG`
  
  ![](./still.JPG)
* `still.JXR(JPEG-XR)`
  
  ![](./still.JXR)
* `still.BMP`
  
  ![](./still.BMP)
* `still.PSD`
  
  ![](./still.PSD)
* `still.TIF`
  
  ![](./still.TIF)

# Usage
## Via npm
```bash
$ npm install fixture-images --save-dev
```
```js
var animated= require('fixture-images').animated;

console.log(animated.gif);// [47,49,46,38,39,61,...]
```

## Via bower
```bash
$ bower install fixture-images --save-dev
```
```html
<script src="/bower_components/fixture-images/all.min.js"></script>
<script>
var animated= fixtureImages.animated;

console.log(animated.gif);// [47,49,46,38,39,61,...]
</script>
```
## Via http/https
### in Node.js
```bash
$ npm install request --save-dev
```
```js
var url= 'http://cdn.rawgit.com/59naga/fixture-images/master/animated.GIF';

var request= require('request');
request.get({url:url,encoding:null},function(error,response,buffer){
  console.log(buffer);// [47,49,46,38,39,61,...]
});
```

### in Browser
```html
<script>
var url= 'https://cdn.rawgit.com/59naga/fixture-images/master/animated.GIF';

var xhr= new XMLHttpRequest;
xhr.open('GET',url,true);
xhr.responseType= 'arraybuffer';
xhr.send();

xhr.onload= function(){
  var binary= new Uint8Array(xhr.response);
  var blob= new Blob([binary],{type:'image/gif'});
  window.open(URL.createObjectURL(blob));
}
</script>
```

License
---
[MIT][License]

[License]: http://59naga.mit-license.org/

[sauce-image]: http://soysauce.berabou.me/u/59798/pixel.svg
[sauce]: https://saucelabs.com/u/59798
[npm-image]:https://img.shields.io/npm/v/pixel.svg?style=flat-square
[npm]: https://npmjs.org/package/pixel
[travis-image]: http://img.shields.io/travis/59naga/pixel.svg?style=flat-square
[travis]: https://travis-ci.org/59naga/pixel
[coveralls-image]: http://img.shields.io/coveralls/59naga/pixel.svg?style=flat-square
[coveralls]: https://coveralls.io/r/59naga/pixel?branch=master

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