E621
    Preparing search index...

    Function createStandalone

    • Constructs a minimal, standalone E621-like object containing only the modules you explicitly provide, wired so they can call back into each other via this.e621 (e.g. so post.favorite() works if favorites is included). Unlike new E621(), only the modules you list here (and their own dependencies) need to be bundled - useful when tree-shaking matters more than convenience.

      Type Parameters

      • T extends readonly ModuleClass<string, unknown>[]

      Parameters

      • modules: T
      • client: Client

      Returns StandaloneResult<T>