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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@fr0ntier-x/polaris-sdk

v0.1.13

Published

Fr0ntierX’s Polaris SDK is a TypeScript library designed for encrypting and decrypting communications within [Polaris Secure Containers](https://www.fr0ntierx.com/polaris) and applications communicating with them.

Readme

Polaris SDK

Fr0ntierX’s Polaris SDK is a TypeScript library designed for encrypting and decrypting communications within Polaris Secure Containers and applications communicating with them.

Overview

Polaris SDK enables data encryption and decryption using an integrated asymmetric encryption scheme based on RSA asymmetric encryption and AES-GCM symmetric encryption. For more details on algorithm implementations, please refer to the Polaris Documentation.

Environments

Polaris SDK functions in both browser context (using the WebCrypto API) and in a Node.js context (using the Node.js Crypto API). This enables both backend servers and browsers to directly communicate with Polaris Secure Containers.

Key Management

Polaris SDK supports various keys via the KeyHandler interface. A KeyHandler is only required to implement the getPublicKey and unwrap methods, that require access to the private key. The rest of the integrated encryption scheme is implemented by the SDK in an unified manner.

We provide an ephemeral key handler as part of the SDK that generates a new key on each initialization. Additional implmenetations for permanent keys are available with the Polaris Proxy.

Installation

The SDK can be installed through any JavaScript package manager.

NPM

npm install @fr0ntier-x/polaris-sdk

Yarn

yarn add @fr0ntier-x/polaris-sdk

Usage

Polaris SDK is designed to be user-friendly. The following example demonstrates how to encrypt and decrypt messages using the SDK and an ephemeral key:

import { EphemeralKeyHandler, PolarisSDK } from "@fr0ntier-x/polaris-sdk";

const polarisSDK = new PolarisSDK(new EphemeralKeyHandler());
const publicKey = await polarisSDK.getPublicKey();

const message = "Hello from Polaris!";

const encryptedMessage = await polarisSDK.encrypt(Buffer.from(message), publicKey);
const decryptedMessage = await polarisSDK.decrypt(encryptedMessage);

console.log(decryptedMessage.toString()); // Hello from Polaris!

Axios Interceptors

If you are using axios for HTTP requests, you can use the request and response interceptors provided by the SDK to automatically encrypt and decrypt the request and response data.

import { createAxiosRequestInterceptor, createAxiosResponseInterceptor } from "@fr0ntier-x/polaris-sdk";

axios.interceptors.request.use(createAxiosRequestInterceptor({ polarisSDK }));
axios.interceptors.response.use(createAxiosResponseInterceptor({ polarisSDK }));

About Polaris

Fr0ntierX’s Polaris Secure Containers encrypt data throughout its lifecycle and isolate sensitive information from cloud providers or unauthorized entities by securing application deployment within a Trusted Execution Environment (TEE). For more information about Polaris Secure Containers, please visit the website.

Documentation

For more information about the Polaris SDK, please visit the Polaris Documentation website.

Support

If you encounter any problmes please refer to the documentation or create an Issue.

License

Polaris SDK is licensed under Apache 2.0. For more details, please refer to the LICENSE.