open-index/open-npm huggingface dataset:
npm package: @stellaraf/cacheutil
Description: <div align="center">   <br/>   <img src="https://res.cloudinary.com/stellaraf/image/upload/v1604277355/stellar-logo-gradient.svg" width="300" />   <br/>   <h3>Stellar JS Cache Utilities</h3>   <br/>   <a href="https://github.com/stellaraf/cacheutil/action
Latest version: 1.0.0

<div align="center">
  <br/>
  <img src="https://res.cloudinary.com/stellaraf/image/upload/v1604277355/stellar-logo-gradient.svg" width="300" />
  <br/>
  <h3>Stellar JS Cache Utilities</h3>
  <br/>
  <a href="https://github.com/stellaraf/cacheutil/actions?query=workflow%3ATests">
    <img src="https://img.shields.io/github/workflow/status/stellaraf/cacheutil/Tests?color=%239100fa&event=push&style=for-the-badge" />
  </a>
  <br/>
  <br/>
</div>

`@stellaraf/cacheutil` provides a consistent caching API with support for multiple backends, in the event that a library requires a cache but could be used on multiple platforms with different caching systems available. For example, if one needed use a library on both Cloudflare Workers and a standard NodeJS application.

# Supported Backends

## Cloudflare KV

```ts
import { createCache } from "@stellaraf/cacheutil-cache";

const cache = createCache(env.KV_BINDING);

await cache.set("key", "value");
const value = await cache.get("key");
console.log(value);
// value
```

## Redis

```ts
import { createCache } from "@stellaraf/cacheutil-cache";

const cache = createCache({ url: "redis://localhost:6379", database: 1 });

await cache.set("key", "value");
const value = await cache.get("key");
console.log(value);
// value
```
npm package: @stellaraf/eslint
Description: <div align="center">   <br/>   <img src="https://res.cloudinary.com/stellaraf/image/upload/v1604277355/stellar-logo-gradient.svg" width="300" />   <br/>   <h3>Stellar ESLint Configuration</h3>   <br/>   <a href="https://github.com/stellaraf/eslint/actions
Latest version: 1.0.2

<div align="center">
  <br/>
  <img src="https://res.cloudinary.com/stellaraf/image/upload/v1604277355/stellar-logo-gradient.svg" width="300" />
  <br/>
  <h3>Stellar ESLint Configuration</h3>
  <br/>
  <a href="https://github.com/stellaraf/eslint/actions?query=workflow%3ATests">
    <img src="https://img.shields.io/github/workflow/status/stellaraf/eslint/Tests?color=%239100fa&event=push&style=for-the-badge" />
  </a>
  <br/>
  <br/>
</div>
npm package: @stellaraf/eslint-config
Description: <div align="center">   <br/>   <img src="https://res.cloudinary.com/stellaraf/image/upload/v1604277355/stellar-logo-gradient.svg" width="300" />   <br/>   <h3>Stellar ESLint Configuration</h3>   <br/>   <a href="https://github.com/stellaraf/eslint/actions
Latest version: 1.1.6

<div align="center">
  <br/>
  <img src="https://res.cloudinary.com/stellaraf/image/upload/v1604277355/stellar-logo-gradient.svg" width="300" />
  <br/>
  <h3>Stellar ESLint Configuration</h3>
  <br/>
  <a href="https://github.com/stellaraf/eslint/actions?query=workflow%3ATests">
    <img src="https://img.shields.io/github/workflow/status/stellaraf/eslint/Tests?color=%239100fa&event=push&style=for-the-badge" />
  </a>
  <br/>
  <br/>
</div>

# Usage

```bash
# NPM
npm install --save-dev @stellaraf/eslint-config
# Yarn
yarn add -D @stellaraf/eslint-config
# PNPM
pnpm add -D @stellaraf/eslint-config
```

In your eslint configuration:

```json
{
  "extends": [
    "@stellaraf"
  ]
}
```
npm package: @stellaraf/jest
Description: <div align="center">   <br/>   <img src="https://res.cloudinary.com/stellaraf/image/upload/v1604277355/stellar-logo-gradient.svg" width="300" />   <br/>   <h3>Stellar Jest Configuration</h3>   <br/>   <a href="https://github.com/stellaraf/jest/actions/wor
Author: Matt Love
Latest version: 2.0.3

<div align="center">
  <br/>
  <img src="https://res.cloudinary.com/stellaraf/image/upload/v1604277355/stellar-logo-gradient.svg" width="300" />
  <br/>
  <h3>Stellar Jest Configuration</h3>
  <br/>
  <a href="https://github.com/stellaraf/jest/actions/workflows/quality.yml">
    <img src="https://img.shields.io/github/actions/workflow/status/stellaraf/jest/quality.yml?color=%239100fa&event=push&style=for-the-badge" />
  </a>
  <br/>
  <br/>
</div>

# Usage

## Basic

```ts
// jest.config.ts or jest.config.js
export { base as default } from "@stellaraf/jest";
```

## Override Configuration

```ts
import { standardConfig } from "@stellaraf/jest";

export default standardConfig(
  // Transform overrides passed to esbuild-jest
  { platform: "node" },
  // Jest configuration overrides
  { displayName: "Too cool for school" }
);
```

## Monorepo

```ts
import { monorepoConfig } from "@stellaraf/jest";

// Overrides from standardConfig() are also supported
export default monorepoConfig("@scope/");
```