New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@dfinity/principal

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
a

@dfinity/principal

JavaScript and TypeScript library to work with Internet Computer principals

2.3.0
latest
100

Supply Chain Security

100

Vulnerability

76

Quality

98

Maintenance

100

License

Version published
Weekly downloads
86K
-12.99%
Maintainers
12
Weekly downloads
 
Created
Issues
67

@dfinity/principal

JavaScript and TypeScript library to work with Internet Computer Principals

Visit the Dfinity Forum and SDK Documentation for more information and support building on the Internet Computer.

Additional API Documentation can be found here.

Installation

Using Principal:

npm i --save @dfinity/principal

In the browser:

import { Principal } from "@dfinity/principal";

FAQs

Package last updated on 07 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts