# elm-reflection

> > find all elm files in a directory (recursively) and get infos about them. It will tell you the module name and if it contains elm-css or elm-tests/doc-tests.

Latest version **0.2.0** (published 2017-01-16) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install elm-reflection
pnpm add elm-reflection
yarn add elm-reflection
bun add elm-reflection
```

Provides the command `elm-reflection`.

## 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.0 |
| Published | 2017-01-16 |
| First published | 2016-12-16 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 5 |
| Author | schtoeffel |
| Maintainers | joneshf, schtoeffel |

## Links

- npm: https://www.npmjs.com/package/elm-reflection
- Repository: https://github.com/stoeffel/elm-reflection
- Homepage: https://github.com/stoeffel/elm-reflection#readme
- Issues: https://github.com/stoeffel/elm-reflection/issues
- npm.io page: https://npm.io/package/elm-reflection

## Dependencies (1)

- [binstall](https://npm.io/package/binstall.md) ^1.2.0

## Recent versions

- 0.2.0 (latest) — 2017-01-16
- 0.1.7 — 2017-01-16
- 0.1.5 — 2017-01-16
- 0.1.4 — 2017-01-16
- 0.1.3 — 2017-01-15
- 0.1.2 — 2017-01-15
- 0.1.1 — 2017-01-15
- 0.1.0 — 2017-01-15
- 0.0.11 — 2016-12-22
- 0.0.10 — 2016-12-22
- 0.0.9 — 2016-12-19
- 0.0.8 — 2016-12-19
- 0.0.7 — 2016-12-17
- 0.0.6 — 2016-12-16
- 0.0.5 — 2016-12-16
- … 4 more at https://npm.io/package/elm-reflection/versions

## README

# elm-reflection
> find all elm files in a directory (recursively) and get infos about them.
It will tell you the module name and if it contains elm-css or elm-tests/doc-tests.

## installation

```bash
$ npm i elm-reflection -g
```

## Usage

```
Usage: elm-reflection [--path ARG] [--filter ARG]

Available options:
  -h,--help                Show this help text
  --path ARG               Default is whatever is in your "source-directories"
  --filter ARG             Possible values: [Test,ExposesTests,DocTest,Css]
```

```bash
$ elm-reflection > files.json
$ elm-reflection -- filter Css > css-files.json
$ elm-reflection --filter DocTest,ExposesTests > tests.json
```

## The Json

```json
[
    {
        "path": "/Users/stoeffel/src/Foo/Bar.elm",
        "types": [],
        "name": "Foo.Bar"
    },
    {
        "path": "/Users/stoeffel/src/tests/FooSpec.elm",
        "types": ["Test", "ExposesTests"],
        "name": "FooSpec"
    }
]
```

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