npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

changelog-gitter

v1.7.0

Published

Automated changelog generator for all projects including git add and commit. __Note: Your project doesn't have to be Node, to use this tool. You can use it with all projects__.

Downloads

11

Readme

changelog-gitter

Automated changelog generator for all projects including git add and commit. Note: Your project doesn't have to be Node, to use this tool. You can use it with all projects.

Good to know

changelog-gitter takes care of your "git add ." and "git commit". You can confirm this by checking your git logs.

Pre-requisites

  • NPM - Make sure you have NPM installed
  • Git - Make sure you have Git installed

Installation

npm init

(Press Enter until all the defaults are accepted. The package.json file should be generate as a result).

Then, install changelog-gitter

npm i changelog-gitter --save

Usage

  1. Create a change.js file in your project root

touch change.js

For windows: Create the file manual or use the following COMMAND:

echo > change.js

  1. Paste the following onto change.js file

require('changelog-gitter')

  1. To use changelog-gitter you should first initialize Git

git init

To test if the installation was successful, do this:

node change log

If the result is as follows then it was successful:

changelog-gitter successful installation image

If the above image didn't show, click the one below (https://github.com/cmigayi/changelog-gitter/blob/master/changeloggittersuccessfulInstallation.PNG)

The commands you will need:

  1. You should know the following arguments:
  • node change [log]

    Use this after posting atleast one change. It will generate the CHANGELOG.md file in your project

    node change log

  • node change [VERSION_TYPE] [CHANGE_TYPE] ["COMMENT"]

    This is the format you use to post changes to the changelog file.

    i. [VERSION_TYPE]

    • Patch: Applicable when making bugs changes or updates. It will increment version at x (version: 1.0.x)
    • Minor: Applicable when making minor changes in the project. It will increment version at y (version: 1.y.0)
    • Major: Applicable when making major changes in the project. It will increment version at z (version: z.0.0)

    Syntax

    node change patch added "My first project patch change"

    node change minor added "My first project minor change"

    node change major added "My first project major change"

    ii. [CHANGE_TYPE] They preceed documentation comments.

    • Added: Comment on any added feature

    node change patch added "new feature added"

    • Changed: Comment on any change made in the project code

    node change patch changed "Feature x changed to y"

    • Depracted: Comment on any deprecated feature

    node change patch deprecated "Feature x is no longer in use for v2.2.0"

    • Removed: Comment on any removed feature

    node change patch removed "x and y has been removed"

    • Fixed: Comment on any fixed feature

    node change patch fixed "The lag on login has been fixed"

    • Security: Comment on any security feature created, updated or added

    node change patch security "X was added in the db transactions to secure the data"

    iii. ["COMMENT"]

    This is the documentation comment. It should always be in double-qoutes.

"alike" argument

This argument is used when you want to post changes to the same version.

Syntax:

node change patch alike added "new change has been made"