Skip to content

Helpers

Random assorted helpers

md

typescript
const md = (content: string) => any

getProjectRoot

typescript
const getProjectRoot = (dir: string, d: any, maxD: any) => string

loadEnv

typescript
const loadEnv = () => any

dirListing

typescript
const dirListing = (dir: string, d: any) => string

getNotebooksToProcess

typescript
const getNotebooksToProcess = (notebookPath: string, nbsPath: string) => string[]

getExportedDefinitions

typescript
function getExportedDefinitions(sourceCode: string): SymbolDefinition[]

findDenoTests

typescript
const findDenoTests = (sourceCode: string) => TestInfo[]

removeDuplicateImports

typescript
const removeDuplicateImports = (sourceCode: string) => string