npm · npm:value-or-function
value-or-function active
Normalize a value or function, applying extra args to the function
The latest stable version of value-or-function is 4.0.0, published on 2022-01-30. Verified by Vigia on 2026-11-12.
| Latest stable version | 4.0.0 |
|---|---|
| Published | 2022-01-30 23:22:05 UTC |
| Install | npm install value-or-function@latest |
| Requires (engines) | {"node":">= 10.13.0"} |
| Peer dependencies | — |
| Dist-tags | latest: 4.0.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 12:12:43 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2022-01-30 23:22:05 UTC · 1746 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 7 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
4.0.0 | 2022-01-30 23:22:05 UTC |
3.0.0 | 2017-07-21 20:47:58 UTC |
2.0.0 | 2016-08-17 23:07:05 UTC |
1.2.1 | 2016-07-15 23:31:31 UTC |
1.2.0 | 2016-06-19 17:51:33 UTC |
1.1.0 | 2016-06-07 22:30:23 UTC |
1.0.0 | 2016-04-01 22:53:01 UTC |
Showing the 7 most recent of 7 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 4.0.0 |
node 18 | 4.0.0 |
node 20 | 4.0.0 |
node 22 | 4.0.0 |
node 24 | 4.0.0 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of value-or-function?
The latest stable version of value-or-function is 4.0.0, published on 2022-01-30. Verified by Vigia on 2026-11-12.
How do I install the latest version of value-or-function?
Run npm install value-or-function@latest. The latest stable version is 4.0.0 (verified 2026-11-12).
Is value-or-function deprecated?
No. value-or-function is not marked as deprecated in the registry.
Which Node.js version does value-or-function require?
value-or-function 4.0.0 declares this requirement: {"node":">= 10.13.0"}.
Does value-or-function 4.0.0 have known vulnerabilities?
No known advisories affect value-or-function 4.0.0 according to the data Vigia checks.
Is value-or-function still maintained?
value-or-function published 0 stable releases in the last 12 months; the most recent was 1746 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- @react-native-community/cli-server-api
- prettier-plugin-organize-imports
- to-through
- chroma-js
- @uiw/react-codemirror
- react-native-reanimated
- @react-aria/numberfield
- @ethereumjs/rlp
- remark-breaks
- flmngr
- tw-animate-css
- @unrs/resolver-binding-linux-arm-musleabihf
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/value-or-function) [](https://vigia.coredls.cloud/npm/value-or-function) [](https://vigia.coredls.cloud/npm/value-or-function)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/value-or-function
GET https://vigia.coredls.cloud/v1/packages/npm/value-or-function/versions/{version}