[![view on npm](https://badgen.net/npm/v/ipfs-gateway-emulator)](https://www.npmjs.org/package/ipfs-gateway-emulator)
[![npm module downloads](https://badgen.net/npm/dt/ipfs-gateway-emulator)](https://www.npmjs.org/package/ipfs-gateway-emulator)

# ipfs-gateway-emulator

ipfs-gateway-emulator is a distribution of [lws](https://github.com/lwsjs/lws) bundled with a "stack pack" to emulate the behavior of ipfs gateway. Moist notably it redirect to trailing slash and support `/ipfs/<hash>` url


## Synopsis

This package installs the `ipfs-emulator` command-line tool 

Running `ipfs-emulator`
```sh
$ ipfs-emulator
Listening on http://mbp.local:8000, http://127.0.0.1:8000, http://192.168.0.100:8000
```



## Install

```sh
$ npm install -g ipfs-gateway-emulator
```
