From dcb0302fd2c0cc170fc3a699e9787972d79a74dd Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 9 Nov 2023 07:07:16 -0300 Subject: TODOs.md: Add #td-faae1d8e-4015-cb78-0fe9-d003428266c9 --- TODOs.md | 19 +++++++++++++++++++ src/bin/papo | 4 ++++ 2 files changed, 23 insertions(+) create mode 100755 src/bin/papo 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())(); -- cgit v1.2.3