Skip to content

Node.js: Introduction to Node.js, Events, and Streams

License

Notifications You must be signed in to change notification settings

cesce/node-events_streams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-events_streams

Node.js: Introduction to Node.js, Events, and Streams

Examples

example01

Simple example simmulating a task processing and ending when is finished using events.

example02

Node server example for uploading file

example03

Node echo server

Server:

npm start

Client:

curl localhost:8000

example04

Node log file server or upload file

Server:

npm start

Client:

curl -d 'Text to send to the log file' localhost:8000

curl --upload-file log_client.txt localhost:8000

example05

File upload (only .jpg) server with progress

npm start

Client:

curl --upload-file test.jpg localhost:8000

About

Node.js: Introduction to Node.js, Events, and Streams

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published