Skip to content

meeple-packager/mip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

87 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

mip - package manager that just works

Stars Forks Issues PRs LicenseWebsite


You can do it in like 60 seconds

# Install MIP
git clone https://github.com/kiwinatra/mip
cd mip
npm install
npm run build

# Create a project
mip init
mip install express
mip run start

✨ Features

  • ⚑ Lightning fast - 10x faster than npm
  • 🌍 Global cache - packages stored once in ~/.mip/store/
  • πŸ“ No node_modules/ - symlinks to global cache
  • πŸ”Œ Plugins - extend MIP with custom commands and hooks
  • πŸ“ YAML configs - mip.yml with comments support
  • πŸ”’ Built-in audit - check vulnerabilities
  • 🌐 i18n - 10 languages, custom language packs
  • πŸ“¦ npm compatible - works with package.json

πŸ“š Documentation

Full documentation is available at: mipdocs.fwh.is


🌐 Official Website

Visit the official MIP website: mip.fwh.is


πŸ”Œ Plugins

MIP has a built-in plugin system. Create your own commands, hooks, and integrations.

# Create a plugin
mip plugin create my-plugin

# Compile and activate
mip plugin compile my-plugin
mip plugin activate my-plugin

# Run plugin command
mip pe my-plugin my-command

πŸ“Š Benchmarks

Test: mip install express lodash axios vs npm (cold cache)

Manager Time Disk usage
npm 4.2s 42 MB
pnpm 3.1s 21 MB
mip 2.8s 0 MB (symlinks)

Second run (warm cache):

Manager Time
npm 1.8s
pnpm 0.9s
mip 0.4s ← 10x faster

πŸ› οΈ Commands

mip init                              # Create new project
mip install [pkg]                     # Install packages
mip uninstall <pkg>                   # Remove package
mip update                            # Update all packages
mip list                              # Show installed packages
mip search <query>                    # Search npm registry
mip info <pkg>                        # Show package details
mip outdated                          # Show outdated packages
mip why <pkg>                         # Why is this installed?
mip audit                             # Check vulnerabilities
mip doctor                            # System diagnostics
mip run <script>                      # Run npm script
mip exec <cmd>                        # Run local binary
mip link                              # Link local packages
mip cache clean                       # Clear cache
mip ci                                # CI installation
mip plugin                            # Manage plugins
mip pe                                # Execute plugin command
mip workspaces                        # Monorepo support

πŸ“ Project Structure

my-project/
β”œβ”€β”€ mip.yml          # YAML configuration
β”œβ”€β”€ mip-lock.yml     # Lockfile
β”œβ”€β”€ .mip/
β”‚   β”œβ”€β”€ manifest.json # Installed packages manifest
β”‚   └── cache/        # Download cache
└── node_modules/     # Symlinks to global cache

🌍 i18n & Custom Languages

MIP supports 10 languages out of the box. You can also create custom language packs:

# Create a custom language
mip pe mip-lang create pirate en

# Edit translations
vim plugins/mip-lang/locales/pirate.json

# Apply it
mip pe mip-lang apply pirate

πŸ“¦ Installation

# From GitHub
git clone https://github.com/kiwinatra/mip
cd mip
npm install
npm run build

# Or via npm
npm install -g mip

🀝 Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing)
  5. Open a Pull Request

πŸ“„ License

MIT Β© kiwinatra


πŸ”— Links


Made with ❀️ by the MIP team

(and kiwinatra <3)

About

Mip is powerful and easy npm package manager written in js.

Topics

Resources

License

Security policy

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors