From 114ecb2e1c03255bed5efee77ba1d8a71c9944d5 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sat, 19 Oct 2019 23:08:36 +0200 Subject: Sprawdzarka wpisów MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add article checker * Fix config typo --- test/check.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/check.js (limited to 'test/check.js') 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); +}); -- cgit 1.4.1