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

https://github.com/umut-sahin/javascript-examples

Collection of examples in JavaScript to show how to get things done in an idiomatic way
https://github.com/umut-sahin/javascript-examples

examples idiomatic javascript node

Last synced: about 1 month ago
JSON representation

Collection of examples in JavaScript to show how to get things done in an idiomatic way

Awesome Lists containing this project

README

          


JavaScript Examples


Collection of examples in JavaScript to show how to get things done in an idiomatic way

## Installing

You need to have [Node.js] **v10.0.0** or higher installed to run the examples.

Some examples depend on [npm] packages so, make sure you install everything before trying to run the examples.
You can do this with the following commands.

```
$ git clone https://github.com/umut-sahin/javascript-examples.git
$ cd javascript-examples
$ npm install
```

## Running a specific example

```
$ npm run -s
```

Also, you can pass arguments like so

```
$ npm run -s -- [arguments...]
```

## Available examples

- [brainfuck-interpreter]
- [command-line-arguments]
- [http-hello-world-server]
- [read-from-console]
- [tcp-echo-server]
- [timers]
- [write-to-console]

## Changelog

See [CHANGELOG].

## License

This repository is released under [MIT license].
Please see [LICENSE] for details.

## Contributing

Contributions are welcome!
Please see [CONTRIBUTING] for guidance.

## Authors

See [AUTHORS].

[//]: # (Links)

[AUTHORS]:
https://github.com/umut-sahin/javascript-examples/blob/master/AUTHORS.md
[brainfuck-interpreter]:
https://github.com/umut-sahin/javascript-examples/tree/master/brainfuck-interpreter
[CHANGELOG]:
https://github.com/umut-sahin/javascript-examples/blob/master/CHANGELOG.md
[command-line-arguments]:
https://github.com/umut-sahin/javascript-examples/tree/master/command-line-arguments
[CONTRIBUTING]:
https://github.com/umut-sahin/javascript-examples/blob/master/CONTRIBUTING.md
[http-hello-world-server]:
https://github.com/umut-sahin/javascript-examples/tree/master/http-hello-world-server
[LICENSE]:
https://github.com/umut-sahin/javascript-examples/blob/master/LICENSE
[MIT License]:
https://tldrlegal.com/license/mit-license
[Node.js]:
https://nodejs.org/
[npm]:
https://www.npmjs.com/
[read-from-console]:
https://github.com/umut-sahin/javascript-examples/tree/master/read-from-console
[tcp-echo-server]:
https://github.com/umut-sahin/javascript-examples/tree/master/tcp-echo-server
[timers]:
https://github.com/umut-sahin/javascript-examples/tree/master/timers
[write-to-console]:
https://github.com/umut-sahin/javascript-examples/tree/master/write-to-console