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

obsidian-kind-model

v0.2.0

Published

Stronger context, linking, and lookups through Kinded types

Downloads

69

Readme

Kind Model Plugin

banner image

Overview

This repo is a plugin for the popular Obsidian editor and extends it's functionality to produce "kinded models" of entities you want to represent in your PKM.

The kind definitions are nothing more than markdown files in your vault which conform to a particular naming convention for Frontmatter properties. Knowing this convention is actually unimportant to start as you can design your entities using the configuration tab in Obsidian:

modal config

What's so good about a Kind?

Ok so I can define a kind. Why should I care? What does it do? Before we lose you -- ye of little faith -- let's cover a couple of the top benefits:

  • Classification

    You can classify any kinded page with a few different classification schemes. The default scheme is category/subcategory which allows you to associate each kinded page with a "category" and a more specific "sub-category" (should you want).

    A kinded entity doesn't need to classify itself but by doing so it creates a link to a page which then shows the aggregation of all pages which share this classification. This abstracted relationship is often more powerful than just a direct relationship as it not only helps contextualize in it's own right it provides an easily navigable solution for discovery (aka, what things are related to my current thing).

    Ideas are sometimes hard to follow without concrete examples, so let's imagine we've defined a kind called Software Product and that we have two pages which implement this kind:

    • Adobe Lightroom
      • category: "[[Audio Visual]]",
      • subcategory: "[[Photo Mgmt]]"
    • Apple's Final Cut
      • category: "[[Audio Visual]]",
      • subcategory: "[[Video Production]]"

    Now since both products have been given the same category, you can click through to the category page and it will automatically (via a dataview query) show both products. This means you can focus on the individual items but also get the aggregation for free. The same applies to the sub-category too but in our example here, they vary and so what you'd see is a more fine grained aggregation of the software that matches both the category and subcategory.

  • Direct Relationships

    While classification provides a nice way to contextualize a kinded page and identify peers of that entity, it's often important to draw out direct relationships between one entity and another. Importantly, a direct relationship can be between two pages of the same kind but often it is a means to map one kind of page to another.

  • Metrics

    Metrics are data points which we capture in life. They are always numeric and they always relate to some sort of unit of measure(UOM). With this plugin, you can express which metrics a particular kind can capture and what UOM should be assumed. What's nice about this is that not only are authors of a given page able to be reminded of the precise metrics that are available to the page but when you are looking at a query across an aggregation of this kind you can see the same metrics reported back to you.

All three of these are covered in greater detail in the sections below.

More Details

There are more details should you choose to accept your mission of creating a PR, they can be found here: