summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODOs.md19
-rwxr-xr-xsrc/bin/papo4
2 files changed, 23 insertions, 0 deletions
diff --git a/TODOs.md b/TODOs.md
index 1c06aa1..e442e1e 100644
--- a/TODOs.md
+++ b/TODOs.md
@@ -12,6 +12,25 @@
# Decisions
+## DONE Assume Node.js {#td-faae1d8e-4015-cb78-0fe9-d003428266c9}
+- DONE in 2023-11-09
+
+---
+
+Despite existing multiple available JavaScript runtimes these days besides
+Node.js, like Deno (also V8), QuickJS, Bun, Hermes, etc., I'll stick to Node.js,
+for a few reasons:
+
+- it allows me to focus on getting things out there by leveraging
+ Node.js-specific functionalities;
+- it prevents me from wasting time writing compat layers for the multiple
+ implementations.
+
+If a compatibility API across runtimes ever emerges I'll adopt that, but untill
+then I'm better off getting things done rather than supporting as many platforms
+as possible when I need not to. Its better for me to use this time and energy
+improving papo itself.
+
# Resources
diff --git a/src/bin/papo b/src/bin/papo
new file mode 100755
index 0000000..aa602f7
--- /dev/null
+++ b/src/bin/papo
@@ -0,0 +1,4 @@
+#!/usr/bin/env node
+import { main } from "papo";
+
+(async () => await main())();