# @koj/config

> Common configuration files for Koj projects

Latest version **1.2.11** (published 2020-12-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install @koj/config
pnpm add @koj/config
yarn add @koj/config
bun add @koj/config
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.11 |
| Published | 2020-12-02 |
| First published | 2020-09-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 15.1 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Anand Chowdhary |
| Maintainers | kojbot, anandchowdhary |
| Keywords | MIT |

## Links

- npm: https://www.npmjs.com/package/@koj/config
- Repository: https://github.com/koj-co/config
- Homepage: https://github.com/koj-co/config#readme
- Issues: https://github.com/koj-co/config/issues
- npm.io page: https://npm.io/package/@koj/config

## Dependencies (7)

- [dateformat](https://npm.io/package/dateformat.md) ^3.0.3
- [semantic-release](https://npm.io/package/semantic-release.md) ^17.1.1
- [@semantic-release/git](https://npm.io/package/@semantic-release/git.md) ^9.0.0
- [@semantic-release/npm](https://npm.io/package/@semantic-release/npm.md) ^7.0.6
- [@semantic-release/github](https://npm.io/package/@semantic-release/github.md) ^7.1.1
- [semantic-release-gitmoji](https://npm.io/package/semantic-release-gitmoji.md) ^1.3.4
- [@semantic-release/changelog](https://npm.io/package/@semantic-release/changelog.md) ^5.0.1

## Alternatives

- [async-exit-hook](https://npm.io/package/async-exit-hook.md) — 3.7M weekly downloads
- [evnty](https://npm.io/package/evnty.md) — 7.2K weekly downloads
- [eleventy-plugin-asciidoc](https://npm.io/package/eleventy-plugin-asciidoc.md) — 3.5K weekly downloads
- [@jswork/next-get2get](https://npm.io/package/@jswork/next-get2get.md) — 945 weekly downloads
- [@dashersw/axon](https://npm.io/package/@dashersw/axon.md) — 934 weekly downloads

## Recent versions

- 1.2.11 (latest) — 2020-12-02
- 1.2.10 — 2020-12-02
- 1.2.9 — 2020-11-17
- 1.2.8 — 2020-11-04
- 1.2.7 — 2020-10-29
- 1.2.6 — 2020-10-28
- 1.2.5 — 2020-09-25
- 1.2.4 — 2020-09-23
- 1.2.3 — 2020-09-21
- 1.2.2 — 2020-09-20
- 1.2.1 — 2020-09-20
- 1.2.0 — 2020-09-20
- 1.1.1 — 2020-09-17
- 1.1.0 — 2020-09-17
- 1.0.0 — 2020-09-17
- … 1 more at https://npm.io/package/@koj/config/versions

## README

# 🛠️ Koj config files

This repository contains the common configuration files for Koj projects.

## 💻 Usage

Install the package as a dev dependency from [npm](https://www.npmjs.com/package/@koj/config):

```bash
npm install --save-dev @koj/config
```

### Prettier

Our Prettier configuration keeps all defaults with the exception of print width, which is set at 100 characters rather than 80. To use this configuration, create a Prettier config file `.prettierrc.cjs` in the project root:

```js
module.exports = require("@koj/config").prettier;
```

### Semantic Release

We use [Semantic Release](https://github.com/semantic-release/semantic-release) for automated deployments of our packages. Our configuration adds support for [Gitmoji](https://gitmoji.carloscuesta.me) commits, creating release notes with a `CHANGELOG.md`, and publishing to GitHub and npm.

Create a Semantic Release config file `release.config.js` in the project room. If you want to release the `master` or `production` branches, you can use the import directly:

```js
module.exports = require("@koj/config").master;
```

Alternately, you can specify the branch you want to release:

```js
module.exports = require("@koj/config").release("branch-name");
```

## 📄 License

- Code: [MIT](./LICENSE) © [Koj](https://koj.co)

<p align="center">
  <a href="https://koj.co">
    <img width="44" alt="Koj" src="https://kojcdn.com/v1598284251/website-v2/koj-github-footer_m089ze.svg">
  </a>
</p>
<p align="center">
  <sub>An open source project by <a href="https://koj.co">Koj</a>. <br> <a href="https://koj.co">Furnish your home in style, for as low as CHF175/month →</a></sub>
</p>

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