Export medium editor function, complete package.json