Vigia

npm · npm:defined

defined active

return the first argument that is `!== undefined`

The latest stable version of defined is 1.0.1, published on 2022-10-12. Verified by Vigia on 2026-11-12.

Latest stable version1.0.1
Published2022-10-12 14:01:02 UTC
Installnpm install defined@latest
Requires (engines)none declared
Peer dependencies—
Dist-tagslatest: 1.0.1
LicenseMIT
Advisories on latest versionnone known
Last verified2026-11-12 15:51:46 UTC
Sourcesapi.deps.dev, registry.npmjs.org, registry.npmjs.org

Is your project affected?

Check my whole package.jsonGet notified of new versions (Atom)Facts for my AGENTS.md

Free, no signup. Paste your manifest and see what is outdated, deprecated or vulnerable.

Maintenance

Activitydormant
Last stable release2022-10-12 14:01:02 UTC · 1492 days ago
Stable releases in the last 12 months0
Published versions3

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

Version history

VersionPublished
1.0.12022-10-12 14:01:02 UTC
1.0.02015-04-08 11:28:28 UTC
0.0.02012-11-26 04:53:26 UTC

Showing the 3 most recent of 3 versions. JSON

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 defined?

The latest stable version of defined is 1.0.1, published on 2022-10-12. Verified by Vigia on 2026-11-12.

How do I install the latest version of defined?

Run npm install defined@latest. The latest stable version is 1.0.1 (verified 2026-11-12).

Is defined deprecated?

No. defined is not marked as deprecated in the registry.

Which Node.js version does defined require?

defined 1.0.1 does not declare a Node.js version requirement.

Does defined 1.0.1 have known vulnerabilities?

No known advisories affect defined 1.0.1 according to the data Vigia checks.

Is defined still maintained?

defined published 0 stable releases in the last 12 months; the most recent was 1492 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/defined/version.svg)](https://vigia.coredls.cloud/npm/defined)
[![maintained](https://vigia.coredls.cloud/badge/npm/defined/maintained.svg)](https://vigia.coredls.cloud/npm/defined)
[![status](https://vigia.coredls.cloud/badge/npm/defined/status.svg)](https://vigia.coredls.cloud/npm/defined)

For agents

GET https://vigia.coredls.cloud/v1/packages/npm/defined
GET https://vigia.coredls.cloud/v1/packages/npm/defined/versions/{version}