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

@katsele/types

v0.1.2

Published

Shared TypeScript types package for the Yima monorepo. Provides consistent type definitions across web and mobile applications.

Readme

@katsele/types

Shared TypeScript types package for the Yima monorepo. Provides consistent type definitions across web and mobile applications.

Installation

Within the monorepo:

npm install @katsele/types

Usage

Import all types

import { User, Shift, Team, Role, ShiftType } from '@katsele/types';

Import from specific modules

// API types
import { ApiResponse, PaginatedResponse } from '@katsele/types/api';

// Shift types
import { Shift, ShiftType, CompensationType } from '@katsele/types/shift';

// User types
import { User, Role, UserStatus } from '@katsele/types/user';

// Team types
import { Team, TeamMember } from '@katsele/types/team';

Available Types

API Types (api.ts)

  • ApiResponse<T> - Standard API response wrapper
  • PaginatedResponse<T> - Paginated API response
  • ApiError - Error response structure

Shift Types (shift.ts)

  • Shift - Complete shift object
  • ShiftType - Enum: FIELD, TRAINING
  • CompensationType - Enum: PAID, VOLUNTARY
  • ShiftStatus - 'upcoming' | 'active' | 'completed'
  • Response types: ShiftListResponse, ShiftDetailResponse, ShiftAcceptanceResponse

User Types (user.ts)

  • User - User object
  • Role - Enum: EMPLOYEE, MANAGER, ADMIN
  • UserStatus - Enum: PENDING, APPROVED, REJECTED
  • Organization - Organization object
  • UserTeam - Simplified team object for user context
  • Response types: UserResponse, UserListResponse

Team Types (team.ts)

  • Team - Complete team object with members
  • TeamMember - Team member information
  • TeamManager - Team manager information
  • Response types: TeamListResponse, TeamDetailResponse, TeamMembersResponse

Development

Build

npm run build

Type Check

npm run type-check

Clean Build Artifacts

npm run clean

Publishing

The package is configured to automatically build before publishing:

npm version patch  # or minor, major
npm publish

The prepublishOnly script ensures the package is built before publishing.

Package Structure

  • src/ - TypeScript source files
  • dist/ - Compiled JavaScript and type declarations (generated)
  • All exports point to compiled files in dist/
  • Source maps included for debugging