Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@emdaer/plugin-node-package

Package Overview
Dependencies
Maintainers
4
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emdaer/plugin-node-package

An emdaer plugin that requires a file and optionally executes it with provided arguments.

Source
npmnpm
Version
1.8.12
Version published
Weekly downloads
1
-97.83%
Maintainers
4
Weekly downloads
 
Created
Source

@emdaer/plugin-node-package

An emdaer plugin that requires a file and optionally executes it with provided arguments.

nodePackagePlugin

Use the export of a given package as the content if it's a string, and execute it with provided args if it's a function

Parameters

  • options any
    • options.path string? The filename to require.
    • options.args array? An array of args to pass to the exported function at the required path.
    • options.runEmdaer boolean? Whether or not to run emdaer on the content.

Returns Promise<string> The contents at the path or the execution results

Keywords

emdaer-plugin

FAQs

Package last updated on 20 Feb 2018

Did you know?

Socket

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.

Install

Related posts