You can use a simply way like require('@weex-module/name') to access the apis of module. e.g.
require('@weex-module/name')
var dom = require('@weex-module/dom'); dom.scrollToElement(this.$el('someIdForElement'), { offset: 0 });