Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yoshuawuyts/http-adventure

[wip] Learn node's http module.
https://github.com/yoshuawuyts/http-adventure

Last synced: about 2 months ago
JSON representation

[wip] Learn node's http module.

Awesome Lists containing this project

README

        

# http-adventure
[![NPM version][npm-image]][npm-url]
[![Downloads][downloads-image]][downloads-url]

Learn node's `http` module.

## Installation
```bash
$ npm install -g http-adventure
```

## Usage
```bash
$ http-adventure

EXAMPLE-ADVENTURE
-----------------
hello_world
events
streams
request
response
introspection
module_parents
-----------------
HELP
EXIT

```

## Why?
Just about everyone knows `express`, but do you know `http`? By exploring the
layer underlying all frameworks you get a powerful tool in your arsenal,
allowing you to quickly create `http` connections by just running
`require('http')`.

This adventure is smaller in scope than [`learnyounode`](https://github.com/rvagg/learnyounode)
which teaches most of the node basics. If you're completely new to Node it's
recommended to start there.

If you're completely new to JavaScript it's recommended you try out
[`javascripting`](http://ghub.io/javascripting).

If you're here to just learn some `http`, I welcome you traveller!

## See Also
- [api/http](http://nodejs.org/api/http.html)

## License
[MIT](https://tldrlegal.com/license/mit-license)

[npm-image]: https://img.shields.io/npm/v/http-adventure.svg?style=flat-square
[npm-url]: https://npmjs.org/package/http-adventure
[downloads-image]: http://img.shields.io/npm/dm/http-adventure.svg?style=flat-square
[downloads-url]: https://npmjs.org/package/http-adventure