const markdownProcessor = require('./markdownProcessor');
const documentFormatter = require('./documentFormatter');

const processData = function processData(data) {
  return markdownProcessor.process(data);
};

const formatData = function formatData(data) {
  return documentFormatter.format(data);
};

const wrapper = {
  render: function render(data) {
    return formatData(processData(data));
  }
};

module.exports = wrapper;


@@ -1,12 +1,13 @@
-cons
+impor
 t markdo
@@ -18,26 +18,21 @@
 ocessor 
-= require(
+from 
 './markd
@@ -48,15 +48,15 @@
 sor'
-)
 ;%0A
-cons
+impor
 t do
@@ -75,18 +75,13 @@
 ter 
-= require(
+from 
 './d
@@ -97,17 +97,16 @@
 rmatter'
-)
 ;%0A%0Aconst
@@ -291,23 +291,22 @@
 %7D;%0A%0A
-const wrapper =
+export default
  %7B%0A 
@@ -388,35 +388,7 @@
   %7D%0A
+
 %7D;%0A
-%0Amodule.exports = wrapper;%0A%0A

Change all index.js require syntax to import...from