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

@areskit/standalone

v0.1.0-alpha.6

Published

A standalone build of the Ares SDK for seamless integration into web applications.

Downloads

13

Readme

Ares Standalone SDK

A standalone build of the Ares SDK for seamless integration into web applications. This package bundles all required dependencies and exposes a simple API for rendering the Ares KYC workflow.

Prerequisites

Before launching the KYC workflow, your backend must generate a temporary user token by calling the Ares API. This token authenticates the user throughout the workflow.

Step 1: Obtain a Client Access Token

Authenticate with the API using your client credentials. For detailed instructions, see the Authentication Guide.

curl -sS -f -X POST "${CRM_URL}/oauth/token" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  --data "grant_type=client_credentials&client_id=${CLIENT_ID}&client_secret=${CLIENT_SECRET}"

Step 2: Generate a User Token

Use the access_token from Step 1 to generate a temporary token for the user. The USER_ID is a unique identifier for the user in your system (e.g., a database primary key or UUID).

curl -sS -f -X GET "${API_URL}/api/digital-onboarding/token?userId=${USER_ID}" \
  -H "Authorization: Bearer ${access_token}" \
  -H "x-domain-id: ${X_DOMAIN_ID}" \
  -H "Origin: ${ORIGIN}"

The returned access_token is the temporary user token. Pass it to the credentialProvider function when initializing the SDK.

Installation & Integration

With a Bundler

Install the package using your preferred package manager:

npm install @areskit/standalone
# or
pnpm add @areskit/standalone
# or
yarn add @areskit/standalone
# or
bun add @areskit/standalone

Then import and initialize the SDK:

import { createAreskit } from '@areskit/standalone';
import '@areskit/standalone/styles.css';

const areskit = createAreskit({
  crmUrl: `${CRM_URL}`,
  apiUrl: `${API_URL}`,
  domainId: DOMAIN_ID,
  credentialProvider: async () => 'access_token',
});

const root = document.getElementById('root');
areskit.render(root);

Without a Bundler

Include the SDK directly via CDN:

<link
  rel="stylesheet"
  href="https://unpkg.com/@areskit/standalone/dist/umd/styles.css"
/>
<script src="https://unpkg.com/@areskit/standalone/dist/umd/areskit.js"></script>

Then initialize from the global Areskit object:

const areskit = window.Areskit.create({
  crmUrl: `${CRM_URL}`,
  apiUrl: `${API_URL}`,
  domainId: DOMAIN_ID,
  credentialProvider: async () => 'access_token',
});

const root = document.getElementById('root');
areskit.render(root);