@jaredwray/mockhttp 0.0.1 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -3,14 +3,16 @@
3
3
  [![tests](https://github.com/jaredwray/mockhttp/actions/workflows/tests.yaml/badge.svg)](https://github.com/jaredwray/mockhttp/actions/workflows/tests.yaml)
4
4
  [![GitHub license](https://img.shields.io/github/license/jaredwray/mockhttp)](https://github.com/jaredwray/mockhttp/blob/master/LICENSE)
5
5
  [![codecov](https://codecov.io/gh/jaredwray/mockhttp/graph/badge.svg?token=eqtqoA3olU)](https://codecov.io/gh/jaredwray/mockhttp)
6
- [![npm](https://img.shields.io/npm/dm/mockhttp)](https://npmjs.com/package/mockhttp)
7
- [![npm](https://img.shields.io/npm/v/mockhttp)](https://npmjs.com/package/mockhttp)
6
+ [![npm](https://img.shields.io/npm/dm/@jaredwray/mockhttp)](https://npmjs.com/package/@jaredwray/mockhttp)
7
+ [![npm](https://img.shields.io/npm/v/@jaredwray/mockhttp)](https://npmjs.com/package/@jaredwray/mockhttp)
8
+ [![Docker Pulls](https://img.shields.io/docker/pulls/jaredwray/mockhttp)](https://hub.docker.com/r/jaredwray/mockhttp)
9
+
8
10
 
9
11
  A simple HTTP server that can be used to mock HTTP responses for testing purposes. Inspired by [httpbin](https://httpbin.org/) and built using `nodejs` and `fastify` with the idea of running it via https://mockhttp.org, via docker `jaredwray/mockhttp`, or nodejs `npm install jaredwray/mockhttp`.
10
12
 
11
13
  # Deploy via Docker
12
14
  ```bash
13
- docker run -d -p 8080:8080 jaredwray/mockhttp
15
+ docker run -d -p 3000:3000 jaredwray/mockhttp
14
16
  ```
15
17
 
16
18
  # Deploy via NodeJS
@@ -0,0 +1,3 @@
1
+ declare const start: () => Promise<void>;
2
+
3
+ export { start };