UNPKG

node-magento2

Version:

Node JS library to connect to magento 2 API using promises

17 lines (14 loc) 287 B
/** * Magento 2 Promise API library * File: lib/module.js * We need to define "use strict", so we're doing it here. */ "use strict"; /** * Continue with the main functionality. */ module.exports = function(service) { return { get: () => service.get('/V1/modules') } }