MCPcopy Create free account
hub / github.com/DavidWells/analytics / generateImportStatement

Function generateImportStatement

scripts/docs.js:513–516  ·  view source on GitHub ↗
(name, pkgName)

Source from the content-addressed store, hash-verified

511}
512
513function generateImportStatement(name, pkgName) {
514 return `import Analytics from 'analytics'
515import ${name} from '${pkgName}'`
516}
517
518// ${example.replace(/^\s+|\s+$/g, '')},
519function es6Usage(data, pkg) {

Callers 2

jsDocRenderExampleFunction · 0.85
es6UsageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected