I recently built and published a custom CLI tool using Node.js and npm. The tool can be installed globally using: npm, Inc. : npm install -g tracky-cli-yogesh Available commands: tracky start → Initialize a project tracky save [files...] → Save files tracky history → View change history tracky restore <version> → Restore a previous version tracky status → Check current changes This project helped me gain hands-on experience with CLI development, command handling, package structuring, and npm publishing. I plan to continue improving it by adding more advanced features. #NodeJS #JavaScript #CLI #SoftwareDevelopment #FullStackDeveloper
Node.js CLI Tool: Tracky CLI
More Relevant Posts
-
A small but important shift in my Node.js workflow: Understanding when to use npm vs npx. It sounds basic — but it actually affects how clean and maintainable your setup is. Here’s how I look at it 👇 🔹 npm (Node Package Manager) Used when a package is part of your project. For example: npm install express It gets added to your project and is used consistently. 👉 npm = project dependencies 🔹 npx (Node Package Executor) Used for running tools when you don’t need to install them. For example: npx create-react-app myapp npx prisma init 👉 npx = run and move on 💡 What changed for me: I stopped installing everything globally. Now I keep it simple: • Dependencies → npm • One-time tools → npx This made my setup: • Cleaner • More predictable • Easier to manage 👉 Good development isn’t just about writing code. It’s about making small decisions that scale well. Still learning and improving 🚀 #NodeJS #npm #npx #BackendDevelopment #WebDevelopment #JavaScript
To view or add a comment, sign in
-
-
I Tested 15 Popular Libaries With TypeScript 7 Toolchain: Here’s How To Fix Broken Migration . . Two weeks ago TypeScript released it's version 6 which as per the announcement is the last version of TypeScript built on JavaScript. So I decided to test out TypeScript 7 with a monorepo where I had setup CI/CD and tested out 15 most popular libraries. After spending some good amount of time on it, I created a compatibility matrix to help you understand which solution works well. I have added a detailed breakdown of why TypeScript 7 currently fails for some libraries and how to work around it. [Link in the first comment] #javascript #typescript #nodejs #reactjs #software
To view or add a comment, sign in
-
-
🚀 npm vs npx — Do You Really Know the Difference? If you're working with Node.js, understanding the difference between npm and npx can save you time and improve your workflow. 🔴 npm (Node Package Manager) 👉 Used to install, manage, and maintain packages 👉 Stores dependencies in node_modules 👉 Best for long-term project dependencies 🟢 npx (Node Package Execute) 👉 Used to run packages instantly without installing 👉 Executes CLI tools directly 👉 Perfect for one-time usage or quick testing 💡 Key Insight: Use npm when you need it forever, and npx when you just need it now. 📌 Example: * npm install create-react-app → installs package * npx create-react-app my-app → runs instantly without install 🔥 Pro Tip: npx comes bundled with npm (version 5.2+), so you already have it! 💬 Which one do you use more in your daily development — npm or npx? #NodeJS #JavaScript #WebDevelopment #Frontend #Backend #FullStack #CodingTips #Developers #TechLearning #ReactJs
To view or add a comment, sign in
-
-
Node.js Module System I’ve published a new blog post exploring the Node.js Module System, covering ES6 Modules vs CommonJS, real-world use cases, module caching, and key concepts that every backend developer should know. If you’re learning Node.js or want to strengthen your fundamentals, this guide will help you understand how modules bring structure, scalability, and maintainability to applications. 👉 Read the full article here: https://lnkd.in/gfAaFK5d #NodeJS #JavaScript #BackendDevelopment #WebDevelopment #Programming #SoftwareEngineering
To view or add a comment, sign in
-
-
🚀 From idea → npm package: introducing socket-lab I built socket-lab, a terminal-first tool to interact with Socket.IO servers locally — connect, join rooms, send events, and inspect responses through an interactive REPL. 📦 npm: https://lnkd.in/ggBKGjar socket-lab helps you: • Connect to any Socket.IO server from the terminal • Join rooms and send messages easily • Inspect and debug live events • Interact through a simple interactive REPL This project was a great exercise in taking a small idea and turning it into a polished developer tool published on npm. 🔗 GitHub: https://lnkd.in/gzhbcXRs Would love feedback from the community and suggestions for improvements! #nodejs #javascript #socketio #npm #cli #react #npm #ReactNative #NestJS #Backend
To view or add a comment, sign in
-
-
Introducing chain-validate, a chainable validation library designed for JavaScript and TypeScript. Reasons for its creation include: - Combining validation and sanitization in a single chain - Collecting all errors instead of stopping at the first one - Returning structured results without throwing errors - Having zero dependencies - Maintaining a tiny bundle size Here’s a quick example: import { v } from 'chain-validate'; const userSchema = v.object({ email: v.string().required().trim().lowercase().email(), age: v.number().optional().coerce().min(18), }); const result = userSchema.validate({ email: ' KENIL@EXAMPLE.COM ', age: '21', }); result.value comes back already cleaned and typed. You can find it on npm: https://lnkd.in/dQPR_BPG Documentation is available at: https://lnkd.in/d_cYEWWz Check out the GitHub repository: https://lnkd.in/dR92DFAy I would appreciate feedback from JavaScript and TypeScript developers who are currently using Zod, Yup, or Joi. #JavaScript #TypeScript #OpenSource #WebDevelopment #NodeJS
To view or add a comment, sign in
-
🚀 Published my first tech blog on Hashnode! I’ve written a short and crisp guide on npm vs npx, something that confuses almost every beginner (including me at one point). In this blog, I’ve explained: * What npm and npx actually do * When to use each * Common mistakes developers make Kept it simple, practical, and straight to the point. 🔗 Read here: https://lnkd.in/grrfsi6Z This is just the start, planning to share more around web development, system design, and real-world learning. #WebDevelopment #JavaScript #NodeJS #Hashnode #LearningInPublic #SoftwareEngineering
To view or add a comment, sign in
-
🚀 `queueMicrotask()` A tiny JS feature most devs ignore Want something to run after current code but before setTimeout? 👉 Use `queueMicrotask()` js console.log("Start"); queueMicrotask(() => console.log("Microtask")); console.log("End"); Output: Start End Microtask --- 💡 Why it matters: • Runs before macrotasks (setTimeout) • More direct than `Promise.resolve().then()` • Useful for precise async control --- 🎯 Rule: 👉 Sync → Microtasks → Macrotasks --- Small API… But big impact once you understand the event loop ⚡ #javascript #nodejs #webdevelopment #async #eventloop
To view or add a comment, sign in
-
-
𝗚𝗲𝘁𝘁𝗶𝗻𝗴 𝗦𝘁𝗮𝗿𝘁𝗲𝗱 𝗪𝗶𝘁𝗵 𝗡𝗼𝗱𝗲.𝗷𝘀 𝗜𝗻 𝟮𝟬𝟮𝟱 Node.js is a popular choice for building server-side applications. You can write both frontend and backend code in JavaScript. Here are some benefits of using Node.js: - Fast performance with the V8 JavaScript engine - Large ecosystem with millions of packages on NPM - Great community with active development and support To get started with Node.js: - Download the LTS version from nodejs.org - Verify your installation with node --version Create your first script: - Make a file called hello.js - Add console.log('Hello, Node.js!') - Run it with node hello.js Next steps: - Learn about npm and package management - Explore Express.js for web applications - Study asynchronous programming patterns - Build your first API Source: https://lnkd.in/g8mpJDhG
To view or add a comment, sign in
-
N8N Custom Nodes Development & Publishing Tool A TypeScript-first toolkit for building n8n custom nodes: compile with Grunt, auto-generate package.json, and publish to your local n8n install via validated symlinks so changes show up after a restart. n8n N8N. #javascript #n8n https://lnkd.in/dWwEieK4
To view or add a comment, sign in
-
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development