@paciolan/remote-module-loader
Advanced tools
Comparing version 3.0.2 to 3.0.3
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22228
210