# ahd

> Helper you configure Apache headers

Latest version **0.2.5** (published 2017-06-19) · ISC license · 0 weekly downloads

## Install

```sh
npm install ahd
pnpm add ahd
yarn add ahd
bun add ahd
```

Provides the command `ahd`.

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.5 |
| Published | 2017-06-19 |
| First published | 2017-01-24 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 13 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Yeongjun.Kim |
| Maintainers | yeongjun.kim |
| Keywords | apache header, mod_header, apache, header |

## Links

- npm: https://www.npmjs.com/package/ahd
- Repository: https://github.com/wicksome/ahd
- Homepage: https://github.com/wicksome/ahd#readme
- Issues: http://github.com/wicksome/ahd/issues
- npm.io page: https://npm.io/package/ahd

## Dependencies (13)

- [rc](https://npm.io/package/rc.md) ^1.2.1
- [chai](https://npm.io/package/chai.md) ^3.5.0
- [nopt](https://npm.io/package/nopt.md) ^4.0.1
- [sudo](https://npm.io/package/sudo.md) ^1.0.3
- [execa](https://npm.io/package/execa.md) ^0.6.3
- [mocha](https://npm.io/package/mocha.md) ^3.2.0
- [colors](https://npm.io/package/colors.md) ^1.1.2
- [editor](https://npm.io/package/editor.md) latest
- [is-root](https://npm.io/package/is-root.md) ^1.0.0
- [fs-extra](https://npm.io/package/fs-extra.md) ^2.1.2
- [columnify](https://npm.io/package/columnify.md) ^1.5.4
- [node-emoji](https://npm.io/package/node-emoji.md) ^1.5.1
- [readline-sync](https://npm.io/package/readline-sync.md) ^1.4.7

## Recent versions

- 0.2.5 (latest) — 2017-06-19
- 0.2.55555 — 2017-06-19
- 0.2.4 — 2017-06-07
- 0.2.3 — 2017-04-05
- 0.2.2 — 2017-04-05
- 0.2.1 — 2017-04-05
- 0.2.0 — 2017-04-04
- 0.1.3 — 2017-01-25
- 0.1.2 — 2017-01-24
- 0.1.1 — 2017-01-24
- 0.1.0 — 2017-01-24
- 1.0.0 — 2017-01-24

## README

# Apache Header Helper

[![Build Status](https://travis-ci.org/wicksome/ahd.svg?branch=master)](https://travis-ci.org/wicksome/ahd)
[![npm version](https://badge.fury.io/js/ahd.svg)](https://badge.fury.io/js/ahd)

> Helper you configure Apache headers

![help](./help-2017-04-05.png)

## Installation

```bash
$ sudo npm install -g ahd
$ sudo ahd init
```

## Update

```bash
$ sudo npm outdated -g ahd # check version
$ sudo npm install -g ahd
```

## Usage

```bash
$ ahd -e wicksome # enable
$ ahd -d wicksome # disable
```

```bash
$ ahd -d .+@.+ # Interpret pattern as an extended regular expression
```

## Recommand

in bachrc or bash_profile

```bash
alias ahd="sudo ahd"
```

### using fzf

```sh
$ ahd -eo **<TAB>
```

add source to `.bash_profile`

```sh
_fzf_complete_ahd() {
  _fzf_complete "--multi --reverse" "$@" < <(
    ls ~/.ahd
  )
}
[ -n "$BASH" ] && complete -F _fzf_complete_ahd -o default -o bashdefault ahd
```

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