# @types/golang-wasm-exec

> TypeScript definitions for golang-wasm-exec

Latest version **1.15.2** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/golang-wasm-exec
pnpm add @types/golang-wasm-exec
yarn add @types/golang-wasm-exec
bun add @types/golang-wasm-exec
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.15.2 |
| Published | 2023-11-07 |
| First published | 2021-03-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/golang-wasm-exec
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/golang-wasm-exec
- npm.io page: https://npm.io/package/@types/golang-wasm-exec

## Recent versions

- 1.15.2 (latest) — 2023-11-07
- 1.15.0 (ts3.7) — 2021-03-25
- 1.15.1 — 2023-10-18

## README

# Installation
> `npm install --save @types/golang-wasm-exec`

# Summary
This package contains type definitions for golang-wasm-exec (https://github.com/golang/go).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/golang-wasm-exec.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/golang-wasm-exec/index.d.ts)
````ts
/**
 * Go is the class as defined in the Golang `wasm_exec.js` distributable file required for WebAssembly.
 * Golang WebAssembly wiki: https://github.com/golang/go/wiki/WebAssembly
 */
declare class Go {
    argv: string[];
    env: { [envKey: string]: string };
    exit: (code: number) => void;
    importObject: WebAssembly.Imports;
    exited: boolean;
    mem: DataView;
    run(instance: WebAssembly.Instance): Promise<void>;
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: none

# Credits
These definitions were written by [Adam Pyle](https://github.com/pyle).

---
_Source: https://npm.io/package/@types/golang-wasm-exec · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
