{"id":13599921,"url":"https://github.com/rustwasm/wasm-pack-template","last_synced_at":"2025-05-16T12:11:23.164Z","repository":{"id":38326169,"uuid":"137953856","full_name":"rustwasm/wasm-pack-template","owner":"rustwasm","description":"a template for starting a rust-wasm project to be used with wasm-pack","archived":false,"fork":false,"pushed_at":"2023-08-29T15:11:36.000Z","size":42,"stargazers_count":648,"open_issues_count":22,"forks_count":199,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-03T13:19:19.760Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rustwasm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE_APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-06-19T22:53:26.000Z","updated_at":"2025-03-29T11:57:17.000Z","dependencies_parsed_at":"2024-01-14T04:45:43.496Z","dependency_job_id":"0e09d136-6d8b-46a9-8316-c9598c880748","html_url":"https://github.com/rustwasm/wasm-pack-template","commit_stats":{"total_commits":40,"total_committers":10,"mean_commits":4.0,"dds":0.6,"last_synced_commit":"900bf343f0a67623757f0950f8a5a4df3832516f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustwasm%2Fwasm-pack-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustwasm%2Fwasm-pack-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustwasm%2Fwasm-pack-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rustwasm%2Fwasm-pack-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rustwasm","download_url":"https://codeload.github.com/rustwasm/wasm-pack-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248525758,"owners_count":21118748,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T17:01:18.886Z","updated_at":"2025-04-12T06:21:01.267Z","avatar_url":"https://github.com/rustwasm.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n  \u003ch1\u003e\u003ccode\u003ewasm-pack-template\u003c/code\u003e\u003c/h1\u003e\n\n  \u003cstrong\u003eA template for kick starting a Rust and WebAssembly project using \u003ca href=\"https://github.com/rustwasm/wasm-pack\"\u003ewasm-pack\u003c/a\u003e.\u003c/strong\u003e\n\n  \u003cp\u003e\n    \u003ca href=\"https://travis-ci.org/rustwasm/wasm-pack-template\"\u003e\u003cimg src=\"https://img.shields.io/travis/rustwasm/wasm-pack-template.svg?style=flat-square\" alt=\"Build Status\" /\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\n  \u003ch3\u003e\n    \u003ca href=\"https://rustwasm.github.io/docs/wasm-pack/tutorials/npm-browser-packages/index.html\"\u003eTutorial\u003c/a\u003e\n    \u003cspan\u003e | \u003c/span\u003e\n    \u003ca href=\"https://discordapp.com/channels/442252698964721669/443151097398296587\"\u003eChat\u003c/a\u003e\n  \u003c/h3\u003e\n\n  \u003csub\u003eBuilt with 🦀🕸 by \u003ca href=\"https://rustwasm.github.io/\"\u003eThe Rust and WebAssembly Working Group\u003c/a\u003e\u003c/sub\u003e\n\u003c/div\u003e\n\n## About\n\n[**📚 Read this template tutorial! 📚**][template-docs]\n\nThis template is designed for compiling Rust libraries into WebAssembly and\npublishing the resulting package to NPM.\n\nBe sure to check out [other `wasm-pack` tutorials online][tutorials] for other\ntemplates and usages of `wasm-pack`.\n\n[tutorials]: https://rustwasm.github.io/docs/wasm-pack/tutorials/index.html\n[template-docs]: https://rustwasm.github.io/docs/wasm-pack/tutorials/npm-browser-packages/index.html\n\n## 🚴 Usage\n\n### 🐑 Use `cargo generate` to Clone this Template\n\n[Learn more about `cargo generate` here.](https://github.com/ashleygwilliams/cargo-generate)\n\n```\ncargo generate --git https://github.com/rustwasm/wasm-pack-template.git --name my-project\ncd my-project\n```\n\n### 🛠️ Build with `wasm-pack build`\n\n```\nwasm-pack build\n```\n\n### 🔬 Test in Headless Browsers with `wasm-pack test`\n\n```\nwasm-pack test --headless --firefox\n```\n\n### 🎁 Publish to NPM with `wasm-pack publish`\n\n```\nwasm-pack publish\n```\n\n## 🔋 Batteries Included\n\n* [`wasm-bindgen`](https://github.com/rustwasm/wasm-bindgen) for communicating\n  between WebAssembly and JavaScript.\n* [`console_error_panic_hook`](https://github.com/rustwasm/console_error_panic_hook)\n  for logging panic messages to the developer console.\n* `LICENSE-APACHE` and `LICENSE-MIT`: most Rust projects are licensed this way, so these are included for you\n\n## License\n\nLicensed under either of\n\n* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally\nsubmitted for inclusion in the work by you, as defined in the Apache-2.0\nlicense, shall be dual licensed as above, without any additional terms or\nconditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustwasm%2Fwasm-pack-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frustwasm%2Fwasm-pack-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frustwasm%2Fwasm-pack-template/lists"}