# careful-4byte

> [npm](https://npmjs.com/package/careful-4byte) | [github](https://github.com/yoyyyyo/careful-4byte)

Latest version **0.1.0** (published 2022-07-02) · LGPL-2.1-only license · 0 weekly downloads

## Install

```sh
npm install careful-4byte
pnpm add careful-4byte
yarn add careful-4byte
bun add careful-4byte
```

## Health

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

Positive: has types; no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2022-07-02 |
| First published | 2022-07-01 |
| Weekly downloads | 0 |
| License | LGPL-2.1-only |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 34.5 KB |
| Known vulnerabilities | 0 (+24 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | yoyyyyo |

## Links

- npm: https://www.npmjs.com/package/careful-4byte
- Homepage: https://github.com/yoyyyyo/careful-4byte
- npm.io page: https://npm.io/package/careful-4byte

## Dependencies (3)

- [axios](https://npm.io/package/axios.md) ^0.27.2
- [buffer](https://npm.io/package/buffer.md) ^6.0.3
- [@ethersproject/abi](https://npm.io/package/@ethersproject/abi.md) ^5.6.4

## Recent versions

- 0.1.0 (latest) — 2022-07-02
- 0.0.2 — 2022-07-01
- 0.0.1 — 2022-07-01

## README

# careful-4byte
[npm](https://npmjs.com/package/careful-4byte) | [github](https://github.com/yoyyyyo/careful-4byte)

4byte.dictionary + semi-strict calldata checking = careful-4byte

## usage
```js
import Careful4Byte from 'careful-4byte';
const careful4byte = new Careful4Byte(true);

await careful4byte.resolve('0xe1c7392a')
    // => returns init()

await careful4byte.resolve('0x42966c68000000000000000000000000000000000000000000084595161401484a000000')
    // => returns burn(uint256) (instead of collate_propagate_storage(bytes16))

await careful4byte.resolve('0x60806040523480156100105...')
    // => returns null
```

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