rollup-plugin-stringify-code
v1.0.2
Published
A [rollup.js](https://rollupjs.org/) plugin to turn Javascript code into string and assign it to variable.
Downloads
3
Readme
rollup-plugin-stringify-code
A rollup.js plugin to turn Javascript code into string and assign it to variable.
Use-cases
The plugin was created as a mechanism to support creating and spawning Web Workers from within a JS codebase.
See Encapsulating Web Workers blog post.