Show HN: I used ChatGPT o1 to make an express-like HTTP framework for Node.js (github.com) 2 points by frolleks 2y ago ↗ HN
[–] cranberryturkey 2y ago ↗ you should be using esm. [–] frolleks 2y ago ↗ for development, i did only use commonjs, but then i transpiled it to both cjs and esm. are you saying that i should use esm for development as well? [–] cranberryturkey 2y ago ↗ yes. its supported everywher enow. [–] frolleks 2y ago ↗ alright, but i will still transpile to both cjs and esm
[–] frolleks 2y ago ↗ for development, i did only use commonjs, but then i transpiled it to both cjs and esm. are you saying that i should use esm for development as well? [–] cranberryturkey 2y ago ↗ yes. its supported everywher enow. [–] frolleks 2y ago ↗ alright, but i will still transpile to both cjs and esm
[–] cranberryturkey 2y ago ↗ yes. its supported everywher enow. [–] frolleks 2y ago ↗ alright, but i will still transpile to both cjs and esm
4 comments
[ 3.9 ms ] story [ 22.9 ms ] thread