# dummy-worker

> Nothing to see here

Latest version **0.0.9** (published 2020-05-14) · ISC license · 0 weekly downloads

## Install

```sh
npm install dummy-worker
pnpm add dummy-worker
yarn add dummy-worker
bun add dummy-worker
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.9 |
| Published | 2020-05-14 |
| First published | 2020-05-12 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 361 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | maksim.nesterenko |
| Maintainers | maksim.nesterenko |

## Links

- npm: https://www.npmjs.com/package/dummy-worker
- Repository: https://github.com/maksnester/dummy-ww
- Homepage: https://github.com/maksnester/dummy-ww#readme
- Issues: https://github.com/maksnester/dummy-ww/issues
- npm.io page: https://npm.io/package/dummy-worker

## Recent versions

- 0.0.9 (latest) — 2020-05-14
- 0.0.8 — 2020-05-14
- 0.0.7 — 2020-05-13
- 0.0.6 — 2020-05-13
- 0.0.5 — 2020-05-12
- 0.0.4 — 2020-05-12
- 0.0.3 — 2020-05-12
- 0.0.1 — 2020-05-12

## README

# dummy-worker

This is a proof of concept library used to find a way to configure build to achieve inlining of both web worker
and webassembly into library js bundle. This "library" can be used, for example, in your react app
like this:

```jsx
import React from "react";
import { logWorker } from 'dummy-worker'

function App() {
  // creates a web worker which instantiates and uses a wasm module
  logWorker() 
  return <h1>Hello WW and WASM</h1>;
}

export default App;
```

It does nothing but print some messages in console.

* To inline wasm into js as a buffer
    * https://github.com/dflemstr/rust-native-wasm-loader (see also rust setup here)
    * https://github.com/DrSensor/webassembly-loader (does inlining)
* To inline webworker https://github.com/webpack-contrib/worker-loader

---
_Source: https://npm.io/package/dummy-worker · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
