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

@ossy/booking

v3.0.5

Published

Booking feature package — services, availability, and appointment management for Ossy providers

Readme

@ossy/booking

Booking feature package for the Ossy platform. Lets providers define services, set weekly availability, and accept client bookings.

Pages

| Page | Path | Audience | |------|------|----------| | public-booking | /book/:providerSlug · /boka/:providerSlug | Public (clients) | | services | /services · /tjanster | Provider (authenticated) | | bookings | /bookings · /bokningar | Provider (authenticated) | | availability-setup | /availability · /tillganglighet | Provider (authenticated) | | booking-detail | /bookings/:bookingId · /bokningar/:bookingId | Provider (authenticated) |

Public booking flow

  1. Client opens public-booking (no auth; metadata.public: true)
  2. Picks a service → calendar slot → contact details
  3. @ossy/booking/actions/create stores a pending booking and sends notification emails

Actions

Actions are declared in *.action.js and discovered at build time. Each action delegates to a matching *.task.js.

| Action | Access | |--------|--------| | @ossy/booking/actions/get-services | public | | @ossy/booking/actions/create-service | workspace | | @ossy/booking/actions/update-service | workspace | | @ossy/booking/actions/delete-service | workspace | | @ossy/booking/actions/create | public | | @ossy/booking/actions/list | workspace | | @ossy/booking/actions/confirm | workspace | | @ossy/booking/actions/decline | workspace | | @ossy/booking/actions/cancel | authenticated | | @ossy/booking/actions/get-availability | workspace | | @ossy/booking/actions/save-availability | workspace | | @ossy/booking/actions/get-available-slots | public |

Schemas

Resource schemas live in src/*.schema.js and are auto-discovered by @ossy/app build. Canonical ids are exported from schema-ids.js as BookingSchema:

| Schema | Id | File | |--------|----|------| | Service | @ossy/booking/schema/service | service.schema.js | | Booking | @ossy/booking/schema/booking | booking.schema.js | | Availability | @ossy/booking/schema/availability | availability.schema.js | | Public booking form | @ossy/booking/schema/public-booking-form | public-booking-form.schema.js |

Documents are stored under canonical locations. Import paths from @ossy/booking (services, bookings, availability).

Tasks write resources via commitResource / mutateResource from @ossy/resources/server, using schemaId on resource events (ADR 0008).

Projections

| Projection | Id | Purpose | |------------|----|---------| | BookingListProjection | @ossy/booking/data/booking-list | Workspace-scoped booking list; @ossy/booking/actions/list reads this first and falls back to a resource scan |

View slots

| Component | Slot key | |-----------|----------| | service-detail.component.jsx | @ossy/booking/view/service | | service-card-slot.component.jsx | @ossy/booking/view/service/card | | booking-card.component.jsx | @ossy/booking/view/booking/card |

See SPEC.md for the full product specification.

Preview

Booking pages and flows are exercised in @ossy/app-test on the production build path. Enable the package in devEntitlements, then open Booking from the sidebar or /packages/booking. See packages/app-test/README.md.