@metamask/providers

v17.2.1
A JavaScript Ethereum provider that connects to the wallet over a stream
MetaMask Ethereum Provider

build

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

build:clean

rimraf dist && yarn build

build:docs

typedoc

build:types

tsc --project tsconfig.build.json

lint

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

lint:changelog

auto-changelog validate --prettier

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' '**/*.yml' '!.yarnrc.yml' --ignore-path .gitignore --no-error-on-unmatched-pattern

prepack

./scripts/prepack.sh

test

jest && jest-it-up

test:watch

jest --watch
npm i @metamask/providers

Metadata

  • MIT
  • ^18.18 || >=20
  • Unknown
  • released 10/3/2024

Downloads