npm package
Homevalue-or-function
The 'value-or-function' package normalizes a value or function, allowing for the application of additional arguments to the function. It is useful for ensuring consistent data types and handling function calls seamlessly in applications. This package can be integrated into any JavaScript application that requires type normalization and function invocation.
- lurq health score
- 44/100
- Confidence
- unproven
- Weekly downloads
- 2,915,980
- Latest version
- 4.0.0
- Last release
- Jan 30, 2022
- License
- MIT
Should you depend on value-or-function?
lurq's verdict: low
- No known advisories
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks value-or-function at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:
npx lurqrun
Free to start. Quickstart
Other utility packages lurq scores
- dompurify98/100 · proven
- pdfjs-dist95/100 · proven
- @puppeteer/browsers94/100 · proven
- puppeteer-core94/100 · proven
- puppeteer94/100 · proven
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 3, 2026; this page refreshes every 24 hours. Source repository.