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

@apollo-protocol/hqdm-lib

v0.0.2

Published

An implementation of the HQDM ontology in TypeScript

Downloads

5

Readme

The High Quality Data Model Library for TypeScript

Looking for a way of achieving seamless data exchange? Methods of trying to achieve this have been attempted by many but few solutions have scaled beyond initial pilots. That isn't surprising considering supporting digital representations of whatever is of interest in a dynamic environment is non-trivial to say the least. We live in a world where we constantly consume data for decision making and this project offers one way of articulating data by providing a foundation for any data implementation in any domain.

This package contains a partial replication of an openly available data model based on key ontological foundations to enable the integration of data, sometimes called interoperability or a lingua franca for data, by addressing consistency of representation no matter the application*. This comprises a set of TypeScript data structures to replicate the entity-relationship model published by Dr Matthew West as the High Quality Data Model Framework, but at the current time not the type hierarchy of the HQDM relations. This implementation model can be used to create extensions of the entity types, based on the founding ontological commitments and logical restrictions (such as cardinalities), and instances of those types through this TypeScript library.

This package is aware of the MagmaCore solution, which is also a more complete implementation of HQDM in Java with a database storage implementation using Apache Jena. This package is independent of MagmaCore, with this TypeScript solution differing partially in both its structure and implementation, but there is a strong correspondence between the entity types and most of the key predicates being supported.

* This is a significant simplification and only meant to highlight some characteristics of the underlying model(HQDM). Managing information is hard, but not managing it well costs more. At the time of publishing, the UK's National Digital Twin programme and other organisations are developing future models to address this goal with even more rigour. A UK initiative to create a Foundation Data Model (FDM), building on theoretical work on a Core Constructional Ontology (CCO) and the work of a team of modelling experts led by Dr West, is under way. Information can be found about this by searching online, however the main concepts can also be read about here in The Pathway Towards an Information Management Framework, at the Digital Twin Hub and through the Apollo Protocol. Data created using HQDM is likely to be mappable to the FDM with low effort (due to similar ontological commitments).

Getting Started

Install can be done through npm or use a local clone from github for the latest copy.

npm i @apollo-protocol/hqdm-lib

Contributing

Contributions to the project are welcome. Please follow the contribution guidelines found here.

In brief:

  • Check for existing issues or create an issue describing the enhancement you wish to make enabling any feedback / discussion before starting.
  • Fork the repo to your account.
  • Push all your changes to the new fork.
  • Submit a pull request from the fork back to this main repo.

Licence

HQDM-lib is released under the terms of the Apache 2.0 Licence license.