DEV Community

Cover image for FNPM: The Package Manager Drama Ends Here ๐Ÿš€
Jairo Fernรกndez
Jairo Fernรกndez

Posted on

2

FNPM: The Package Manager Drama Ends Here ๐Ÿš€

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)"
Enter fullscreen mode Exit fullscreen mode

Then, just use it like you would with your preferred package manager:

fnpm setup
Enter fullscreen mode Exit fullscreen mode

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! ๐Ÿš€โœจ

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs