
Security News
/Research
Popular node-ipc npm Package Infected with Credential Stealer
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.
@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 296 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
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.

Security News
TeamPCP and BreachForums are promoting a Shai-Hulud supply chain attack contest with a $1,000 prize for the biggest package compromise.

Security News
Packagist urges PHP projects to update Composer after a GitHub token format change exposed some GitHub Actions tokens in CI logs.