npm package
Homerequire-from-string
require-from-string allows you to load a Node. js module from a string of code. It is useful for dynamically requiring modules in scenarios where the module code is generated or fetched at runtime.
- lurq health score
- 42/100
- Confidence
- unproven
- Weekly downloads
- 99,139,891
- Latest version
- 2.0.2
- Last release
- Apr 9, 2018
- License
- MIT
Should you depend on require-from-string?
lurq's verdict: medium
- Repository archived
- No known advisories
- the source repository is archived
Check this from your coding agent
This page is a daily snapshot. lurq's verify tool checks require-from-string 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
Upgrading require-from-string
What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.
- 1.2.1 → 2.0.2diff ready
Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 16, 2026; this page refreshes every 168 hours. Source repository.