@dfinity/identity

JavaScript and TypeScript library to manage identity with the Internet Computer

Usage no npm install needed!

<script type="module">
  import dfinityIdentity from 'https://cdn.skypack.dev/@dfinity/identity';
</script>

README

@dfinity/identity

JavaScript and TypeScript library to manage Identities and enable simple Web Authentication flows for applications on the Internet Computer

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 authentication:

npm i --save @dfinity/identity

In the browser:

import * as identity from "@dfinity/identity";

or using individual exports:

import { WebAuthnIdentity } from "@dfinity/identity";

Note: depends on @dfinity/agent