# babel-plugin-detect-haiku

> ビルド時にソースコードから 575 を見つける babel-plugin

Latest version **1.0.2** (published 2019-12-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install babel-plugin-detect-haiku
pnpm add babel-plugin-detect-haiku
yarn add babel-plugin-detect-haiku
bun add babel-plugin-detect-haiku
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2019-12-15 |
| First published | 2019-11-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | sadness_ojisan |
| Maintainers | sadness.ojisan |

## Links

- npm: https://www.npmjs.com/package/babel-plugin-detect-haiku
- Repository: https://github.com/sadnessOjisan/plugin-detect-575
- Homepage: https://github.com/sadnessOjisan/plugin-detect-575#readme
- Issues: https://github.com/sadnessOjisan/plugin-detect-575/issues
- npm.io page: https://npm.io/package/babel-plugin-detect-haiku

## Dependencies (2)

- [babel-cli](https://npm.io/package/babel-cli.md) ^6.26.0
- [haiku-core](https://npm.io/package/haiku-core.md) ^1.0.0

## Recent versions

- 1.0.2 (latest) — 2019-12-15
- 1.0.1 — 2019-12-15
- 1.0.0 — 2019-12-15
- 0.0.2 — 2019-12-14
- 0.0.1 — 2019-11-17

## README

# babel-plugin-detect-haiku

ビルド時にソースコードから 575 を見つける babel-plugin

これは [クソアプリ Advent Calendar 2019](https://qiita.com/advent-calendar/2019/kuso-app)の 19 日目の記事である、[ビルド時に俳句を読めるプラグイン](https://qiita.com/sadnessOjisan/98619eaaef1da8d6545a) のために開発されたものです。

## 導入

babel とプラグインの導入

```zsh
$ yarn add -D babel babel-plugin-detect-haiku
```

設定ファイル(babelrc など)を編集

```js
module.exports = {
  // 中略
  plugins: ["detect-haiku"]
};
```

動作例や設定例は、 [575-detect-plugin-example](https://github.com/sadnessOjisan/575-detect-plugin-example) を参考ください。

## 開発

モジュールインストール

```zsh
$ yarn install
```

実行

```zsh
$ yarn run start
```

公開前にドライラン

```zsh
$ tar -tf $(npm pack)
```

npm に公開

```zsh
$ npm publish
```

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