Wondering what‚Äôs next for npm?Check out our public roadmap! ¬Ľ

    dummy-worker
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.9¬†‚Äʬ†Public¬†‚Äʬ†Published

    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:

    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.

    Keywords

    none

    Install

    npm i dummy-worker

    DownloadsWeekly Downloads

    2

    Version

    0.0.9

    License

    ISC

    Unpacked Size

    370 kB

    Total Files

    6

    Last publish

    Collaborators

    • avatar