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

arilekh-report-viewer

v1.0.5

Published

Angular report viewer component for the Arilekh Reporting Platform.

Readme

Arilekh Report Viewer

Angular report viewer component for the Arilekh Reporting Platform.

Installation

npm install arilekh-report-viewer

Usage

import { ReportViewerComponent } from 'arilekh-report-viewer';

...

@Component({
  selector: 'app-root',
  imports: [RouterOutlet, ReportViewerComponent],
  templateUrl: './app.html',
  styleUrl: './app.scss'
})
export class App implements IReportViewer {

  baseUrl: string = 'http://localhost:2943';

  constructor(private reportApiService: ReportViewerApiService, private http: HttpClient) { }
    
  render(req: RenderRequest): Observable<RenderResponse> {
    return this.http.post<RenderResponse>(`${this.baseUrl}/api/reports/render`, req)
  }
  getPage(sessionId: string, pageNumber: number): Observable<PageResponse> {
    return this.http.get<PageResponse>(`${this.baseUrl}/api/reports/${sessionId}/pages/${pageNumber}`)
  }
  getThumbnails(sessionId: string): Observable<ThumbnailListResponse> {
    return this.http.get<ThumbnailListResponse>(`${this.baseUrl}/api/reports/${sessionId}/thumbnails`);
  }
  search(sessionId:string, params: HttpParams): Observable<SearchResponse> {
    return this.http.get<SearchResponse>(`${this.baseUrl}/api/reports/${sessionId}/search`, { params });
  }
  loadSession(sessionId: string): Observable<RenderResponse> {
    console.log('>>>',this.http);
    return this.http.get<RenderResponse>(`${this.baseUrl}/api/reports/${sessionId}/info`);
  }
  renderServer(req: { reportXml: string; dataProviderKey: string; parameters?: Record<string, unknown>; ttlMinutes?: number; }): Observable<RenderResponse> {
    return this.http.post<RenderResponse>(`${this.baseUrl}/api/reports/render-server`, req);
  }

  ngOnInit(): void {
    this.reportApiService.setProvider(this);
    this.reportApiService.setLoading(true);

    this.http.post(`${this.baseUrl}/api/reports/generate-sales`,{ Req: 'Test' }).subscribe({        
      next: (v:any) => {
        this.reportApiService.loadSession(v.sessionId).subscribe({
            next: res => {
                console.log('session loaded', res);
            },
            error: err => {
                console.error(err);
            }
        });;
        console.log('resolve', v, v.sessionId);
      },
      error: (e) => {
        console.log('error', e);
      }
    });
  }
}

Features

  • Report viewing
  • Zoom
  • Pagination
  • Export support

API Endpoints

In arilekh-report repository, please find ArilekhReport.WebApi project for your reference. You can modify the API endpoints as you wish. But, Arilekh Report Viewer expects/passes some parameters from/to API endpoints. Please modify accordingly.

Updates

Document will be upated soon