# changelog-init

> Initializes a keepachangelog.com changelog in the current directory

Latest version **1.0.1** (published 2015-03-30) · ISC license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install changelog-init
pnpm add changelog-init
yarn add changelog-init
bun add changelog-init
```

Provides the command `changelog-init`.

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2015-03-30 |
| First published | 2015-03-30 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 19 |
| Author | Bret Comnes |
| Maintainers | bret |
| Keywords | changelog, utility |

## Links

- npm: https://www.npmjs.com/package/changelog-init
- Repository: https://github.com/bcomnes/changelog-init
- Issues: https://github.com/bcomnes/changelog-init/issues
- npm.io page: https://npm.io/package/changelog-init

## Dependencies (1)

- [minimist](https://npm.io/package/minimist.md) ^1.1.1

## Alternatives

- [lodash.assign](https://npm.io/package/lodash.assign.md) — 2.3M weekly downloads
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) — 1.8M weekly downloads
- [react-native-ios-utilities](https://npm.io/package/react-native-ios-utilities.md) — 138.5K weekly downloads
- [@technically/lodash](https://npm.io/package/@technically/lodash.md) — 50.9K weekly downloads
- [@fluid-topics/ft-icon](https://npm.io/package/@fluid-topics/ft-icon.md) — 20.6K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2015-03-30
- 1.0.0 — 2015-03-30

## README

# changelog-init
[![NPM](https://nodei.co/npm/changelog-init.png)](https://nodei.co/npm/changelog-init/)

Creates a keepachangelog.com changelog in the current directory. 

## Install

```sh
$ npm i changelog-init -g
```

Or use it apart of a larger work flow.

## CLI

```sh
$ cd project-dir
$ changelog-init
```

`changelog-init` won't overwrite existing changelogs unless you tell it to:

```sh
$ changelog-init -F
Force overwriting existing changelog
CHANGELOG.md created at /project/CHANGELOG.md
```

You can specify a path as well:

```sh
$ changelog-unit /path/to/project
CHANGELOG.md created at /path/to/project/CHANGELOG.md
```

## API

```js
var init = require('changelog-init')
var opts = {force: false}
init('path/to/changelog', opts, function(err, path) {
  // Stuff
})
```

`init` returns and `error` and a `path` where the CHANGELOG.md was saved.

---
_Source: https://npm.io/package/changelog-init · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
