Luke Childs
6525fd309e
Use shorthand handler in example code
6 years ago
Luke Childs
3d79890f4d
Simplify readme example with top level await
6 years ago
Luke Childs
238f198efb
Fix example code
6 years ago
Luke Childs
f8c5ba4947
Remove random char
6 years ago
Luke Childs
99159f8e6c
Expose raw http and https servers ( #33 )
6 years ago
Luke Childs
6af11837ea
Allow optionally disabling body parser ( #32 )
* Use default function paramter for options object
* Don't set body parsing middleware if opts.bodyParser is false
* Only test against Node.js versions 8 and 10
* Test if opts.bodyParser is false body parsing middleware is disabled
* Document disabling body parsing middleware
6 years ago
wtgtybhertgeghgtwtg
36d4b66e2f
Allow options to be passed to `body-parser`. ( #22 )
6 years ago
Luke Childs
455f463f4a
Fix body shorthand example
6 years ago
Luke Childs
6eb3f8e841
Document body parsing
6 years ago
Kevin Mårtensson
5788767aa7
Support returning body without wrapping it in a function ( #15 )
7 years ago
Kevin Mårtensson
03dcb004a6
Enable returning body directly ( #14 )
7 years ago
Luke Childs
6c160183fd
Document new port properties
7 years ago
Luke Childs
3725ebd8cd
Monthly downloads badge
7 years ago
Luke Childs
8b93d3a98f
Link to Node.js 8 Nock issue
7 years ago
Luke Childs
d361170289
Add creation explanation to readme
7 years ago
Luke Childs
e31e1ab59c
express => Express
7 years ago
Luke Childs
c6bd28a4ef
Remove Greenkeeper badge
7 years ago
greenkeeper[bot]
c1e61b0071
Update dependencies to enable Greenkeeper 🌴 ( #2 )
* chore(package): update dependencies
* docs(readme): add Greenkeeper badge
7 years ago
Luke Childs
9e92a7d971
Close server in test examples
7 years ago
Luke Childs
1b2f7b93ef
Use string interpolation in AVA examples
7 years ago
Luke Childs
fe5006d145
Document usage without AVA
7 years ago
Luke Childs
d6537d6540
Clarify returned server is already listening
7 years ago
Luke Childs
8a983da6ec
Update start/stop example
7 years ago
Luke Childs
8dfca4c986
Update API docs
7 years ago
Luke Childs
7dac973e55
Document new API behaviour
7 years ago
Luke Childs
6b7c478af6
Add create-cert to related section
7 years ago
Luke Childs
7d3bb44d80
Mention server listens automatically
7 years ago
Luke Childs
e400ce69da
Add API section to readme
7 years ago
Luke Childs
c6bd3d249b
Don't show the strictSSL got option on SSL example
7 years ago
Luke Childs
dec8114da4
Typo
7 years ago
Luke Childs
0052d45c4f
Update description
7 years ago
Luke Childs
a6443d917b
Document start/stop functionality
7 years ago
Luke Childs
e0744df41a
Unauthorised SSL example
7 years ago
Luke Childs
e3c2ba0c3c
Clarify what the certificate option is doing
7 years ago
Luke Childs
9bdce9aed2
Remove a newline
7 years ago
Luke Childs
bbb5f049bf
Comment express route
7 years ago
Luke Childs
8e0090d2ad
One line express routes
7 years ago
Luke Childs
a45d3f3be6
Only show imports on first suage example
7 years ago
Luke Childs
b7cf8d84ff
Add SSL usage example
7 years ago
Luke Childs
9571af00ba
Add usage section to readme
7 years ago
Luke Childs
cb4e29d741
Add description to readme
7 years ago
Luke Childs
a3ed2dd843
Credit Got
7 years ago
Luke Childs
a5595c36a6
Initial commit
7 years ago