Skip to content

sdkPackageBase

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/parser-core/src/openapi/sdk-packaging.ts

Sanitized identifier base for package naming, derived from the project name. "Acme Docs-API!" → words ['acme','docs','api'] → acme_docs_api / AcmeDocsApi / …

Signature

ts
function sdkPackageBase(projectName: string): string

Parameters

NameType
projectNamestring

Returns: string

Was this page helpful?

Download as PDF