Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@paciolan/remote-module-loader

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paciolan/remote-module-loader - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

2

package.json
{
"name": "@paciolan/remote-module-loader",
"version": "3.0.2",
"version": "3.0.3",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -99,3 +99,23 @@ # Remote Module Loader ![coverage:100%](https://img.shields.io/badge/coverage-100%25-brightgreen.svg)

```
### Named Exports
```javascript
/**
* src/index.js
*/
import loadRemoteModule from "./lib/loadRemoteModule";
const main = async () => {
const myModule = await loadRemoteModule(
"http://fake.url/modules/my-module.js"
);
const list = myModule.getList();
console.log({ list });
};
main();
```
## Async/Await Style

@@ -102,0 +122,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc