sendilkumarn / wasm-pack

pack up the wasm and publish it to npm!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wasm-pack

pack up the wasm and publish it to npm!

the goal of this project is to create a portable command line tool for publishing compiled wasm projects to the npm registry for the consumption of js devs using the npm CLI, yarn, or any other CLI tool that interfaces with the npm registry.

this project is a part of the rust-wasm group. you can find more info by visiting that repo!

prerequisities

this project is written in rust. get rust to work on this project.

up and running

  1. fork and clone this repository
  2. cd wasm-pack
  3. cargo run

what's it do?

right now? not much. here's the plan:

  • read data from Cargo.toml
  • read JS dependency data from your compiled wasm (see rust-wasm/36)
  • write data to package.json
  • log you in to npm
  • publish package to npm registry

About

pack up the wasm and publish it to npm!


Languages

Language:Rust 100.0%