npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@cryptkeeperzk/providers

v0.4.3

Published

CryptKeeper providers

Downloads

18

Readme

@cryptkeeperzk/providers

The @cryptkeeperzk/providers package provides CryptKeeper injected providers that enable applications to easily connect and communicate with the CryptKeeper browser extension.

Table of Contents

Description

CryptKeeper is a browser extension that offers secure and private identity management and authentication solutions based on zero-knowledge proofs. The @cryptkeeperzk/providers package simplifies the integration of CryptKeeper functionality into applications by providing injected providers.

These injected providers allow applications to establish a connection with the CryptKeeper extension, enabling them to leverage its features and services. The package includes functions for initializing the CryptKeeper provider within the browser extension's InjectedScript and for connecting to CryptKeeper from an application.

With the @cryptkeeperzk/providers package, developers can seamlessly integrate CryptKeeper functionality into their applications, enhancing security and privacy while benefiting from the features offered by CryptKeeper.

Features

  • Simplified integration: The package offers injected providers which allow applications to establish a connection with the CryptKeeper extension effortlessly.

  • Secure identity management: CryptKeeper's zero-knowledge proof technology ensures the privacy and security of user identities, enhancing data protection.

  • Flexible communication: Applications can leverage CryptKeeper's features and services through the provided API, enabling custom interactions tailored to specific use cases.

Installation

Install the package using your preferred package manager:

npm install @cryptkeeperzk/providers

Usage

Inside CryptKeeper Browser Extension (Connector)

In the CryptKeeper browser extension's connector/cryptkeeper, it uses initializeCryptKeeperProvider function from the @cryptkeeperzk/providers package to initialize the CryptKeeper provider.

import { initializeCryptKeeperProvider } from "@cryptkeeperzk/providers";

const cryptkeeperInjectedProvider = initializeCryptKeeperProvider();

This initializes the CryptKeeper provider within the extension and allows applications to communicate with CryptKeeper seamlessly.

Inside an Application

To connect and communicate with CryptKeeper from an external application, use the cryptkeeperConnect function from @cryptkeeperzk/providers:

import { cryptkeeperConnect, type CryptKeeperInjectedProvider } from "@cryptkeeperzk/providers";

const cryptkeeperClient = await cryptkeeperConnect();

The cryptkeeperConnect function establishes a connection with CryptKeeper and returns a CryptKeeperInjectedProvider instance if CryptKeeper is installed, or undefined otherwise. You can await the function call to ensure the connection is established before proceeding with further operations.