JSPM

  • Created
  • Published
  • Downloads 138791
  • Score
    100M100P100Q159788F
  • License Apache-2.0

JavaScript and TypeScript library to work with Internet Computer principals

Package Exports

  • @dfinity/principal
  • @dfinity/principal/lib/cjs/index.js
  • @dfinity/principal/lib/cjs/utils/getCrc
  • @dfinity/principal/lib/cjs/utils/getCrc.js
  • @dfinity/principal/lib/cjs/utils/sha224
  • @dfinity/principal/lib/cjs/utils/sha224.js
  • @dfinity/principal/lib/esm/index.js
  • @dfinity/principal/lib/esm/utils/getCrc
  • @dfinity/principal/lib/esm/utils/getCrc.js
  • @dfinity/principal/lib/esm/utils/sha224
  • @dfinity/principal/lib/esm/utils/sha224.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@dfinity/principal) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@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";