Skip to content

dennemark/cjval_wasm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cjval_wasm

Forked from /~https://github.com/cityjson/cjval_wasm and published on npm as cjval_wasm_web and cjval_wasm_nodejs

To compile and run locally:

  1. install wasm-pack
  2. wasm-pack build -t web --out-dir ./www/pkg/
  3. cd ./www/
  4. python -m http.server 8080 (or any local webserver will do)
  5. with your browser go to http://localhost:8080/

Online demo

==> demo

Release

(can be improved a lot, most probably...)

for web

wasm-pack build -t web --out-dir ./www/pkg/ rename name in package.json to cjval_wasm_web wasm-pack pack ./www/pkg/ wasm-pack publish ./www/pkg/

for nodejs

wasm-pack build -t web --out-dir ./nodejs/pkg/ rename name in package.json to cjval_wasm_nodejs wasm-pack pack ./nodejs/pkg/ wasm-pack publish ./nodejs/pkg/

About

cjval compiled for WASM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 62.6%
  • Rust 21.9%
  • HTML 14.1%
  • CSS 1.4%