#nodejs
Can an http.ClientRequest ever emit both "response" and "error"? (assuming nothing external is emitting events on it)
🪲 VSCode hack shows how supply chain attacks can extend to other software development tools
👉 Extensions are developed in Node.js
👉 Malicious npm packages to extensions
👉 Infected extensions & Auto update
Deno gets package.json support: great for #NodeJS interoperability! #TS https://deno.com/blog/package-json-support

Oh happy day, mama! #TailwindCSS finally supports ESM!
Friendly reminder that the current and all long term support versions (18.x, 16.x, 14.x) of #NodeJS support ESM. You should be removing CJS everywhere.
https://tailwindcss.com/blog/tailwindcss-v3-3#esm-and-typescript-support
Como instalar #NodeJS en #Windows con #winget
Trying to squeeze my brain on AsyncLocalStorage in #nodejs for a mature and complication codebase.
Been wrestling for a while trying to determine why context keeps getting lost. But I have a feeling that it's probably due to the combination of promises and async/await that make up the call stack when making REST calls.
Practical example of using IoC (Inversion of Control) with typescript and express
https://borjatur.com/2023/03/25/inversion-of-control/
Discussions: https://discu.eu/q/https://borjatur.com/2023/03/25/inversion-of-control/
There is just one repo written in Ruby that allows access to a mysql database using http protocol. Since the repo is outdated, how do I go about building something similar in node.js?
https://github.com/adamcooke/mysql-http-api
Discussions: https://discu.eu/q/https://github.com/adamcooke/mysql-http-api
Updated: #markdownlint v0.28.0, #Markdown #linting library for #NodeJS
- Introduce `micromark` parser for better positional data (internal only)
- Use `micromark` in MD013/MD033/MD034/MD035/MD038/MD044/MD052/MD053
- Simplify file-based test cases
- Unify browser script for demo
- Update dependencies
Web Development recap for week 12/2023
https://discu.eu/weekly/webdev/2023/12/
#css #javascript #nodejs #programming #typescript #webassembly #webdev
Get RSS feeds and support this bot with the premium plan: https://discu.eu/premium
New Spartan Schema release (v1.1), with actual detailed error messages! You can now use `assertMatchesSchema` to throw an exception on a validation failure, and the exception will contain the full JSON and the exact locations and details of every schema error.
Time travel debugging! Click on the link under a console.log, and it rewinds time and throws down a breakpoint.
https://www.youtube.com/watch?v=VQEVZacjt40
#gamedev #typescript #webgl #nodejs #tabletop #screenshotsaturday
👋
Hello, #TypeScript famity. Can you please point me to a good, working example of how to declare #NodeJS package subpath exports, and then import the same in the the package?
I believe the example I saw what so that the tests could import the API, but the API would not be able to import the tests in error.
I'm getting everyone's favorite "Cannot find module" error 🙏
GitHub - drizzle-team/drizzle-orm: TypeScript ORM for SQL
https://github.com/drizzle-team/drizzle-orm
Un query builder pour Node.js. L'outil se définit comme un ORM mais de ce que j'ai pu lire, ça ressemble beaucoup plus à un query builder. Une alternative à Knex.js en somme.
#orm #sql #javascript #nodejs #lib — https://links.kalvn.net/shaare/6yQghA
Anyone out there #hiring for mid-level #SoftwareEngineers with experience with #nodejs, #dotNET, and #PHP? I know someone that might be on the market that I would love to recommend 😃
I love #coding on #linux!
For example the installation of node.js with the nvm installer.
I need a special version of node.js and I type nvm install 14.8.0 in the terminal!
That's it.
On #windows I always needed to deinstall the current version. Download the older version from the web and install it via msi installer.
Turns out #NodeJS infrastructure relies on #Cloudflare, from the incident report published yesterday. https://nodejs.org/en/blog/announcements/node-js-march-17-incident #SRE #EdgeComputing
I may or may not have used #ChatGPT to write #unittest with #javascript due to utter laziness, and it just wrote just like what I had in mind 😆
I'm coding live today at 2:00 PM ET! Come hang out and learn with me as we build a trivia game in Node.js using Vue, Tailwind CSS, and socket.io! #AHOTLive #streaming #nodejs #websockets #javascript

