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.
Post-format-aware modules (Posts, Favorites, Popular, IqdbQueries) always fall back to the legacy
format here, matching new E621() when Options.defaultPostFormat isn't set - there's no way to
thread a type-accurate default through a plain array of module classes like this, so it isn't exposed as
an option. Pass v2/mode per call instead.
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. sopost.favorite()works iffavoritesis included). Unlikenew E621(), only the modules you list here (and their own dependencies) need to be bundled - useful when tree-shaking matters more than convenience.Post-format-aware modules (
Posts,Favorites,Popular,IqdbQueries) always fall back to the legacy format here, matchingnew E621()when Options.defaultPostFormat isn't set - there's no way to thread a type-accurate default through a plain array of module classes like this, so it isn't exposed as an option. Passv2/modeper call instead.