|11 days ago||5 days ago|
|MIT License||MIT License|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Russhian Roulette: 1/6 chance of posting your SSH private key on pastebin
7 projects | news.ycombinator.com | 28 Jan 2023
From Ruby to Node: Overhauling Shopify’s CLI for a Better Developer Experience
10 projects | news.ycombinator.com | 12 Jan 2023
You don't even need that: https://github.com/vercel/pkg.
I think there are equivalents in the Python ecosystem.
Valetudo – Free your vacuum cleaner from the cloud
5 projects | news.ycombinator.com | 7 Jan 2023
Exploring competitive features in Node.js v18 and v19
10 projects | dev.to | 6 Dec 2022
Another exciting feature is the ability to build a single-executable Node.js binary. Before Node.js v18, the only way to build a Node.js binary was to use a third-party package, like pkg.
Docker's technical preview of WASM with Rust
2 projects | reddit.com/r/programming | 5 Dec 2022
As a comparison I am using https://github.com/vercel/pkg to package my Node.js app into an exe file. Vercel-pkg allows me to build different images for different platforms like Windows, Linux, Mac. It would be nice if it could produce a single .exe that worked on all platforms. But I guess such an exe would have to be bigger. It is not too cumbersome to produce one exe per platform that my users need.
Tauri + NodeJS: Alternative to Electron
5 projects | dev.to | 14 Nov 2022
To run NodeJS as a sidecar we need to pack it into binary. Taurine is bundling your server code and preparing it for packing into a single binary. Using Vercel’s pkg CLI tool we can compile it into a single executable binary. That binary is running with the Tauri application.
nodeMyAdmin: The alternative to phpMyAdmin written with node.JS
3 projects | reddit.com/r/node | 13 Nov 2022
What if you packaged the whole thing into one executable using pkg?
How to run code without node?
2 projects | reddit.com/r/learnprogramming | 30 Oct 2022
In addition to the other responses, there are node packages like pkg and nexe that you can use to package the node executable and your code into a single executable.
Memories: Edinburgh ML to Standard ML
3 projects | news.ycombinator.com | 5 Oct 2022
Not really, at last check it just bundles the entire .Net runtime with the compiled image. It's basically the equivalent of https://github.com/vercel/pkg or similar tools.
Command line applications
You can even pack your terminal application in a single binary that does not require separate NodeJS installed via pkg.
Typesafe, (almost) Zero Cost Dependency Injection in TypeScript
12 projects | dev.to | 9 Jan 2023
Has anyone successfully created a Dependency Injection using typescript decorators?
11 projects | reddit.com/r/typescript | 14 Aug 2022
Are you using OOP in your NodeJS application? If not, what does your architecture look like?
4 projects | reddit.com/r/node | 6 Mar 2022
However, things like DI / IoC are almost universally recommended when talking about software architecture and you really need interfaces to do it. There's inversify.js which is a good option for Typescript users, but again you need to be doing OOP.
I "invented" a (new?) pattern for super-strictly typed IoC containers / registries
3 projects | reddit.com/r/typescript | 30 Jan 2022
Hi, I know that there are some solutions out there to deal with IoC containers in TypeScript, like Inversify, but so far, and after many days exploring the Internet looking for a "nice" solution, I didn't find anything alike to what I just came up with... So there's a chance that this is really a novelty when it comes to TS patterns :) , who knows.
Dependency Injection for TypeScript
2 projects | dev.to | 20 Sep 2021
Any good tutorial showing you which library to use for dependency injection in a project?
9 projects | reddit.com/r/node | 29 Aug 2021
The DI library you are looking for is InversifyJS https://github.com/inversify/InversifyJS. Its mature and mirrors API of other popular DI libraries.
Top 5 TypeScript dependency injection containers
6 projects | dev.to | 29 Jul 2021
Following the official documentation, I created a map called TYPES that contains all the tokens we’ll use later for injection. I implemented the necessary interfaces, adding the class-level decorator @injectable to each. The parameters of the InversifySettingsTxtService constructor use the @inject decorator, helping the DI container to resolve dependencies in runtime.6 projects | dev.to | 29 Jul 2021
The InversifyJS project provides a lightweight DI container that uses interfaces created through tokenization. It uses decorators and decorators’ metadata for injections. However, some manual work is still necessary for binding implementations to interfaces.
Um Guia sobre Injeção e Inversão de Dependências em Node.js e TypeScript
3 projects | dev.to | 5 Apr 2021
I took a look at Nest.JS on the recommendation of a friend and honestly, it just looks like people are re-inventing the wheel (Spring Boot) on top of the Node.js runtime.
2 projects | reddit.com/r/node | 14 Mar 2021
NestJS is heavily inspired by Angular, which was heavily inspired by Java SpringBoot and C# design patterns. I wouldn't quite say it's re-inventing the wheel, as there's nothing in node that works like this yet. There's a few other DI frameworks (inversify which is more barebones DI, and FoalTS which (to me) feels like NestJS Lite), but none that I know of that come close to NestJS.
What are some alternatives?
nexe - 🎉 create a single executable out of your node.js apps
ncc - Compile a Node.js project into a single file. Supports TypeScript, binary addons, dynamic requires.
awilix - Extremely powerful Inversion of Control (IoC) container for Node.JS
reverse-engineering - List of awesome reverse engineering resources
vue-property-decorator - Vue.js and Property Decorator
oclif - Node.js Open CLI Framework. Built by Salesforce.
mixitup - A high-performance, dependency-free library for animated filtering, sorting, insertion, removal and more