Oof why have one way to do modules when you can have two incongruent ways? Thankfully found some good examples for how to maximize compatibility, but this is still pretty obnoxious. #NodeJS
I wrote some #nodejs with #expressjs for my DB class project tonight. I haven't used this tech in many many years. The async/await API makes things much much less terrible.
#NodeJS may be harder to exit than vi :)
❯❯ node
Welcome to Node.js v19.7.0.
Type ".help" for more information.
> quit
Uncaught ReferenceError: quit is not defined
> exit
Uncaught ReferenceError: exit is not defined
> exit()
Uncaught ReferenceError: exit is not defined
> process.exit()
I built a ready-to-use auth server with TypeScript and Express.js
https://github.com/Louis3797/express-ts-auth-service
Discussions: https://discu.eu/q/https://github.com/Louis3797/express-ts-auth-service
GraphJin: Create a #GraphQL API on top of an existing relational database. Leverages forign keys to allow embeds & aggregations inside queries. Server libraries available in #NodeJS and
https://graphjin.com/
I’m #hiring software engineers in Dublin. Join me at DocuSign to build Smarter, Easier, Trusted Agreements
#nodejs #typescript #docker #kubernetes #azure #devops #microservices #observability #opensource #jobs
Know anyone who might be interested?
Backend Engineer.
https://careers.docusign.com/jobs/21614?lang=en-us
Platform Engineer.
https://careers.docusign.com/jobs/21616?lang=en-us
Hmm, there's an #ICS Event #Importer tool for @mobilizon – but only in planning phase, yet.
https://framagit.org/framasoft/joinmobilizon/event-importer
anyone willing to contribute to a useful tool for #fedi? #DecentralizeAllTheThings #FediDev #NodeJS
We have launched the public beta of open-source MongoDB Atlas alternative
https://www.tigrisdata.com/blog/mongodb-compatibility-beta/
Discussions: https://discu.eu/q/https://www.tigrisdata.com/blog/mongodb-compatibility-beta/
💻 In the third in our series of programming tutorials based on appearance data for Republic of Ireland players, I explain how to show that
1️⃣ The team against Scotland in September 2022 was the youngest to start a competitive game since a qualifier against Cyprus in November 1980
2️⃣ Stephen Kenny has given 15 players their debuts - the same number as Brian Kerr
#COYBIG #nodejs #programming #statistics #footballstatistics #stats
Comparing Node.js web frameworks: Which is most secure? https://snyk.io/blog/comparing-node-js-web-frameworks/ #javascript #security #nodejs
Navigating the Complexities of File Watching https://github.com/vercel/turbo/issues/986#issuecomment-1477360394 #javascript #nodejs
Navigating the Complexities of File Watching https://github.com/vercel/turbo/issues/986#issuecomment-1477360394 | https://lobste.rs/s/mjppkn #javascript #nodejs
Comparing Node.js web frameworks: Which is most secure? https://snyk.io/blog/comparing-node-js-web-frameworks/ | https://lobste.rs/s/evmmmi #javascript #nodejs #security
This week I'm learning JavaScript, Node.js, TypeScript... the hard way: https://github.com/orgs/executablebooks/discussions/981
If you usually build with #NodeJS, what compiled language are you enjoying (or looking to pick up)?
Other than Rust. I think it would dominate, I'm interested in the runner up.
Reply with other. Boost if you have Node.js reach.
ty 💞
toying w the idea of doing a talk titled "Transpiling: It has Tradeoffs" for #nodejs but entirely unsure if this is a complete waste of time for an audience that will learn better eventually anyways
I've had great a great experience doing #spatialAnalysis with #NodeJS thanks to the Turf.js library ( https://turfjs.org ).
My one pain point was crashes related to floating point handling when doing a `union()` of complex polygons. But those issues were solved after I found `polyclip-ts`: https://github.com/SBanksX/polyclip-ts
The other library I use is "overpass-frontend" to query OpenStreetMap: https://www.npmjs.com/package/overpass-frontend
Web Development recap for week 11/2023
https://discu.eu/weekly/webdev/2023/11/
#css #javascript #nodejs #programming #typescript #webassembly #webdev
Get RSS feeds and support this bot with the premium plan: https://discu.eu/premium
Interesting to read Ryan's explanation for bringing package.json support to deno and the goals using a bare specifier for v2 with the deno: package specifier. Excited for the future of deno 🦕 https://deno.com/blog/package-json-support
Engineering challenges I'm interested in
🌲 Scaling high traffic #WordPress ecommerce sites. I will solve immediate problems and develop a strategy to move some parts of the stack out of WordPress. #AWS #Docker #Laravel #nodejs etc.
🌲 Using large language models -- GPT, etc. -- to improve content creation, personalization and search.
🌲Integrating #activitypub into CMSes and social media management tools
#FediHire
#TIL that "npm ci" means "npm clean-install". I always thought it was an #npm command for #continuousIntegration #ciCd #node #nodejs #javaScript
Node.js security progress report: permission model merged
https://openjsf.org/blog/2023/03/13/node-js-security-progress-report-permission-model-merged/
#ES_Next_News #ECMAScript #JavaScript #NodeJS
I release a new command line tool today 🎉 It is a super-simple way to compare two folders and can be super useful when testing a build system against a known good output
🦀 Is rust overkill for apps that could be done quickly by NodeJS and PHP?
"not because of speed,but because of reliability.When we wrote those services in Rust,we effectively wrote them once.Our team is now moving on to new work,while other teams are still fixing...
The question was asked here
https://www.reddit.com/r/rust/comments/11uwwhy/is_rust_overkill_for_most_backend_apps_that_could/jcqom6r


