@dfinity/principal
Version:
JavaScript and TypeScript library to work with Internet Computer principals
24 lines (14 loc) • 543 B
Markdown
# @dfinity/principal
JavaScript and TypeScript library to work with Internet Computer Principals
Visit the [Dfinity Forum](https://forum.dfinity.org/) and [SDK Documentation](https://sdk.dfinity.org/docs/index.html) for more information and support building on the Internet Computer.
Additional API Documentation can be found [here](https://agent-js.icp.xyz/principal/index.html).
---
## Installation
Using Principal:
```
npm i --save @dfinity/principal
```
### In the browser:
```
import { Principal } from "@dfinity/principal";
```