Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
@plexis/cache
Advanced tools
@plexis/cache
A caching mechanism for string operations.
npm i @plexis/cache
Usage
import cache from '@plexis/cache';
const toLower = x => x.toLowerCase();
const toLowerCache = cache(toLower);
// We are adding a dummy resolver function which returns the same cache every single time
const toLowerCacheWithResolver = cache(toLower, x => 'a');
toLowerCache('A'); // returns a;
toLowerCache('B'); // returns b;
toLowerCacheWithResolver('A'); // returns a;
toLowerCacheWithResolver('B'); // returns a !!;
Aliases
import cache from '@plexis/cache';
import {cache, memoize} from 'plexis';
FAQs
A caching mechanism for string operations.
We found that @plexis/cache demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.