@dfinity/principal
Version:
JavaScript and TypeScript library to work with Internet Computer principals
26 lines (15 loc) • 617 B
Markdown
# @dfinity/principal
> Still using `@dfinity/principal`? Migrate to [`@icp-sdk/core`](https://js.icp.build/core/latest/upgrading/v4)!
JavaScript and TypeScript library to work with Internet Computer Principals
Do you want to know more about developing on the Internet Computer? Visit the [Developer Docs](https://internetcomputer.org/docs/home).
Additional API Documentation can be found [here](https://js.icp.build/core/v3.2/libs/principal/api).
---
## Installation
Using Principal:
```shell
npm i --save @dfinity/principal
```
### In the browser:
```ts
import { Principal } from '@dfinity/principal';
```