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

@angstroma/ng-a11y-sdk

v1.0.1

Published

Angular wrapper for the Angstroma accessibility SDK — Injectable service + standalone-friendly module for WCAG compliance in Angular apps

Readme

@angstroma/ng-a11y-sdk

Angular wrapper for the Angstroma accessibility SDK — a single injectable service that adds 112 WCAG 2.2 features (contrast, text zoom, dyslexia font, screen reader, and more) to your Angular app.


Install

npm install @angstroma/ng-a11y-sdk @angstroma/a11y-sdk

Get a publishable API key from the Angstroma dashboard.


Quick start (standalone — Angular 16+)

// app.config.ts
import { ApplicationConfig } from '@angular/core';
import { provideAngstroma } from '@angstroma/ng-a11y-sdk';

export const appConfig: ApplicationConfig = {
  providers: [
    provideAngstroma({
      apiKey: 'pk_live_...',
      // optional:
      // studentId: currentUser.id,
      // autoMount: true,
    }),
  ],
};
// any.component.ts
import { Component, inject } from '@angular/core';
import { AngstromaService } from '@angstroma/ng-a11y-sdk';

@Component({
  selector: 'app-a11y-toolbar',
  standalone: true,
  template: `
    <button (click)="a11y.toggle('contrast')">Toggle contrast</button>
    <button (click)="a11y.applyPreset('dyslexia-friendly')">Dyslexia mode</button>
    <p>Active: {{ (a11y.enabledFeatures$ | async)?.join(', ') }}</p>
  `,
})
export class A11yToolbarComponent {
  protected readonly a11y = inject(AngstromaService);
}

Quick start (NgModule)

// app.module.ts
import { AngstromaModule } from '@angstroma/ng-a11y-sdk';

@NgModule({
  imports: [
    AngstromaModule.forRoot({ apiKey: 'pk_live_...' }),
  ],
})
export class AppModule {}

API

AngstromaService

| Member | Description | |--------|-------------| | ready$: Observable<boolean> | Emits true once the SDK is mounted. | | enabledFeatures$: Observable<string[]> | Emits the current list of enabled feature codes whenever it changes. | | enable(code, value?) | Turn on a feature. | | disable(code) | Turn off a feature. | | toggle(code, value?) | Flip a feature's state. | | isEnabled(code) | Returns a boolean. | | getEnabledFeatures() | Returns string[]. | | applyPreset(presetCode) | Apply a named preset — returns Promise<void>. | | getPresets() | List available presets — returns Promise<Preset[]>. | | save() | Persist current state to the API. | | reset() | Turn every feature off. | | destroy() | Unmount and release resources. | | init(config) | Manually initialize when config comes from a runtime fetch. | | instance | The underlying vanilla AngstromaA11y instance (advanced). |

AI content transforms

await a11y.simplify(text, 5);                              // grade-5 reading level
await a11y.getHints(question, answer, { gradeLevel: 8 });
await a11y.generateAltText(imageUrl);
await a11y.rephrase(question, answer, 8);
await a11y.extractVocabulary(text, 8);

Full AI reference: https://angstroma.com/docs/ai-module


Configuration

interface AngstromaConfig {
  apiKey: string;                 // required
  apiUrl?: string;                // default: https://api.angstroma.com/api/v1
  studentId?: string;             // for profile persistence
  autoMount?: boolean;            // default: true
  mountTarget?: string | HTMLElement;  // default: document.body
}

// For i18n, import setLocale from @angstroma/a11y-sdk directly:
//   import { setLocale } from '@angstroma/a11y-sdk';
//   setLocale('es');

Requirements

  • Angular: 15.0+ (tested through 17)
  • RxJS: 7.0+
  • Peer: @angstroma/a11y-sdk (installed separately)

Links

License

MIT © Angstroma, Inc.