UNPKG

@hapi/shot

Version:

Injects a fake HTTP request/response into a node HTTP server

18 lines (11 loc) 1.05 kB
<a href="https://hapi.dev"><img src="https://raw.githubusercontent.com/hapijs/assets/master/images/family.png" width="180px" align="right" /></a> # @hapi/shot #### Injects a fake HTTP request/response into your node server logic. **shot** is part of the **hapi** ecosystem and was designed to work seamlessly with the [hapi web framework](https://hapi.dev) and its other components (but works great on its own or with other frameworks). If you are using a different web framework and find this module useful, check out [hapi](https://hapi.dev) – they work even better together. ### Visit the [hapi.dev](https://hapi.dev) Developer Portal for tutorials, documentation, and support ## Useful resources - [Documentation and API](https://hapi.dev/family/shot/) - [Versions status](https://hapi.dev/resources/status/#shot) (builds, dependencies, node versions, licenses, eol) - [Changelog](https://hapi.dev/family/shot/changelog/) - [Project policies](https://hapi.dev/policies/) - [Free and commercial support options](https://hapi.dev/support/)