#NodeJS
For anyone who can code a simple turn-based network game server:
The #FujiNet project needs one example game server:
* Game of Poker (start with 5 card stud)
* 8 Players max
* Connect over HTTPS
* GET game status in JSON
* POST your move in JSON
* Have logic to enter and exit game.
* All game logic handled on server, client is just display.
* Post a chat msg
Doesn't matter the language, #nodejs, #python, whatever. Ping back, if you can do it. #retrogaming #retrocomputing

Woah, so, I'm publishing a new book! 🚀🎁
PREORDER: https://nodejs-secure-coding.lemonsqueezy.com/checkout?cart=83325ac9-7ea9-498b-adfd-21dd57a3470b
This book is going to teach you about Command Injection vulnerabilities in Node.js
It's Friday so we can raise a toast to celebrate and use the LAUNCHYAY25OFF coupon gift when you check out. Thanks in advance for the support!

Not long ago a gave a talk at NodeJS One Africa about Functional Programming in JavaScript. It's a gentle introduction to the topic. If you've ever been curious, have a look: https://youtu.be/_FVK0mD76Ds
#javascript #programming #africa #nodejs #functionalprogramming
#Development #Findings
One in two new npm packages is SEO spam right now · Just README files with links to various malicious websites https://ilo.im/120gj2
_____
#Npm #PackageManager #WebDevelopment #WebDev #JavaScript #NodeJS #Security #Malware #Spam
#NodeJS v16.20.0 (LTS) out yesterday, upgrade! https://nodejs.org/en/blog/release/v16.20.0 #JavaScript
Node.js RoadMap 🗺
#developers #developerweb #roadmap #nodejs https://t.co/eLSj6PvgfB
One In Two New Npm Packages Is SEO Spam Right Now
https://blog.sandworm.dev/one-in-two-new-npm-packages-is-seo-spam-right-now
Discussions: https://discu.eu/q/https://blog.sandworm.dev/one-in-two-new-npm-packages-is-seo-spam-right-now
@felixthehat What can runjs.app/ do that,say,the #browser #devtools or the #nodejs #repl cannot beside top level await and imports from?
NestJS Boilerplate for fast development of REST API with most of the popular features included of the box: production ready and supported by Brocoders
https://github.com/brocoders/nestjs-boilerplate
Discussions: https://discu.eu/q/https://github.com/brocoders/nestjs-boilerplate
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/
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
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
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