Vigia

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 version4.0.0
Published2022-01-30 23:22:05 UTC
Installnpm install value-or-function@latest
Requires (engines){"node":">= 10.13.0"}
Peer dependencies—
Dist-tagslatest: 4.0.0
LicenseMIT
Advisories on latest versionnone known
Last verified2026-11-12 12:12:43 UTC
Sourcesapi.deps.dev, registry.npmjs.org, registry.npmjs.org

Maintenance

Activitydormant
Last stable release2022-01-30 23:22:05 UTC · 1746 days ago
Stable releases in the last 12 months0
Published versions7

Heuristic based only on release dates; it does not measure issue or security response times.

Version history

VersionPublished
4.0.02022-01-30 23:22:05 UTC
3.0.02017-07-21 20:47:58 UTC
2.0.02016-08-17 23:07:05 UTC
1.2.12016-07-15 23:31:31 UTC
1.2.02016-06-19 17:51:33 UTC
1.1.02016-06-07 22:30:23 UTC
1.0.02016-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).

RuntimeNewest compatible version
node 164.0.0
node 184.0.0
node 204.0.0
node 224.0.0
node 244.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

Badges for your README

Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:

[![version](https://vigia.coredls.cloud/badge/npm/value-or-function/version.svg)](https://vigia.coredls.cloud/npm/value-or-function)
[![maintained](https://vigia.coredls.cloud/badge/npm/value-or-function/maintained.svg)](https://vigia.coredls.cloud/npm/value-or-function)
[![status](https://vigia.coredls.cloud/badge/npm/value-or-function/status.svg)](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}