Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(readme): add badges #14

Merged
merged 1 commit into from
Aug 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# WeakIdentityMap

[![npm version](https://badge.fury.io/js/weak-identity-map.svg)](https://badge.fury.io/js/weak-identity-map)
[![npm downloads/month](https://img.shields.io/npm/dm/weak-identity-map.svg)](https://www.npmjs.com/package/weak-identity-map)
[![npm downloads](https://img.shields.io/npm/dt/weak-identity-map.svg)](https://www.npmjs.com/package/weak-identity-map)
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/lsndr/weak-identity-map/blob/master/LICENSE.md)

The `WeakIdentityMap` object holds key-value pairs of weakly referenced objects and remembers the original insertion order of the keys.

A weak reference to an object is a reference that does not prevent the object from being reclaimed by the garbage collector. In contrast, a normal (or strong) reference keeps an object in memory.
Expand Down