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

@jax-data-science/api-clients

v0.0.2-0

Published

## Overview The library provides a centralized approach for frontend applications to interact with backend services across the [JAX Data Science](https://www.jax.org/research-and-faculty/data-science/tools-and-databases) ecosystem. It eliminates code du

Readme

@jax-data-science/api-clients by The Jackson Laboratory (JAX)

Overview

The library provides a centralized approach for frontend applications to interact with backend services across the JAX Data Science ecosystem. It eliminates code duplication by offering reusable API clients with consistent error handling and authentication. The library abstracts service communication details, allowing developers to focus on UI logic. All services are configurable, handle errors uniformly, and define type-safe models for robust data handling.

Designed primarily for component consumption but usable independently, it ensures consistency and maintainability as backend services evolve.

Installation

npm install @jax-data-science/api-clients

Available API Clients

Note: For a complete list of API clients, visit our Demo Application or check the generated documentation.

Quick Start

1. Set needed service configuration in your application (e.g., base URL, timeout)

/**
 * app.module.ts
 */

...
// MY_SERVICE_CONFIG: injection token used to provide configuration values (like API urls) for MyService
// MyServiceConfig is an interface that defines the structure of the configuration object
import { MY_SERVICE_CONFIG, MyServiceConfig } from '@jax-data-science/api-clients';
...

...
@NgModule({
  declarations: [...],
  ...
  providers: [
    {
      provide(MY_SERVICE_CONFIG, {
        useValue: {
          baseUrl: 'https://api.example.com', // could also come from environment variables
          timeout: 5000, // could also come from environment variables
        } as MyServiceConfig
      })
    }
  ]
})

2. Inject and use the API client in your components or services



/**
 * example.component.ts
 */

import { Component, OnInit } from '@angular/core';

import { MyService } from '@jax-data-science/api-clients';

@Component({
  selector: 'app-example',
  templateUrl: './example.component.html',
  styleUrls: ['./example.component.css']
})

export class ExampleComponent implements OnInit {
  data: any;

  // Inject MyService into the component
  constructor(private myService: MyService) {}

  ngOnInit() {
    // Use the service to fetch data
    this.myService.getData().subscribe(
      (response) => {
        this.data = response;
      },
      (error) => {
        console.error('Error fetching data:', error);
      }
    );
  }
}

Contributing

The JAX Data Science team welcomes and encourages collaborations!

Ways to Contribute

  • API Clients Development

  • Testing & Quality Assurance

  • Documentation

  • Bug Fixes & Enhancements

Reporting Issues

Found a bug or have a suggestion? Please email us at: [email protected]

When reporting issues please include:

  • a clear description of the problem or suggestion
  • steps to reproduce (for bugs)
  • expected vs. actual behavior
  • screenshots or code examples when applicable
  • environment details (browser, framework version, etc.)

Changelog

For detailed release notes and version history, see CHANGELOG.md.

More Information

GitHub Repo: jds-ui-components

Maintained By: JAX Data Science

Contact: [email protected]

Demo Application: View JDS Components