rettime
npmv0.11.11TypeScriptA 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.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
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.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| rettimethis page | 0 | 2 | MIT | 4 months ago |
| valibot | 16.8M | 5 | MIT | 1 day ago |
| kysely | 15.6M | 1 | MIT | 1 day ago |
| chrome-trace-event | 0 | 1 | MIT | 1 day ago |
| abort-controller | 0 | 4 | MIT | 1 day ago |
| event-target-shim | 0 | 2 | MIT | 1 day ago |
Dependencies
Declared by rettime v0.11.11. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (6)
Used by
Popular packages that depend on rettime.
Relationship graph
Dependencies (left) and dependents (right) of rettime.
Frequently installed together
An HTTP/1.1 client, written from scratch for Node.js
Promise based HTTP client for the browser and node.js
Fast, unopinionated, minimalist web framework
Next generation testing framework powered by Vite
Type-safe implementation of invariant with positionals.
Reliably determines if the code is running in Node.js
A JavaScript implementation of many web standards
TypeScript definitions for node
An HTTP(s) proxy `http.Agent` implementation for HTTPS
A light-weight module that brings Fetch API to node.js
HTTP and HTTPS modules that follow redirects.
node.js realtime framework server
Release history
30 releases in the last two years, typically about 0 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 0.11.11latest | 4 months ago | 106 KB | MIT |
| 0.11.10 | 4 months ago | 106 KB | MIT |
| 0.11.9 | 4 months ago | 104 KB | MIT |
| 0.11.8 | 4 months ago | 103 KB | MIT |
| 0.11.7 | 6 months ago | 96 KB | MIT |
| 0.11.6 | 6 months ago | 93 KB | MIT |
| 0.11.5 | 6 months ago | 91 KB | MIT |
| 0.11.4 | 6 months ago | 89 KB | MIT |
| 0.11.3 | 6 months ago | 88 KB | MIT |
| 0.11.2 | 6 months ago | 88 KB | MIT |
| 0.11.1 | 6 months ago | 85 KB | MIT |
| 0.11.0 | 6 months ago | 85 KB | MIT |
| 0.10.1 | 7 months ago | 69 KB | MIT |
| 0.10.0 | 7 months ago | 69 KB | MIT |
| 0.9.1 | 7 months ago | 75 KB | MIT |
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
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.