How to use the @jsenv/node-module-import-map.generateImportMapForProjectNodeModules function in @jsenv/node-module-import-map

To help you get started, we’ve selected a few @jsenv/node-module-import-map examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github lastmjs / zwitterion / main.js View on Github external
function generateImportMap() {
    generateImportMapForProjectNodeModules({ projectPath: process.cwd() });
}

@jsenv/node-module-import-map

Generate importmap for node_modules.

MIT
Latest version published 3 years ago

Package Health Score

45 / 100
Full package analysis

Popular @jsenv/node-module-import-map functions