FNPM: The Package Manager Drama Ends Here ๐
Hey devs! ๐ Tired of the endless debates over package managers? Ever wished for a solution that brings peace to the package manager wars? Meet FNPM โ because life's too short for package manager drama! ๐
I work at Konstruct.io we have free Fridays, and this idea was stuck in my mind for a while. I finally took advantage of AI to bring it to life! ๐ So please give us โญ๏ธ on konstructio/kubefirst, a great and amazing way to setup your kubernetes infrastructure following gitOps Philosophy.
What is FNPM? ๐ค
FNPM stands for Fuck NPM. It's a tool designed to end the eternal conflicts between npm, yarn, pnpm, and others by supporting them all seamlessly. Think of it as the peace treaty in the package manager soap opera. ๐๏ธ
Why Should You Care? ๐ค
Universal Support ๐ โ FNPM supports multiple package managers, including npm, yarn, pnpm, bun, and deno. Use your favorite; FNPM has your back!
One Lock File to Rule Them All ๐ โ No more lock file conflicts! FNPM ensures consistent dependencies across your team, regardless of individual preferences.
Happy CI/CD ๐ โ Standardized workflows and consistent builds mean no more "works on my machine" excuses.
Team Harmony ๐ค โ Let developers be developers. Stop the package manager wars and focus on building awesome stuff!
How to Get Started ๐
Getting FNPM up and running is super simple:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/ideascoldigital/fnpm/refs/heads/main/install.sh)"
Then, just use it like you would with your preferred package manager:
fnpm setup
And boom! ๐ฅ Your dependencies are managed without the drama. ๐
Basic Commands ๐
Here's a quick reference of basic commands supported across all package managers:
Action | FNPM Command | What it does |
---|---|---|
Install dependencies | fnpm install |
Installs all project dependencies |
Add a package | fnpm add <package> |
Adds a new package to your project |
Remove a package | fnpm remove <package> |
Removes a package from your project |
Update packages | fnpm update |
Updates packages to their latest versions |
Run a script | fnpm run <script> |
Runs a script defined in package.json |
Clean cache | fnpm clean |
Cleans the package manager cache |
List packages | fnpm list |
Lists installed packages |
Final Thoughts ๐ก
FNPM is here to bring harmony to your development workflow. It's easy to install, easy to use, and might just save you from the package manager drama. ๐ฐ๏ธ๐ป
Check out the official docs here ๐ FNPM Documentation
Have you tried FNPM? Let me know what you think! ๐โจ
Top comments (0)