@aphorica/read-plugin

1.0.0 • Public • Published

@aphorica/read-plugin

Load, parse, and return an interpreted plugin object.

Seems like in the past, 'require' worked in a dynamic context, but no more, especially in a webpack environment.

Alternative is to load all plugins at once into something like an indexed group and access them from the group as needed.

I'd just as soon keep unused code out of the build, if I can.

NOTE: Is this a security issue? Might be in a web context, less convinced it's an issue in an electron environment (where I'm currently using it.)

Readme

Keywords

none

Package Sidebar

Install

npm i @aphorica/read-plugin

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

2.54 kB

Total Files

5

Last publish

Collaborators

  • rickbsgu