{"id":17229103,"url":"https://github.com/stefcameron/try-web-workers","last_synced_at":"2025-06-25T00:39:15.828Z","repository":{"id":233197496,"uuid":"714055096","full_name":"stefcameron/try-web-workers","owner":"stefcameron","description":"Learning Web Worker APIs","archived":false,"fork":false,"pushed_at":"2023-11-03T20:18:39.000Z","size":130,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-30T16:46:24.957Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stefcameron.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-11-03T20:17:56.000Z","updated_at":"2023-11-03T20:18:43.000Z","dependencies_parsed_at":"2024-04-14T13:53:27.080Z","dependency_job_id":"ebe85457-9fed-4531-a4bc-c59c1f34aad9","html_url":"https://github.com/stefcameron/try-web-workers","commit_stats":null,"previous_names":["stefcameron/try-web-workers"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefcameron%2Ftry-web-workers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefcameron%2Ftry-web-workers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefcameron%2Ftry-web-workers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stefcameron%2Ftry-web-workers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stefcameron","download_url":"https://codeload.github.com/stefcameron/try-web-workers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245526170,"owners_count":20629834,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T04:46:00.852Z","updated_at":"2025-03-25T18:45:38.904Z","avatar_url":"https://github.com/stefcameron.png","language":"JavaScript","readme":"# Try Web Workers [![license](https://badgen.now.sh/badge/license/MIT)](./LICENSE)\n\nExperiment to learn about all types of [Web Workers](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API) available in Oct 2023.\n\n## Stack\n\n- Framework: [React](https://react.dev/)\n- Styling: Pure CSS styles\n  - Simply import your `.css` files into modules that use them.\n  - Use the `classnames` package (`import classnames from 'classnames'`) to combine classes.\n- Test runner: [Jest](https://jestjs.io/)\n- Testing framework: [React Testing Library](https://testing-library.com/docs/react-testing-library/intro)\n  - All the tools come through the \"global\" `import { ... } from 'testingUtility'` module which\n    can be imported from anywhere (path is aliased in Jest config).\n  - Includes [jest-dom](https://testing-library.com/docs/ecosystem-jest-dom) extensions.\n- Lint: [ESLint](https://eslint.org/)\n  - Configured for the browser in `/src`, for Jest in `/src/**/__tests__` directories, and for\n    node everywhere else.\n  - Using the latest (currently `es2024`) syntax.\n- Formatting: [Prettier](https://prettier.io/)\n- Bundling: [Webpack](https://webpack.js.org/)\n\n## Running\n\nUsing the latest stable version of Node (v20) and NPM (v9.6)...\n\n```bash\n$ npm install\n# installs all dependencies\n$ npm start\n# opens a browser to localhost:3000\n# set PORT=XXXX env to run on a different port\n\n$ npm fmt\n# formats the code using Prettier\n$ npm build\n# builds the production bundle\n$ npm build:dev\n# builds the development bundle\n```\n\n\u003e 💬 If your browser doesn't open, please open it manually to `localhost:3000`\n\n## Testing\n\n```bash\n$ npm test\n# checks formatting, linting, build, and tests\n$ npm run test:unit\n# runs unit tests only\n$ npm run lint\n# runs ESLint\n$ npm run fmt:check\n# runs Prettier in verification mode only\n```\n\n## Styles\n\nPure CSS, just `import './MyComponent.styles.css'` in your component's module\nthe styles will get loaded whenever/if ever the module is loaded at runtime.\n\nSee `./src/components/App/App.js` for an example.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefcameron%2Ftry-web-workers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstefcameron%2Ftry-web-workers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstefcameron%2Ftry-web-workers/lists"}