Reddit | node.js
0 FOLLOWERS
News and links for node.js developers from the Reddit community.
Reddit | node.js
2h ago
Hey all,
Building an older project that uses yarn. I am able to successfully build the project in a virtual environment on bare metal and lxd containers. I wanted to move this to an unprivileged podman container for quick reproducible builds that can then be unit tested. Ultimately this will be running in a CI environment and running in a privileged container is not acceptable.
This build which normally takes a few minutes will hang indefinitely during linting and type checking. I am unsure how to get more detailed information during the linting process to see what is actually going on with t ..read more
Reddit | node.js
2h ago
Hi All,
I’ve created a very small directory visualization tool for the CLI called fsviz and released it on npm here.
Here’s the GitHub repo.
It’s a single file, so it would likely take a seasoned dev < 60s to review.
I’d love to get feedback from anyone related to: - how to make it more robust and safe - improving the UX - improving efficiency - make it prettier - whether you’d actually use it!
Thanks every one! ?
submitted by /u/angusryer
[visit reddit] [comments ..read more
Reddit | node.js
4h ago
Did anyone used pwa? I use with vite because I have frontend experience, better than expo for what I need.
Can I build pwa apps using iOS and android like we do on expo?
submitted by /u/Ambitious_Bee_2966
[visit reddit] [comments ..read more
Reddit | node.js
8h ago
I have three packages: A, B, and Core.
A and B depend on Core, as a regular dependency (not peer dependency).
Whenever Core is updated, A and B are also published with the updated version of Core.
Users of these libraries don't have to install Core and don't need to know about it, it's installed automatically as a dependency of A or B.
The problem is, that when a user updates package A, it's easy to forget to update B, and the user ends up with two versions of Core installed, resulting in bugs.
I guess, the only thing that can be done with this is to detect this case programmatically and thro ..read more
Reddit | node.js
9h ago
These sites: snapinsta.app , snapsave.app are two most popular video downloading website. But, how can I create like this one? specially the backend part? I see these site never get blocked, and unlimited download option. Please, don't suggest API to use this, I just wanna build it from scratch.
submitted by /u/FStorm045
[visit reddit] [comments ..read more
Reddit | node.js
9h ago
Our project selected Kysely as our tooling for generating queries to our DB. We want to set up our tables with consistent meta data fields, and we want the behaviours for these fields to be consistent across all tables.
In other projects (dotnet), I use inheritance for this, but I'm newer to JS-based development and I'm not sure how to set up my repo files such that the meta data can be managed in a black-box... Is there a way for me to have updates and inserts work consistently on metadata for all tables without having to think about it?
Here's a code snippet. I want to have NewUser extend a ..read more
Reddit | node.js
10h ago
Hi all, I’ve never actually administered a server before and hoping y’all can provide answers regarding server security. Thanks in advance.
I’m about to go live with a little express-mysql web app project that I made. I’m poor and can’t afford to rent a cloud server so I’m sacrificing my gaming laptop and using it to run the backend in my closet via home ISP. The server will only be responsible for storage and REST operations, nothing crazy.
I’m running a fresh install of Windows 11 Home and using an ASUS AX-11000 router.
I’m wondering if there are any OS/router settings I should check/config ..read more