# ss_45

> The 'Hello, world!' of MetaMask Snaps, now written in TypeScript.

Latest version **0.1.0** (published 2023-08-07) · (MIT-0 OR Apache-2.0) license · 0 weekly downloads

## Install

```sh
npm install ss_45
pnpm add ss_45
yarn add ss_45
bun add ss_45
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2023-08-07 |
| First published | 2023-08-07 |
| Weekly downloads | 0 |
| License | (MIT-0 OR Apache-2.0) |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=16.0.0 |
| Dependencies | 5 |
| Unpacked size | 131.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 125 |
| Maintainers | pooriagg |

## Links

- npm: https://www.npmjs.com/package/ss_45
- Repository: https://github.com/MetaMask/template-snap-monorepo
- Homepage: https://github.com/MetaMask/template-snap-monorepo#readme
- Issues: https://github.com/MetaMask/template-snap-monorepo/issues
- npm.io page: https://npm.io/package/ss_45

## Dependencies (5)

- [web3](https://npm.io/package/web3.md) ^4.0.3
- [buffer](https://npm.io/package/buffer.md) ^6.0.3
- [@metamask/key-tree](https://npm.io/package/@metamask/key-tree.md) ^9.0.0
- [@metamask/snaps-ui](https://npm.io/package/@metamask/snaps-ui.md) ^0.32.2
- [@metamask/snaps-types](https://npm.io/package/@metamask/snaps-types.md) ^0.32.2

## Recent versions

- 0.1.0 (latest) — 2023-08-07

## README

# TypeScript Example Snap

This snap demonstrates how to develop a snap with TypeScript. It is a simple
snap that displays a confirmation dialog when the `hello` JSON-RPC method is
called.

## Testing

The snap comes with some basic tests, to demonstrate how to write tests for
snaps. To test the snap, run `yarn test` in this directory. This will use
[`@metamask/snaps-jest`](https://github.com/MetaMask/snaps/tree/main/packages/snaps-jest)
to run the tests in `src/index.test.ts`.

## Notes

- Babel is used for transpiling TypeScript to JavaScript, so when building with
  the CLI, `transpilationMode` must be set to `localOnly` (default) or
  `localAndDeps`.

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