Skip to main content

latest

TTL plugin for stash-it. Store your items with time to live.

This package works with Node.js, BrowsersIt is unknown whether this package works with Cloudflare Workers, Deno, Bun
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
It is unknown whether this package works with Deno
It is unknown whether this package works with Bun
This package works with Browsers
JSR Score
70%
Published
a week ago (0.0.3)
variable TTL_EXTRA_PROPERTY_NAME

Name of the property in extra that will hold the ttl data.

Type

"__ttl"

Add Package

deno add jsr:@stash-it/ttl-plugin

Import symbol

import { TTL_EXTRA_PROPERTY_NAME } from "@stash-it/ttl-plugin";

---- OR ----

Import directly with a jsr specifier

import { TTL_EXTRA_PROPERTY_NAME } from "jsr:@stash-it/ttl-plugin";

Add Package

npx jsr add @stash-it/ttl-plugin

Import symbol

import { TTL_EXTRA_PROPERTY_NAME } from "@stash-it/ttl-plugin";

Add Package

yarn dlx jsr add @stash-it/ttl-plugin

Import symbol

import { TTL_EXTRA_PROPERTY_NAME } from "@stash-it/ttl-plugin";

Add Package

pnpm dlx jsr add @stash-it/ttl-plugin

Import symbol

import { TTL_EXTRA_PROPERTY_NAME } from "@stash-it/ttl-plugin";

Add Package

bunx jsr add @stash-it/ttl-plugin

Import symbol

import { TTL_EXTRA_PROPERTY_NAME } from "@stash-it/ttl-plugin";