npm · npm:mimic-fn
mimic-fn deprecated
Make a function mimic another one
The latest stable version of mimic-fn is 5.0.0, published on 2023-11-05. Verified by Vigia on 2026-11-12.
| Latest stable version | 5.0.0 |
|---|---|
| Published | 2023-11-05 19:54:59 UTC |
| Install | npm install mimic-fn@latest |
| Deprecation | Renamed to mimic-function |
| Requires (engines) | {"node":">=12"} |
| Peer dependencies | — |
| Dist-tags | latest: 5.0.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 13:46:55 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Ask your AI assistant to check this
AI models are trained up to a date, so they can be wrong about versions, deprecations and vulnerabilities. Paste this into Claude, ChatGPT, Perplexity or Cursor and it will answer with the verified data on this page:
Before answering about the npm package "mimic-fn", check Vigia (verified, dated facts): https://vigia.coredls.cloud/v1/packages/npm/mimic-fn . For my whole project use https://vigia.coredls.cloud/context
Using an AI coding agent every day? Connect Vigia once and it checks this by itself.
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2023-11-05 19:54:59 UTC · 1103 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 9 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
5.0.0 withdrawn | 2023-11-05 19:54:59 UTC |
4.0.0 | 2021-04-07 19:23:42 UTC |
3.1.0 | 2020-07-24 09:13:36 UTC |
3.0.0 | 2019-06-13 16:07:20 UTC |
2.1.0 | 2019-03-31 17:53:34 UTC |
2.0.0 | 2019-03-07 19:00:04 UTC |
1.2.0 | 2018-02-02 03:28:18 UTC |
1.1.0 | 2016-11-01 09:35:10 UTC |
1.0.0 | 2016-10-19 17:27:32 UTC |
Showing the 9 most recent of 9 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 |
Upgrade guides for this package
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 mimic-fn?
The latest stable version of mimic-fn is 5.0.0, published on 2023-11-05. Verified by Vigia on 2026-11-12.
How do I install the latest version of mimic-fn?
Run npm install mimic-fn@latest. The latest stable version is 5.0.0 (verified 2026-11-12).
Is mimic-fn deprecated?
Yes. The registry marks mimic-fn as deprecated. Message from the maintainers: "Renamed to mimic-function"
Which Node.js version does mimic-fn require?
mimic-fn 5.0.0 declares this requirement: {"node":">=12"}.
Does mimic-fn 5.0.0 have known vulnerabilities?
No known advisories affect mimic-fn 5.0.0 according to the data Vigia checks.
Is mimic-fn still maintained?
mimic-fn published 0 stable releases in the last 12 months; the most recent was 1103 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- type-check
- @babel/helper-validator-option
- @smithy/util-utf8
- @types/json-schema
- ci-info
- @rolldown/pluginutils
- esutils
- side-channel-list
- parent-module
- json-buffer
- raw-body
- strip-bom
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/mimic-fn) [](https://vigia.coredls.cloud/npm/mimic-fn) [](https://vigia.coredls.cloud/npm/mimic-fn)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/mimic-fn
GET https://vigia.coredls.cloud/v1/packages/npm/mimic-fn/versions/{version}