I made a small TypeScript package for offline intent matching: intentmap
I built a small TypeScript package called intentmap.
It helps map user text to intents locally, without APIs or LLM calls.
Example use cases:
- "I want to complete my purchase" -> checkout
- "look up red sneakers" -> search
- "never mind" -> cancel
It’s useful for:
- smart inputs
- search bars
- command-like UI
- local-first apps
- privacy-sensitive apps
npm package:
https://www.npmjs.com/package/intentmap
Would love feedback on whether this feels useful and where it could be improved.
Posted Apr 14, 2026, 4:25 AM UTC
10