What is EasyNPM ?
A platform where users can easily search for nodejs packages and take a glance at details without leaving the page. One-click copy option for popular package managers like npm, yarn and pnpm.
Key features and benefits
Simplified publishing: EasyNPM automates many of the manual steps involved in publishing packages, such as:
Increment version number (patch, minor or major version).
Run the test.
Commit changes to Git.
Tag releases in Git.
Publish to npm.
Interactive prompts: EasyNPM uses interactive prompts to guide you through the publishing process, clearly explaining what is being done, and allowing you to confirm or modify settings.
Version Management: It provides convenient commands for incrementing package versions according to semantic versioning (semver). You can easily increment patch, minor or major versions using simple commands such as easy-npm patch
, easy-npm minor
or easy-npm major
.
Git integration: EasyNPM seamlessly integrates with Git to automatically commit changes and mark releases. This helps maintain a clear version history of the package.
Pre-release checks: It can run tests before release to ensure your package works as expected. This helps prevent broken packages from being released.
Customizable: Although it simplifies the process, EasyNPM is still customizable. You can configure various options to suit your specific needs.
Usage examples
Install EasyNPM globally: npm install -g easy-npm
Navigate to your package's directory in the terminal.
To release a new patch version: easy-npm patch
Then EasyNPM will:
Increment the patch version in package.json
.
Run your tests.
Commit changes to Git.
Tag releases in Git.
Push commits and tags to Git.
Publish the package to npm.