fraud-game-of-life
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

Game of Life in WASM

Building

First, you must have wasm-pack installed. Go!

Then simply type:

wasm-pack build

This will generate a pkg folder that contains the library as a JS module (or whatever its called, IDK, something that can be used as a dependency in JS). Like so,

import { Universe, Cell } from "fraud-game-of-life"; // <<=== WASM

And to publish to NPM is as easy as,

wasm-pack publish

Note

This repository does not look nice, but it does contain the auto generated stuff just for show.

Readme

Keywords

none

Package Sidebar

Install

npm i fraud-game-of-life

Weekly Downloads

2

Version

0.2.0

License

none

Unpacked Size

42.3 kB

Total Files

5

Last publish

Collaborators

  • fraud