about summary refs log tree commit diff
path: root/test/check.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/check.js')
-rw-r--r--test/check.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/check.js b/test/check.js
new file mode 100644
index 0000000..5bae1f5
--- /dev/null
+++ b/test/check.js
@@ -0,0 +1,11 @@
+import readline from "readline";
+import { parsePost } from "kronikarz/dist/parsePost";
+
+const rl = readline.createInterface({
+  input: process.stdin,
+  output: process.stdout
+});
+
+rl.question("", filePath => {
+  parsePost(filePath);
+});