Skip to content

A simple text analyzer implemented by using Web workers (dedicated and shared)

Notifications You must be signed in to change notification settings

andychiare/simple-text-analyzer-web-worker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

A simple real-time text analyzer using Web workers

This repository contains two implementation examples of a simple Web-based real-time text analyzer. Both implementations use Web workers, but the first one uses a dedicated worker while the second one uses a shared worker.

In order to run each example, the folders' content must be served by a web server.

If you have Node.js installed on your machine, you could install http-server by typing the following command:

npm install http-server -g

Then, change your current directory to the dedicated-worker or the shared-worker directory and type

http-server

This command launches a web server and shows a list of URLs like in the following:

> http-server
Starting up http-server, serving ./
Available on:
  http:https://172.24.164.161:8080
  http:https://10.0.75.1:8080
  http:https://10.0.0.3:8080
  http:https://127.0.0.1:8080
  http:https://172.22.32.1:8080
Hit CTRL-C to stop the server

Point your browser to one of these URLs in order to run the application.

About

A simple text analyzer implemented by using Web workers (dedicated and shared)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published