# `@metamask/permission-controller`

Mediates access to JSON-RPC methods, used to interact with pieces of the MetaMask stack, via middleware for `@metamask/json-rpc-engine`.

## Installation

`yarn add @metamask/permission-controller`

or

`npm install @metamask/permission-controller`

## Understanding

Please read the [Architecture][./architecture.md] document for more on how PermissionController works and how to use it.

## Contributing

This package is part of a monorepo. Instructions for contributing can be found in the [monorepo README](https://github.com/MetaMask/core#readme).
