</>PackageGraphPackageGraph

rettime

npmv0.11.11TypeScript

A type-safe marriage of `EventTarget` and `EventEmitter`.

Safe to adopt

Yes — rettime scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 129 days ago. 30 releases in the last 2 years.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • BMaintenance: grade B, Good.

    Last published 129 days ago. 30 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 106 KB installed.

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding rettime to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

106 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
No constraint declared
Module format
ESM only
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the rettime README.

new TypedEvent<DataType, ReturnType, EventType>(type: EventType, { data: DataType })

rettime vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
rettimethis page02MIT4 months ago
valibot16.8M5MIT1 day ago
kysely15.6M1MIT1 day ago
chrome-trace-event01MIT1 day ago
abort-controller04MIT1 day ago
event-target-shim02MIT1 day ago

Dependencies

Declared by rettime v0.11.11. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (6)

@ossjs/release ^0.10.1@rolldown/binding-darwin-arm64 1.0.0-rc.9publint ^0.3.18tsdown ^0.19.0typescript ^5.9.3vitest ^3.2.4

Used by

Popular packages that depend on rettime.

Relationship graph

Dependencies (left) and dependents (right) of rettime.

@mswjs/intercepto…mswrettime
rettime dependencies dependents

Frequently installed together

Release history

30 releases in the last two years, typically about 0 days apart.

Recent versions of rettime
VersionPublishedSizeLicense
0.11.11latest4 months ago106 KBMIT
0.11.104 months ago106 KBMIT
0.11.94 months ago104 KBMIT
0.11.84 months ago103 KBMIT
0.11.76 months ago96 KBMIT
0.11.66 months ago93 KBMIT
0.11.56 months ago91 KBMIT
0.11.46 months ago89 KBMIT
0.11.36 months ago88 KBMIT
0.11.26 months ago88 KBMIT
0.11.16 months ago85 KBMIT
0.11.06 months ago85 KBMIT
0.10.17 months ago69 KBMIT
0.10.07 months ago69 KBMIT
0.9.17 months ago75 KBMIT

Overview

rettime is an npm package that a type-safe marriage of `EventTarget` and `EventEmitter`. It has 2 known dependents in the graph. The latest version is 0.11.11, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need a type-safe marriage of `EventTarget` and `EventEmitter` and value a focused solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.

Pros

  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use rettime?

Yes — rettime scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 129 days ago. 30 releases in the last 2 years.

How do I install rettime?

Run `npm install rettime` to add rettime to your npm project.

What license is rettime released under?

rettime is distributed under the MIT license.

How popular is rettime?

npm does not publish download counts. Within PackageGraph's crawl, 2 known packages depend on rettime.

Is rettime still maintained?

The most recent release of rettime (v0.11.11) was published 4 months ago.

Does rettime run install scripts?

No. rettime does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.