
Security News
Feross on TBPN: Socket's Series C and the State of Software Supply Chain Security
Feross Aboukhadijeh joins TBPN to discuss Socket's $60M Series C, 500%+ ARR growth, AI's impact on open source, and the rise in supply chain attacks.
@emdaer/plugin-import
Advanced tools
An emdaer plugin that imports content from another file
@emdaer/plugin-import is an emdaer plugin β see the emdaer monorepo for more information
Import a plain markdown file like so:
This content was imported!
Import and call a function that returns/resolves a string like so: A function named printThrice is called with the string Hello world! x3:
Hello world! x3
Hello world! x3
Hello world! x3
<!--emdaer-p
- '@emdaer/plugin-import'
- path: .emdaer/importExample.md
runEmdaer: true
-->
<!--emdaer-p
- '@emdaer/plugin-import'
- path: .emdaer/printThrice
args:
- Hello world! x3
-->
Import content into your readme Content can be imported in a few ways, as long as itβs a string
Parameters
options any
Examples
<!--emdaer-p
- '@emdaer/plugin-import'
- path: .emdaer/importExample.md
runEmdaer: true
-->
<!--emdaer-p
- '@emdaer/plugin-import'
- path: .emdaer/printThrice
args:
- Hello world! x3
-->
Returns Promise<string> The contents at the path or the execution results
Gets a list of possible paths for the given file This may be a relative path, check that first, then check in node modules.
Parameters
Returns Array<string> list of possible paths for the given file
FAQs
An emdaer plugin that imports content from another file
The npm package @emdaer/plugin-import receives a total of 143 weekly downloads. As such, @emdaer/plugin-import popularity was classified as not popular.
We found that @emdaer/plugin-import demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.Β It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Feross Aboukhadijeh joins TBPN to discuss Socket's $60M Series C, 500%+ ARR growth, AI's impact on open source, and the rise in supply chain attacks.

Security News
OSV withdrew 157 OSV malware reports after automated false positives incorrectly flagged trusted npm and PyPI packages, sending bad records into tools that rely on OSV data.

Research
/Security News
TrapDoor crypto stealer hits 36 malicious packages across npm, PyPI, and Crates.io, targeting crypto, DeFi, AI, and security developers.