Po

Pocketstore – Type-safe session/localStorage with expiry

Hacker News

Pocketstore – Type-safe session/localStorage with expiry

Hey HN! I built a small utility library called *Pocketstore*: a TypeScript wrapper around `sessionStorage` and `localStorage`. It adds: - Optional encryption - TTL support (auto-expiring keys) - Namespaces - SSR fallback (memory store) - Fully typed API I created it because most libraries are either outdated, overly complex, or don’t support basic things like expiry or server-side rendering. Here’s the npm package: https://www.npmjs.com/package/@m4dm4x/pocketstore And the source code: https://github.com/kritarth1107/pocketstore Would love feedback and feature requests! Cheers

Share card

Actual performance

1points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: code · Missing: mac, agents, macos
59%59% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: created · Missing: supports, reddit linkedin, podcasting
58%58% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
43%43% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: ide, io · Missing: https docs, excited, just released
33%33% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
32%32% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
17%17% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

I
I made type-safe Firestore ORM and call it Typesaurus52%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I made type-safe Firestore ORM and call it Typesaurus

Hacker News3
C8
C8x type safe K8s deployments42%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

C8x type safe K8s deployments

Hacker News2
Ne
Newzly-phantom – Asynchronous type-safe Scala DSL for Cassandra49%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Newzly-phantom – Asynchronous type-safe Scala DSL for Cassandra

Hacker News16
NextStd
NextStd51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Type-Safe alternative to stdio.h for C

Product Hunt+1
Pr
Promises – Type safe promise library for go41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Promises – Type safe promise library for go

Hacker News7
Ty
Type-safe metaprogramming for Java (and other killer lang features)29%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Type-safe metaprogramming for Java (and other killer lang features)

Hacker News3
Po
Podman container with VNC GNOME Phosh session38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Podman container with VNC GNOME Phosh session

Hacker News3
Ty
Type-Safe and Promisified API for Web Worker and Iframe43%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Type-Safe and Promisified API for Web Worker and Iframe

Hacker News2
Re
Rescue – type-safe exceptions for Python38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Rescue – type-safe exceptions for Python

Hacker News7
JS
JStachio a type-safe Mustache engine that is incredible fast36%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

JStachio a type-safe Mustache engine that is incredible fast

Hacker News3