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

@myrx-token/mrx-access

v0.1.0

Published

MRxAccess SDK — verify patient identity and credentials against MRxWallet health identity infrastructure

Readme

@myrxwallet/mrx-access

MyRx-Access SDK — verify patient identity and credentials against MyRxWallet health identity infrastructure.

Server-side use only. Never expose your API key in a browser.

  • Docs & API keys: https://trinh.io/dev
  • Live platform: https://trinh.io

Install

npm install @myrxwallet/mrx-access

Quick Start

import { createMRxClient } from '@myrxwallet/mrx-access';

const mrx = createMRxClient({ apiKey: 'mrx_your_key_here' });

// Verify identity + get trust score in one call
const result = await mrx.access.verify({ wallet: '0x...' });

if (result.accepted) {
  console.log(result.mrx_id);      // e.g. "ID-3"
  console.log(result.mrx_score);   // e.g. 720
  console.log(result.signature);   // HMAC-signed proof
}

// Fetch FHIR R4 resources
const bundle = await mrx.fhir.bundle('0x...');
const meds   = await mrx.fhir.medicationStatement('LOT-12345');

// Score helpers
const band = mrx.score.band(result.mrx_score ?? 0);   // "Excellent" | "Good" | "Building"
const ok   = mrx.score.qualifies(result.mrx_score ?? 0, 500);

Classes

MyRx-Access

Identity verification with HMAC-signed receipts.

const access = new MyRx-Access({ apiKey: 'mrx_...' });
const result = await access.verify({
  wallet: '0x...',
  requires: ['MyRx-ID'],
  credentials: ['HIPAA_AUTH'],
  assurance: 'HIGH',
});

MRxProfile

Full identity profile: score, MRT balance, attestations, NFT.

const profile = new MRxProfile('mrx_...');
const data    = await profile.get('0x...');
console.log(data.mrx_score, data.mrt_balance, data.attestations);

MRxFHIR

FHIR R4 resources (HL7 4.0.1, US Core, USCDI v3+ compatible).

const fhir = new MRxFHIR('mrx_...');
await fhir.patient('0x...');
await fhir.consent('MyRx-ID-abc123');
await fhir.medicationStatement('LOT-12345');
await fhir.bundle('0x...');
await fhir.metadata();

MRxAttestation

Submit and list FHIR-anchored attestations. Contributes to MyRx-Score growth.

const attest = new MRxAttestation('mrx_...');

await attest.submit({
  wallet:       '0x...',
  type:         'ANNUAL_WELLNESS_VISIT',
  encounter_id: 'urn:myrxwallet:encounter:ENC-001',
  fhir_reference: 'Encounter/ENC-001',
});

const list = await attest.list('0x...');

Score Growth Paths

| Event | MRT Awarded | Notes | |-------|------------|-------| | Signup / MyRx-ID mint | +100 MRT | Base identity | | Access verification | +10 MRT | Activity signal | | Attestation added | +25 MRT | Credential depth | | Annual Wellness Visit | +50 MRT | Clinical engagement | | FHIR encounter-anchored | — | CMS CY2027 MA eligible |


Compliance

  • Non-custodial: No private keys held.
  • Non-transactional: No exchange, payment, or financial function.
  • HIPAA-aligned: No PHI in transit or stored by this SDK.
  • FHIR R4 / USCDI v3+: All FHIR resources conform to US Core profiles.
  • CMS CY2027: Encounter-anchored attestations support MA risk-score documentation.
  • DSCSA: MedicationStatement sourced from Section 582-aligned provenance.
  • MyRx-Chain-1: Hyperledger Fabric. Standard: MRxNFT-1.0.

MIT — MyRxWallet North America Corporation