MCPcopy Create free account
hub / github.com/Aslemammad/venode / moduleToVendorPath

Function moduleToVendorPath

venode/src/module.ts:2–4  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

1// /home/bagher/venode/node_modules/picocolors/picocolors.browser.js to picocolors/picocolors.browser.js
2export function moduleToVendorPath(id: string) {
3 return id.replace(/.*(node_modules)/, '')
4}

Callers 2

module.test.tsFile · 0.90
resolveIdFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected