Engine API Reference - v2.6.1
    Preparing search index...

    Function normalize

    • Normalize the path by removing '.' and '..' instances.

      Parameters

      • pathname: string

        The path to normalize.

      Returns string

      The normalized path.