@dfinity/principal
Version:
JavaScript and TypeScript library to work with Internet Computer principals
24 lines (14 loc) • 497 B
Markdown
# @dfinity/principal
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://agent-js.icp.xyz/libs/principal/api).
## Installation
Using Principal:
```shell
npm i --save @dfinity/principal
```
### In the browser:
```ts
import { Principal } from '@dfinity/principal';
```