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/profile

v3.9.0

Published

Profile feature package — professional profile schema, hooks, and account management pages

Readme

@ossy/profile

Profile feature package for the Ossy platform — canonical professional profile schema, data hooks, display helpers, and account management pages.

Platform profile

| Export | Description | |---|---| | ProfileSchema | Canonical schema id (@ossy/profile/schema/profile) | | profileSchema | Schema definition (fields for name, role, summary, contact, tags) | | location | Resource namespace (/@ossy/profile/) | | shapeProfile | Map a profile resource (+ image) to @ossy/design-system Profile props | | useProfile(resourceId) | Load and shape a profile by resource id | | useWorkspaceProfile(resourceId?) | Resolve the current workspace profile by id, route param, or first resource at location | | ProfileView | useProfile + Profile for standalone profile pages |

Presentation UI lives in @ossy/design-system (Profile). Feature packages (@ossy/resumes, @ossy/consulting, …) compose around the shared profile primitive.

Schemas

| Schema id | Location | Purpose | |---|---|---| | @ossy/profile/schema/profile | /@ossy/profile/ | Public professional profile (name, role, summary, contact, tags) | | @ossy/profile/schema/create-api-token | — | Create-token form fields (name, description, scopes) |

Import location and schema ids from @ossy/profile when creating or listing profile documents.

Account pages

Auto-discovered by @ossy/app via the "ossy": { "src": "./src" } field in package.json. Each page is wrapped in ProfileLayout (side nav, logo, sign-out).

| File | Page id | Default paths | |---|---|---| | ProfileDetails.page.jsx | profile | /profile (en), /profil (sv) | | ProfileWorkspaces.page.jsx | profile/workspaces | /profile/workspaces (en), /profil/arbetsytor (sv) | | ProfileWorkspacesCreate.page.jsx | profile/workspaces/create | /profile/workspaces/create (en), /profil/arbetsytor/skapa (sv) | | ProfileApiTokens.page.jsx | profile/api-tokens | /profile/api-tokens (en), /profil/api-nycklar (sv) | | ProfileApiTokensCreate.page.jsx | profile/api-tokens/create | /profile/api-tokens/create (en), /profil/api-nycklar/skapa (sv) |

ProfileDetails reads and updates the authenticated user (GetCurrentUser / UpdateUserDetails / RequestEmailChange). Edit/save and the details form use @ossy/users action + form POJOs (EditProfileDetails, SaveProfileDetails, UpdateProfileDetailsForm) so flows can drive the page via data-action / form[id]. Workspace professional profile resources (/@ossy/profile/) remain available via useWorkspaceProfile for feature packages.

Other exports

| Export | Description | |---|---| | ProfileLayout | Side-nav shell for account pages | | ApiTokens / CreateApiToken | API token management | | Definition | Feature metadata | | profileMenuItems | Profile context menu items |

Usage

npm install @ossy/profile @ossy/design-system
npm run build
import { Profile } from '@ossy/design-system'
import { useProfile, useWorkspaceProfile, ProfileView } from '@ossy/profile'

// By explicit resource id
const { profile, status } = useProfile(resourceId)
return <Profile {...profile} />

// Current workspace profile (details page pattern)
const { profile, hasProfile, profileId } = useWorkspaceProfile()

// Convenience wrapper
return <ProfileView resourceId={resourceId} />

Preview

Profile pages are exercised in @ossy/app-test on the production build path:

cd packages/app-test
npm run build && npm run start   # http://localhost:3006

Sign in, then open profile routes from the sidebar or inspect capabilities at /packages/profile. See packages/app-test/README.md.

Breaking changes

ProfileCard was removed. Use Profile from @ossy/design-system with shapeProfile or ProfileView from this package instead.

Peer dependencies

| Package | Version | |---|---| | @ossy/design-system | >=1.0.0 | | @ossy/resources | >=1.0.0 | | @ossy/router-react | >=1.0.0 | | @ossy/schema | * | | @ossy/sdk-react | >=1.0.0 | | @ossy/workspaces | >=1.0.0 | | react | >=19.0.0 <20.0.0 |