@metamask/utils

v9.2.1
Various JavaScript/TypeScript utilities of wide relevance to the MetaMask codebase

build

ts-bridge --project tsconfig.build.json --clean

build:docs

typedoc

lint

yarn lint:eslint && yarn lint:constraints && yarn lint:misc --check && yarn lint:dependencies --check && yarn lint:changelog

lint:changelog

auto-changelog validate

lint:constraints

yarn constraints

lint:dependencies

depcheck && yarn dedupe

lint:eslint

eslint . --cache --ext js,ts

lint:fix

yarn lint:eslint --fix && yarn lint:constraints --fix && yarn lint:misc --write && yarn lint:dependencies && yarn lint:changelog

lint:misc

prettier '**/*.json' '**/*.md' '!CHANGELOG.md' '**/*.yml' '!.yarnrc.yml' --ignore-path .gitignore --no-error-on-unmatched-pattern

prepack

./scripts/prepack.sh

test

yarn test:source && yarn test:types

test:source

jest && jest-it-up

test:types

tsd

test:watch

jest --watch
npm i @metamask/utils

Metadata

  • ISC
  • >=16.0.0
  • Unknown
  • released 8/30/2024

Downloads