@wppconnect-team/loader
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

WPPConnectLoader 📞

WPPConnectLoader is an open source project developed by the JavaScript community with the aim of exporting functions from Webpack modules

Our online channels

Discord Telegram Group WhatsApp Group YouTube

Usage

var WPPConnectLoader = require('@wppconnect-team/loader');

var loader = new WPPConnectLoader();

// Get module by id
loader.get(moduleId);

// Get module by search function
loader.searchModule(m => m.default.MyFunctionTest);

// Get module ID by search function
loader.searchModuleId(m => m.default.MyFunctionTest);

// Return a promise with resolved módule
loader.waitForModule(m => m.default.MyFunctionTest);

Dependencies (0)

    Dev Dependencies (22)

    Package Sidebar

    Install

    npm i @wppconnect-team/loader

    Weekly Downloads

    0

    Version

    1.0.5

    License

    LGPL-3.0-or-later

    Unpacked Size

    17.9 kB

    Total Files

    7

    Last publish

    Collaborators

    • icleitoncosta
    • joaosouz4dev