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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datamodels/identity-profile-basic

v0.2.0

Published

DataModel implementation of the **Basic Profile** schema and definition specified in [CIP-19](https://github.com/ceramicnetwork/CIP/blob/main/CIPs/CIP-19/CIP-19.md).

Downloads

313

Readme

Basic Profile DataModel

DataModel implementation of the Basic Profile schema and definition specified in CIP-19.

Installation

npm install -D @datamodels/identity-profile-basic

Rationale

The Basic Profile contains a DID's basic profile information.

By standardizing profile information for DIDs, the Basic Profile simplifies how applications can view and display the profiles of their users.

A profile is one of the most important aspects to identity: Profiles are often most associated with identity, and the Basic Profile serves as the standard profile for a DID that can be used everywhere across the web.

DID-agnostic support: Since Ceramic documents can be created and controlled by any DID, the Basic Profile can be used in conjunction with any DID method.

Schemas

BasicProfile

The Basic Profile schema defines the format of a document that contains the properties listed below. Properties not defined in the schema cannot be included in the Basic Profile, however the schema can always be updated via a new CIP.

| Property | Description | Value | Max Size | Required | Example | | ------------------ | ------------------------------ | -------------------------------------------------------------------------------------- | -------- | -------- | ---------------------------- | | name | a name | string | 150 char | optional | Mary Smith | | image | an image | Image sources | | optional | | | description | a short description | string | 420 char | optional | This is my cool description. | | emoji | an emoji | unicode | 2 char | optional | 🔢 | | background | a background image (3:1 ratio) | Image sources | | optional | | | birthDate | a date of birth | ISO 8601 | 10 char | optional | 1990-04-24 | | url | a url | string | 240 char | optional | http://ceramic.network | | gender | a gender | string | 42 char | optional | female | | homeLocation | a place of residence | string | 140 char | optional | Berlin | | residenceCountry | a country of residence | ISO 3166-1 alpha-2 | 2 char | optional | DE | | nationalities | nationalities | array of ISO 3166-1 alpha-2 values | 2 char | optional | CN | | affiliations | affiliations | array of strings | 240 char | optional | Ceramic Ecosystem Alliance |

Discussion

License

Dual licensed under MIT and Apache 2