Node.js Express API Data Validation: Techniques and Examples
https://voskan.host/2023/02/12/node-js-express-rest-api-validation-everything-you-need-to-know/
Discussions: https://discu.eu/q/https://voskan.host/2023/02/12/node-js-express-rest-api-validation-everything-you-need-to-know/
Today, #nodejs package hell drove me crazy. #commonjs and #esm bundling with only #esbuild seems to be impossible today; at least I didn't manage to get a configuration that supports
- browser environment (when installled in an app, for example with #vitejs)
- node environment (for services in node docker containers)
- bin script support
Especiallly the generated CommonJS of esbuild seems to be strange and lead to a lot of incompatibilites.
Wrote my own #ChatGPT API with #alpacaCPP 😂 https://github.com/antimatter15/alpaca.cpp
(Basically, it runs the chat executable as a spawned process, then that file is forked from another that has an expressjs server running - working with this stuff with events is a mess but it works per request at least)
took the new #nodejs test runner for a spin and like it a lot. one less dependency and no more debates about test runners works well for me.
will keep our existing stuff on node-tap, and tape for a long time to come still I'm sure but nice to see this for new things.
https://github.com/brianleroux/architect-example-node-test-runner/blob/main/test.mjs
I'm looking for a #database of #software, #framework, #library and #plugin version where I can found for example which version of #webpack I can use with #angular8 and with which version of #typescript and #nodejs. ( #realWorld example 😅 ).
A bit like https://gist.github.com/LayZeeDK/c822cc812f75bb07b7c55d07ba2719b3
Any idea?
I'm streaming today at 2:00 PM ET! Come hang out and learn with me as we build a trivia game in Node.js using Vue, Tailwind CSS, and socket.io! #AHOTLive #streaming #nodejs #websockets #javascript https://www.linkedin.com/feed/update/urn:li:ugcPost:7042174914186940416
📯 Today on JS Party LIVE  📯
Erick Wendel joins @jerod & @kball to discuss BeJSConf and his work on recreating @nodejs from scratch! Join us! 💚
#javascript #nodejs #deno #bunjs #runtimes
 https://jsparty.fm/268/live
 https://jsparty.fm/268/time
 https://jsparty.fm/community
just trying to find the #nodejs docs…which is down…which seeing this doesn't really surprise me. I know the content is in here somewhere…
Drizzle - An ORM that lets you just write SQL
https://www.propelauth.com/post/drizzle-an-orm-that-lets-you-just-write-sql
Discussions: https://discu.eu/q/https://www.propelauth.com/post/drizzle-an-orm-that-lets-you-just-write-sql
RT Balram Prasad
https://youtu.be/SSIz69ur5do
Create a Node.js web app in Azure with Visual Studio Code and App Service
#azure #appservices #azurewebapp #nodejs #nodejsdeveloper #azuredeveloper #webdevelopment #webhosting #vscode
:sys_twitter: https://twitter.com/balram_prasad/status/1633692496994930688
Turbowatch – Extremely fast alternative to Nodemon
https://github.com/gajus/turbowatch/
Discussions: https://discu.eu/q/https://github.com/gajus/turbowatch/
Ok, so I had a go with the #ChatGPT API and it was quite fun! I ended up learning about the Readline module in #NodeJS too.
Here's how to build your own CLI chatbot with ChatGPT and JavaScript: https://philna.sh/blog/2023/03/13/create-a-cli-chatbot-with-chatgpt-api-and-node-js/