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

@datapos/datapos-shared

v0.3.531

Published

A library containing common constants, types and utilities used across all Data Positioning projects.

Readme

Data Positioning Shared Library

OWASP npm version License: MIT

A library containing common constants, types and utilities used across all Data Positioning projects.

Installation

Install as a production dependency:

npm install @datapos/datapos-shared

See the Data Positioning security documentation for additional initialization requirements.

Declarations

This package provides constants, errors, types/interfaces and utilities used by Data Positioning modules.

Documentation

Modules

The Data Positioning solution consists of the following modules. All modules, except App, extend the base type Module.

| Type | Dynamic | Notes | | --------- | :-----: | --------------------------------------------------------------- | | App | | Implements the data positioning web application. | | Engine | ✔ | Implements the data positioning engine. | | Connector | ✔ | Implements a connector which handles one or more connections. | | Context | ✔ | Implements a context which defines one or more models. | | Presenter | ✔ | Implements a presenter which renders one or more presentations. | | Tool | ✔ | Implements... |

Components

Each module implements a set of components. All module component types extend the base component types.

| Types | Notes | | ------------------------------- | ------------------------------------------------------------ | | Component | The Component type serves as a base type for all components. | | ComponentReference | | | ComponentStatus | | | ComponentStatusId | | | ComponentTypeId | | | ComponentStatusColorId | |

Connector Module Components

| Item | Notes | | --------------------------------------- | ----------------------------------------------------------------- | | Connector Types | Connector types. The Connector type extends the Component type. | | Connection Types | Connection types. The Connection type extends the Component type. |

Context Module Components

| Item | Notes | | ---------------------------------------- | ------------------------------------------------------------------- | | Context Types | Context types. The Context type extends the Component type. | | Data View Types | DataView types. The DataView type extends the Component type. | | Dimension Types | Dimension types. The Dimension type extends the Component type. | | Engine Types | Engine types. | | Event Query Types | Event Query types. The Event Query type extends the Component type. |

Engine Module Components

| Item | Notes | | ---------------------------------- | ------------- | | Engine Types | Engine types. |

Presenter Module Components

| Item | Notes | | ------------------------------------------- | --------------------------------------------------------------------- | | Presenter Types | Presenter types. The Presenter type extends the Component type. | | Presentation Types | Presentation types. The Presentation type extends the Component type. |

Composables

Constants

Errors

Utilities

Usage

Import the library in your TypeScript project:

import { type ConnectorConfig, getComponentStatus } from '@datapos/datapos-shared';

// Example type usage.
let connectorConfig: ConnectorConfig;

// Example function usage.
getComponentStatus('alpha');

Implements the common Data Positioning repository management command set. For more information see @datapos/datapos-development.

Bundle Analysis Reports

The Bundle Analysis Report provides a detailed breakdown of the bundle's composition and module sizes, helping to identify which modules contribute most to the final build. It is generated automatically on each release using the npm package rollup-plugin-visualizer.

View the Bundle Analysis Report

Dependency Check Report

The OWASP Dependency Check Report identifies known vulnerabilities in project dependencies. It is generated automatically on each release using the npm package owasp-dependency-check. We also rely on GitHub Dependabot to continuously check for vulnerabilities across all dependencies.

View the OWASP Dependency Check Report

Dependency Licenses

The following table lists top-level production and peer dependencies. All these dependencies (including transitive ones) have been recursively verified to use Apache-2.0, BSD-2-Clause, CC0-1.0, or MIT—commercially friendly licenses with minimal restrictions. Developers cloning this repository should independently verify dev and optional dependencies; users of the uploaded library are covered by these checks. We do not include unlicensed dependencies. Used to support development activity and not released as part of the production release. Check if you clone. We use the npm packages license-report, license-report-check and license-report-recursive to identify dependency licenses.

The following table lists top-level production and peer dependencies. All these dependencies (including transitive ones) have been recursively verified to use Apache-2.0, BSD-2-Clause, CC0-1.0, or MIT—commercially friendly licenses with minimal restrictions. Developers cloning this repository should independently verify dev and optional dependencies; users of the published library are covered by these checks. We do not include unlicensed dependencies. Used to support development activity and not released as part of the production release. Check if you clone. We use the npm packages license-report, license-report-check and license-report-recursive to identify dependency licenses.

| Name | Type | Installed | Latest | Latest Released | Deps | Document | | :-------- | :--- | :-------: | :----: | :----------------------- | ---: | :-------------------------------------------------------------------------------- | | csv-parse | MIT | 6.1.0 | 6.1.0 | 5 months ago: 2025-07-16 | 0 | ⚠️ No license file | | date-fns | MIT | 4.1.0 | 4.1.0 | 4 months ago: 2025-08-03 | 0 | LICENSE.md | | nanoid | MIT | 5.1.6 | 5.1.6 | 2 months ago: 2025-09-22 | 0 | LICENSE |

Installed dependencies are kept up-to-date with latest releases.

License

MIT © 2026 Data Positioning Pty Ltd