export.js
373 Bytes
let exportExpress = {
"type": "Property",
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
},
"kind": "init",
"value": {
"type": "Identifier",
}
};
module.exports = (name) => {
exportExpress.key.name = name;
exportExpress.value.name = name;
return exportExpress;
};