Have ideas to improve npm?Join in the discussion! »

    @ecomplus/apps-manager

    1.0.1 • Public • Published

    apps-manager

    Publish CodeFactor npm version License AGPL

    JS lib to manage E-Com Plus store applications

    Changelog

    Usage

    The @ecomplus/apps-manager package can be used to work with E-Com Plus Market and Store API applications, with methods for apps search, install, edit and delete.

    It's available for both Node.js and browser environments.

    Example

    import ecomAuth from '@ecomplus/auth'
    import ecomApps from '@ecomplus/apps-manager'
    
    ecomApps.listFromMarket()
      .then(availableApps => {
        console.log(availableApps)
      })
      .catch(console.error)
    
    const listStoreApps = () => {
      ecomApps.list()
        .then(installedApps => {
          console.log(installedApps)
        })
        .catch(console.error)
    }
    
    if (ecomAuth.checkLogin()) {
      listStoreApps()
    } else {
      ecomAuth.on('login', listStoreApps)
    }

    Install

    npm i @ecomplus/apps-manager

    DownloadsWeekly Downloads

    23

    Version

    1.0.1

    License

    AGPL-3.0

    Unpacked Size

    329 kB

    Total Files

    26

    Last publish

    Collaborators

    • avatar