aboutsummaryrefslogtreecommitdiffstats
path: root/app/wikiparser.mjs
diff options
context:
space:
mode:
authorLMBishop <13875753+LMBishop@users.noreply.github.com>2021-12-21 13:52:56 +0000
committerLMBishop <13875753+LMBishop@users.noreply.github.com>2021-12-21 13:52:56 +0000
commitf4b697f0e4248ecbeb9606a113d602e28c740b38 (patch)
treecc7b33cac487f351e1b77ca44a5f7fcf2bd08d2b /app/wikiparser.mjs
parentda981411609e3d2cbd269ccae228fb9740970c5f (diff)
Add ISC license
Diffstat (limited to 'app/wikiparser.mjs')
-rw-r--r--app/wikiparser.mjs40
1 files changed, 21 insertions, 19 deletions
diff --git a/app/wikiparser.mjs b/app/wikiparser.mjs
index e49a09c..e0e06df 100644
--- a/app/wikiparser.mjs
+++ b/app/wikiparser.mjs
@@ -1,23 +1,25 @@
'use strict';
-
-// This file is a modified version of Nixinova/Wikity, whose license is given below:
-// Original: https://www.npmjs.com/package/wikity
-//
-// ISC License
-//
-// Copyright © 2021 Nixinova
-//
-// Permission to use, copy, modify, and/or distribute this software for any purpose with or
-// without fee is hereby granted, provided that the above copyright notice and this
-// permission notice appear in all copies.
-//
-// The software is provided "as is" and the author disclaims all warranties with regard to
-// this software including all implied warranties of merchantability and fitness. In no
-// event shall the author be liable for any special, direct, indirect, or consequential
-// damages or any damages whatsoever resulting from loss of use, data or profits, whether
-// in an action of contract, negligence or other tortious action, arising out of or in
-// connection with the use or performance of this software.
-
+/*
+ * This file is a modified version of Nixinova/Wikity, whose license is given below:
+ * Original: https://www.npmjs.com/package/wikity
+ *
+ * > ISC License
+ * >
+ * > Copyright © 2021 Nixinova
+ * >
+ * > Permission to use, copy, modify, and/or distribute this software for any purpose with or
+ * > without fee is hereby granted, provided that the above copyright notice and this
+ * > permission notice appear in all copies.
+ * >
+ * > The software is provided "as is" and the author disclaims all warranties with regard to
+ * > this software including all implied warranties of merchantability and fitness. In no
+ * > event shall the author be liable for any special, direct, indirect, or consequential
+ * > damages or any damages whatsoever resulting from loss of use, data or profits, whether
+ * > in an action of contract, negligence or other tortious action, arising out of or in
+ * > connection with the use or performance of this software.
+ *
+ * Additonally, this project and my modifications are also licensed under the ISC license.
+ */
import dateFormat from 'dateformat';
import htmlEscape from 'escape-html';
import * as fs from 'fs';