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

uhc-voice-core-ts

v0.1.3

Published

Reusable voice i18n core utilities for locale loading, template rendering, and language resolution.

Readme

uhc-voice-core-ts

Reusable voice i18n core utilities for UHC/UNID services.

Features

  • Load locale JSON files from ESM modules.
  • Resolve locale by language prefix with fallback.
  • Render {{variable}} templates.
  • Resolve localized language names with fallback to Intl APIs.
  • Share provider-neutral batch/streaming transcription contracts.
  • Share allowlisted intent proposal, resolution and provider-attempt contracts.
  • Keep companion conversation and consent-gated social fact proposals separate from operational intents.

Install

npm install uhc-voice-core-ts

API

  • loadJsonFile(relativePath, importMetaUrl)
  • resolveLocaleByPrefix(value, supportedLocales, fallbackLocale)
  • renderTemplate(template, vars)
  • getLocalizedLanguageName(targetLocale, uiLocale, localeNames, supportedLocales, fallbackLocale?)
  • AssistantAudioTranscriptionProvider for short push-to-talk audio.
  • AssistantStreamingTranscriptionProvider for later partial transcripts.
  • AssistantIntentProvider and AssistantIntentResolution for proposal-only deterministic/local/remote routing.
  • AssistantCompanionProvider for disclosed conversation whose extracted facts still require consent and confirmation.
  • resolveAssistantCompanionActivation for a controller-configurable wake phrase (default conversai) and speaker-scoped companion context.
  • Reviewable social, family, wellbeing and vital-sign proposals. Repeated measurements remain proposals until a clinical application groups and saves them through its canonical FHIR/Communication path.

Providers defined here have no SDK or GW dependency. Model output cannot invoke application functions; a channel validates, previews and confirms through its normal builders and authorization path.

Canonical Voice Flow

The current UHC/UNID phone-assistance flow is specified in:

Supporting demo-specific voice materials now live in:

That file is consumed by uhc-unid-chat-node and is the canonical source for:

  • onboarding gate fields
  • individual data capture menus
  • appointment and medication voice menus
  • permission-management prompts

The docs/101-VOICE_FLOW_V1_2_DEMO* files are supplementary demo documents. They belong with voice ownership, not with gdc-sdk-core-ts.