Search results
76 packages found
[![npm version](https://img.shields.io/npm/dw/@awsless/weak-cache)](https://www.npmjs.org/package/@awsless/weak-cache) [![npm version](https://img.shields.io/npm/v/@awsless/weak-cache.svg?style=flat-square)](https://www.npmjs.org/package/@awsless/weak-cac
Garbage-collected memoizer for variadic functions that can be used as a decorator
A WeakMap that supports any value, it holds strong references to primitives, and weak references to objects.
Object finalization based on N-API for Node.js v8.6.0+
A simple utility function that creates and returns incremental object IDs
Memoize/cache function results
- memoize
- memoizer
- cache
- memoization
- memo
- memcached
- hashing.
- storage
- caching
- memory
- gc
- weak
- garbage
- collector
- View more
Returns true if a value can be used as a WeakSet item or a WeakMap key.
It’s like WeakMap but it supports non-objects.
It’s like WeakSet but it supports non-objects.
Set and get private variables with weak maps
A collective least-recently used cache.
A WeakSet that supports any value, it holds strong references to primitives, and weak references to objects.
Weakly inherit a class - no prototypes involved
A fragile `weak` implementation for v8.
Displays password strength using angular 10.
Detect paths within an object which held external references.
Memoize/cache function results
Iterable WeakSet / WeakMap using ES2021 WeakRef
Map to weakly held values.
Do runtime checks if a native class exists or device has certain capabilities. Useful when you weak link libraries (like iOS 11 having ARKit, and you still want iOS 10 users to be able to use your app without ARKit features).