From e4c74ae7b1346e3e42972562a440d94b2a561aa3 Mon Sep 17 00:00:00 2001 From: alexandru-constantin <32934843+alexandru-constantin@users.noreply.github.com> Date: Fri, 1 Mar 2019 02:51:20 +0100 Subject: [PATCH] expose API in top level (#160) * expose API in top level * updated API --- doctoc.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doctoc.js b/doctoc.js index 40cb9a1..50adb78 100755 --- a/doctoc.js +++ b/doctoc.js @@ -114,3 +114,5 @@ for (var i = 0; i < argv._.length; i++) { console.log('\nEverything is OK.'); } + +module.exports.transform = transform;