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

@adrien1212balitrand/auros-protocol

v1.0.6

Published

Official TypeScript SDK for the AUROS Protocol — RWA intelligence API

Readme

@adrien1212balitrand/auros-protocol

Official TypeScript/JavaScript SDK for the AUROS Protocol — the RWA intelligence layer.

Score MiCA readiness, browse 120+ tokenized products, rank jurisdictions, and generate compliance checklists — all via REST with typed responses.

Install

npm install @adrien1212balitrand/auros-protocol

Quickstart (< 5 min)

import { AurosProtocol } from "@adrien1212balitrand/auros-protocol";

const client = new AurosProtocol({
  apiKey: "auros_pk_test_demo", // demo key — 100 req/mo on free tier
});

const result = await client.score({
  description:
    "Retail warehouse Luxembourg €2.5M SPV professional investors whitepaper draft",
});

console.log(result.score, result.grade, result.mica_classification);

Get your own key (free, 100 requests/month):

const { api_key } = await new AurosProtocol({ apiKey: "auros_pk_test_demo" }).createKey({
  email: "[email protected]",
});
console.log(api_key); // store securely — shown once

Methods

| Method | Endpoint | Auth | |--------|----------|------| | score(body) | POST /api/v1/score | Bearer | | scoreBatch(body) | POST /api/v1/score/batch | Bearer | | products(query?) | GET /api/v1/products | Bearer | | jurisdictions(query?) | GET /api/v1/jurisdictions | Bearer | | checklist(body) | POST /api/v1/checklist | Bearer | | monitor(body) | POST /api/v1/monitor | Bearer (premium) | | getMonitor(id) | GET /api/v1/monitor/:id | Bearer (premium) | | deleteMonitor(id) | DELETE /api/v1/monitor/:id | Bearer (premium) | | dossier(body) | POST /api/v1/dossier | Bearer (premium) | | attest(body) | POST /api/v1/attest | Bearer (premium) | | verifyAttest(query) | GET /api/v1/attest/verify | None | | createChargeflowE(body) | POST /api/v1/chargeflow | Bearer (premium) | | createChargeflowW(body) | POST /api/v1/chargeflow/w | Bearer (premium) | | createChargeflowF(body) | POST /api/v1/chargeflow/f | Bearer (premium) | | createChargeflowEBatch(body) | POST /api/v1/chargeflow/batch | Bearer (premium) | | createChargeflowWBatch(body) | POST /api/v1/chargeflow/w/batch | Bearer (premium) | | createChargeflowFBatch(body) | POST /api/v1/chargeflow/f/batch | Bearer (premium) | | createChargeflowFromOcpi(body) | POST /api/v1/chargeflow/from-ocpi | Bearer (premium) | | listChargeflowPartners() | GET /api/v1/chargeflow/partners | None | | syncChargeflowPartner(body) | POST /api/v1/chargeflow/partners/sync | Bearer (premium) | | listChargeflow(query?) | GET /api/v1/chargeflow | Bearer (premium) | | getChargeflow(id) | GET /api/v1/chargeflow/:id | None | | verifyChargeflow(query) | GET /api/v1/chargeflow/verify | None | | retireChargeflow(id, body?) | POST /api/v1/chargeflow/:id/retire | Bearer (premium) | | registerWebhook(body) | POST /api/v1/webhooks | Bearer (premium) | | webhooks() | GET /api/v1/webhooks | Bearer (premium) | | deleteWebhook(id) | DELETE /api/v1/webhooks/:id | Bearer (premium) | | createKey(body) | POST /api/v1/keys | None | | greenWattScore(id) | GET /api/green/watt/:id | None | | greenCarbonQuality(id) | GET /api/green/carbon-quality/:id | None | | greenWattBatch(body) | POST /api/v1/green/watt/batch | Bearer (premium) | | greenCarbonQualityBatch(body) | POST /api/v1/green/carbon-quality/batch | Bearer (premium) |

Examples

Score with structured fields

const score = await client.score({
  asset_type: "real_estate",
  issuer_type: "company_spv",
  investor_type: "professional",
  whitepaper: "draft",
  jurisdiction: "luxembourg",
  value_eur: 2_500_000,
  has_kyc: true,
  has_data_room: false,
});

Browse RWA catalog

const catalog = await client.products({
  category: "bonds",
  yield_min: 4,
  sort: "apy",
  limit: 10,
});

Rank jurisdictions

const ranking = await client.jurisdictions({
  asset_type: "real_estate",
  investor_type: "professional",
  timeline_months: 6,
  budget: 50_000,
});

Compliance checklist

const checklist = await client.checklist({
  asset_type: "real_estate",
  jurisdiction: "luxembourg",
  structure: "spv",
});

Green Watt & CQS

// Public reads — no API key required on these routes (batch calls need a premium live key)
const watt = await client.greenWattScore("sunexchange");
console.log(watt.watt_score.rating, watt.watt_score.tier);

const batch = await client.greenWattBatch({
  items: [
    { id: "sunexchange" },
    { text: "Solar farm 12 MW PPA signed production MWh France" },
  ],
});
console.log(batch.succeeded, batch.items[0]);

Configuration

const client = new AurosProtocol({
  apiKey: process.env.AUROS_API_KEY!,
  baseUrl: "https://getauros.com", // default
  fetch: customFetch, // optional — for Node < 18 or testing
});

Errors

import { AurosProtocolError } from "@adrien1212balitrand/auros-protocol";

try {
  await client.score({ description: "short" });
} catch (err) {
  if (err instanceof AurosProtocolError) {
    console.log(err.code, err.status, err.message);
    // unauthorized | quota_exceeded | validation_error | ...
  }
}

Publishing (maintainers)

cd packages/auros-protocol
npm run build
npm login
npm publish --access public

Requires NPM_TOKEN in CI or interactive npm login. Do not publish without org approval.

Disclaimer

Responses are indicative intelligence only — not legal, tax, or investment advice. Validate with qualified counsel before any issuance.

Links