You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
const protocol = Object.create(null)
|
|
const modules = require.context('./protocol', true, /\.js$/)
|
|
modules.keys().forEach(function (key) {
|
|
Object.assign(protocol, modules(key))
|
|
})
|
|
export default protocol
|
|
|