/ng-webworker

Repository featuring a web worker running within Angular.

Primary LanguageTypeScript

Angular & web workers

Project featuring web workers usage on Angular applications.
It showcases the usage of a simple worker - factorial calculation - and a worker that uses third party scripts - Excel generation.

You can find more information about the example on the following Medium article.

Running the example

  1. Install the dependencies:
npm install
  1. Run the project:
    You can run the example either in development mode or as an AOT compiled bundle.
# Development
npm start

# AOT bundle
npm run build && npm run static
  1. You can now access the application at http://localhost:4200