by runarberg · 1y ago · 0 comments
Why would you do that? There are dozens of libraries which do exactly that. Instead of AI you can ask npm or pip, heck you can even ask CRAN[1].
1: https://cran.r-project.org/web/packages/markdown/index.html
Also modern JavaScript uses import, require() is very 2015. If the AI is recommending you use require() I would suggest a better one.