social.coop is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Fediverse instance for people interested in cooperative and collective projects. If you are interested in joining our community, please apply at https://join.social.coop/registration-form.html.

Administered by:

Server stats:

490
active users

#nodejs

22 posts22 participants2 posts today
Replied in thread

@henry Having (almost fully) switched to #NodeJS in 2012, I quickly recognized the danger of relying to _anything_ (#npm included, this one gave me a lot of pain for several times over the years).
Ended up with a monstrous monorepo. Forked (and improved) just 2 other people's repos, one abandoned and one that took months to finally get it right regarding garbage collection, but I had no time to wait.
Thereby I never got to a situation to hate a programming language because of the hype around it, but it surely got me coding a ton of #javascript.
The experience helped me a lot in JS5=>ECMAScript and ECMAScript=>TypeScript switching in the last year or so.

»10 Gründe JavaScript zu hassen – oder zu lieben:
Drei Dekaden der Entwicklungsarbeit gehen auch an JavaScript nicht spurlos vorüber. Im Guten, wie im Schlechten.«

Ich sehe dies sehr ähnlich und bin aber immer noch der Meinung, dass JavaScript (TypeScript) eigentlich nur im Browser angewendet werden sollte da ansonsten "zu langsam" ist.

🧑‍💻 computerwoche.de/article/38441

Computerwoche10 Gründe JavaScript zu hassen – oder zu liebenDrei Dekaden der Entwicklungsarbeit gehen auch an JavaScript nicht spurlos vorüber. Im Guten, wie im Schlechten.
Replied in thread

Out of pure curiosity, and because I'm on that #webdev #framework discovery tip. Heck, this project even made me download an IDE for Android lol

Just to read `install.bin` - which is an sh script.

Excuse me, but why are you bundling #nodejs and #npm? Is it to facilitate a setup process for containers, or is it merely to make the process easy?

I'm a bit sceptical to that sort of thing, especially when fetching from a vendors domain directly.

Any plans to build packages via CI?

@aral @andre

Replied in thread

@nojhan Hey, thanks for your comment and for trying out Numtap! 😊 I totally get why you'd compare it to Python REPL—it's a solid tool for calculations. Your feedback actually inspired me to release v1.1.0 with several improvements, so thank you for that! 🙏 Here’s how Numtap now stands out for terminal workflows:

Instant Launch & Lightweight: Numtap is super lightweight (just 52.7 kB) and launches instantly—no waiting for a full Python environment to load or importing modules like math. Perfect for quick math during scripting or analysis! ⚡
Built-in REPL Features for Terminal Workflows: Numtap comes with commands like history (shows all calculations with timestamps), last (recalls the last result), and clear (clears the screen)—all tailored for a seamless CLI experience. In Python, you’d need extra setup to get similar functionality. 🕒
Scientific Functions, No Imports Needed: Functions like sin(), cos(), log(), and unit conversions (e.g., 90 deg to rad) are ready to use right away. In Python, you’d need to import math and convert units manually (e.g., math.sin(math.radians(45))), which slows you down. 🧮
Colorful & Clear Output: Using chalk, Numtap provides color-coded feedback (e.g., green results, red errors), making it easier to read during long sessions. Python REPL’s plain text can feel less user-friendly in comparison. 🌈
Smooth Error Handling: Numtap handles errors without crashing the session, with clear messages like "Undefined symbol" or "Unexpected operator". Python’s error tracebacks can be overwhelming for quick math tasks.
Specialized for Terminal Math: Numtap is built specifically for terminal calculations, with two modes: Quick Mode (e.g., numtap "2 + 3") for one-off expressions, and Interactive Mode for chained calculations. Python REPL is more general-purpose, so it’s less focused for this use case.
Numtap is designed to be a go-to tool for terminal users—like in infosec workflows—where speed, simplicity, and a polished CLI experience matter. It works on Linux, macOS, and Windows (via WSL) with just Node.js installed. For more details, check out the links below! 🔗

Npm: npmjs.com/package/numtap
GitHub: github.com/AbdeslamChouimet/nu

I’d love to hear your thoughts on this updated version! Your feedback was super helpful, and I’d really appreciate more comments like yours to keep improving Numtap. What features would make it even more useful for your needs? 🖤💜

I really love JavaScript (and its runtime ecosystem bun/node/deno), one of its curse is to easily think of problems as one off solution rather than a system. With the help of LLM, before diving into any detailed implementations, start with structure and modular design can leads to much better artifacts.

Hey infosec folks 🖤💜
I’m excited to share my project 😅 "Numtap", a CLI calculator that brings quick and reliable math to your terminal—perfect for those moments when you need fast calculations during analysis or scripting!

Why Numtap? 🤔
- An open-source CLI calculator for basic operations (like 2 + 3) and advanced functions (like sin, sqrt) ✅
- Works in two modes: Interactive (for ongoing calculations) 🧮 or Quick ⚡ (for one-off expressions) ✅
- Built with JavaScript using `mathjs` for precision and `chalk` for a colorful interface ✅
- Keeps a history of your calculations 🕒

Get Started 💁
Install Numtap with the command below:

$ npm install -g numtap

Check out the screenshots below to see it in action! For more details, visit the links below.

🔗 Links:
- [GitHub](github.com/AbdeslamChouimet/nu)
- [npm](npmjs.com/package/numtap)

I’d love to hear your feedback 🛠️ and suggestions for improvement! 😊 What do you think 🤔? Do you find CLI tools like this useful in your infosec workflows? 🖤💜