Function removeFromCache

  • Remove all references to a module from Node's module cache.

    Parameters

    • filter: ((mod) => boolean)

      callback to filter modules from the cache: return true to remove the module from the cache.

        • (mod): boolean
        • Parameters

          • mod: Module

          Returns boolean

    Returns void