You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was thinking of developing a Visual Studio Code extension to count lines of code. There are JavaScript packages on npm available (VSC is build on NodeJS) that do the job, however I guess it would be much faster to compute in WebAssembly.
Feature request
Shipping the count logic in a module without std/file system apis, which are not available on WebAssembly, would enable it to compile tokei to WebAssembly and ship it to npm. Files could be read with NodeJS or a Web Browser while the WASM module does the heavy lifting and returns the result on a per file basis.
The text was updated successfully, but these errors were encountered:
Motivation
I was thinking of developing a Visual Studio Code extension to count lines of code. There are JavaScript packages on npm available (VSC is build on NodeJS) that do the job, however I guess it would be much faster to compute in WebAssembly.
Feature request
Shipping the count logic in a module without std/file system apis, which are not available on WebAssembly, would enable it to compile tokei to WebAssembly and ship it to npm. Files could be read with NodeJS or a Web Browser while the WASM module does the heavy lifting and returns the result on a per file basis.
The text was updated successfully, but these errors were encountered: