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

@myrmidon/cadmus-refs-historical-date

v10.0.0

Published

Cadmus - historical date component.

Downloads

100

Readme

CadmusRefsHistoricalDate

This project was generated using Angular CLI version 19.0.0.

AssertedHistoricalDateComponent

  • 🔑 AssertedHistoricalDateComponent
  • 🚩 cadmus-refs-asserted-historical-date
  • ▶️ input:
    • date (HistoricalDateModel)
    • label (string?)
    • disabled (boolean?)
    • tagEntries (ThesaurusEntry[]?) for asserted-historical-dates-tags
    • assertionTagEntries (ThesaurusEntry[]?) for assertion-tags
    • docReferenceTypeEntries (ThesaurusEntry[]?) for doc-reference-types
    • docReferenceTagEntries (ThesaurusEntry[]?) for doc-reference-tags
  • 🔥 output:
    • dateChange (HistoricalDateModel)

HistoricalDateComponent

Historical date editor.

  • 🔑 HistoricalDateComponent
  • 🚩 cadmus-refs-historical-date
  • ▶️ input:
    • date (HistoricalDateModel)
    • label (string?)
    • disabled (boolean?)
  • 🔥 output:
    • dateChange (HistoricalDateModel)

DatationComponent

Datation editor.

  • 🔑 DatationComponent
  • 🚩 cadmus-refs-datation
  • ▶️ input:
    • datation (DatationModel)
    • label (string?)
  • 🔥 output:
    • datationChange (DatationModel)

HistoricalDatePipe

  • 🚩 historicalDate

A pipe to display HistoricalDate's (value | historicalDate:type).

All the arguments are optional: type defaults to text. Set type to value if you want to get the sort value instead of the textual representation.

Example:

<span>{{ date | historicalDate }}</span>
<span>{{ date | historicalDate:'value' }}</span>

History

9.1.4

  • 2026-03-27: better styles for datation.

9.1.2

  • 🆕 added AssertedHistoricalDateComponent.
  • fixes to historical date editors.

9.1.0

  • 2025-10-07:
    • added explicit parse button for historical datation text.
    • 🆕 added slide to datation, synching the TypeScript code with its backend C# counterpart. The slide defaults to 0; when different from 0, it represents a "slide" delta to be added to value. For instance, value=1230 and slide=10 means 1230-1240; this is not a range in the sense of HistoricalDatation with A and B points; it's just a relatively undeterminated point, allowed to move between 1230 and 1240. This means that we can still have a range, like A=1230-1240 and B=1290. We represent this with : in its parsable string. So, we can now have strings like 1230:1240--1290 for range A=1230-1240 and B=1290, or even 1230:1240--1290:1295; all combinations are possible. With negative (BC) values we have e.g. 810:805 BC meaning slide=5. Note that slides are possible with centuries too, e.g. VI:VII. This change has no impact on existing data and code, it just adds a new feature to the datation model.

9.0.2

  • 2025-09-11: refactored for OnPush.

9.0.1

  • 2025-06-02: debounce time in date typing from 1000 to 2000.

9.0.0

  • 2025-05-22: debounce time in date typing from 400 to 1000.