Function: writeLicensePlistNPMOutput

writeLicensePlistNPMOutput(licenses, iosProjectPath, plistLikeOutput?): void

Writes LicensePlist-compatible metadata for NPM dependencies to a file

This will take scanned NPM licenses and produce following output inside iOS project's directory:

| - ios | ---- myawesomeapp | ---- myawesomeapp.xcodeproj | ---- myawesomeapp.xcodeworkspace | ---- license_plist.yml <--- generated LicensePlist config with NPM dependencies | ---- Podfile | ---- Podfile.lock

Parameters

Name Type Description
licenses AggregatedLicensesObj Scanned NPM licenses
iosProjectPath string Path to the iOS project directory
plistLikeOutput? string Optional pre-generated string output to use instead of generating it using generateLicensePlistNPMOutput

Returns

void

See

generateLicensePlistNPMOutput

ON THIS PAGE