Skip to content

stripEndSlash

reference
1 min readUpdated

Kind: Function

Source: packages/common/utils/shared.utils.ts

Part of: Common

Signature

ts
function stripEndSlash(path: string)

Parameters

NameType
pathstring

Used by

3 references from 3 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

Imported by (3)

  • RoutePathFactorypackages/core/router/route-path-factory.ts:18
  • MiddlewareBuilderpackages/core/middleware/builder.ts:17
  • RouteInfoPathExtractorpackages/core/middleware/route-info-path-extractor.ts:16

Was this page helpful?

Download as PDF
stripEndSlash — NestJS head-to-head