# hello-index

> Auto-generated index file to require all files in a directory

Latest version **1.0.1** (published 2017-05-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install hello-index
pnpm add hello-index
yarn add hello-index
bun add hello-index
```

## 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.1 |
| Published | 2017-05-22 |
| First published | 2017-05-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Matt Venables |
| Maintainers | venables |

## Links

- npm: https://www.npmjs.com/package/hello-index
- Repository: https://github.com/hello-js/hello-index
- Homepage: https://github.com/hello-js/hello-index#readme
- Issues: https://github.com/hello-js/hello-index/issues
- npm.io page: https://npm.io/package/hello-index

## Dependencies (3)

- [lodash.flatten](https://npm.io/package/lodash.flatten.md) ^4.4.0
- [lodash.camelcase](https://npm.io/package/lodash.camelcase.md) ^4.3.0
- [lodash.upperfirst](https://npm.io/package/lodash.upperfirst.md) ^4.3.1

## Recent versions

- 1.0.1 (latest) — 2017-05-22
- 1.0.0 — 2017-05-22

## README

# hello-index

hello-index is an auto-generated (and customizable) index file to require all files in a directory.

[![Build Status](https://img.shields.io/travis/hello-js/hello-index/master.svg)](https://travis-ci.org/hello-js/hello-index)
[![Coverage Status](https://img.shields.io/coveralls/hello-js/hello-index.svg)](https://coveralls.io/github/hello-js/hello-index)
[![Dependency Status](https://img.shields.io/david/hello-js/hello-index.svg)](https://david-dm.org/hello-js/hello-index)
[![Standard - JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)

## Installation

```
yarn add hello-index
```

## Usage

```js
'use strict'

const index = require('hello-index')

module.exports = index(__dirname)
```

By default, all files and directories in `__dirname` will be added to the export list. All dotfiles will be ignored.

## API

```
function (basePath, [options])
```

### Options

* `case`: A `String` explaining how to export filenames, can be one of `exact` (match case exactly), `camel` (use camelCase), or `class` (use ClassName case) (default: `camel`)
* `ignore`: An `Array` of files or directories to ignore (default: `[]`)

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