MCPcopy Create free account
hub / github.com/deta/surf / createLicenseOutputPath

Function createLicenseOutputPath

app/plugins/license.ts:7–9  ·  view source on GitHub ↗
(process: string)

Source from the content-addressed store, hash-verified

5import fs from 'fs'
6
7const createLicenseOutputPath = (process: string) => {
8 return join(__dirname, 'out', 'licenses', `dependencies-${process}.txt`)
9}
10
11const createDependencyPath = (packageName: string) => {
12 return join(__dirname, '..', '..', 'node_modules', packageName, 'package.json')

Callers 2

createLicensePluginFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected