# @toolia/make-index

> writes index.js which exports all files in the current folder

Latest version **2.0.1** (published 2019-12-22) · ISC license · 0 weekly downloads

## Install

```sh
npm install @toolia/make-index
pnpm add @toolia/make-index
yarn add @toolia/make-index
bun add @toolia/make-index
```

Provides the command `make-index`.

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2019-12-22 |
| First published | 2019-12-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | George Campbell |
| Maintainers | georgecampbell |
| Keywords | cli, tool |

## Links

- npm: https://www.npmjs.com/package/@toolia/make-index
- Repository: https://github.com/GCDeveloper/make-index
- Homepage: https://github.com/GCDeveloper/make-index#readme
- Issues: https://github.com/GCDeveloper/make-index/issues
- npm.io page: https://npm.io/package/@toolia/make-index

## Dependencies (3)

- [esm](https://npm.io/package/esm.md) ^3.2.25
- [@toolia/json-args](https://npm.io/package/@toolia/json-args.md) ^1.0.6
- [@toolia/process-dir](https://npm.io/package/@toolia/process-dir.md) ^1.0.2

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 2.0.1 (latest) — 2019-12-22
- 1.0.2 — 2019-12-19
- 1.0.1 — 2019-12-02

## README

> :warning: Requires node >= 10

# make-index

This is a command line tool which generates an index.js esm (import/export) file from the filenames within the folder.

1. Install `npm i -g @toolia/make-index`

2. Navigate to the folder you want to use the command on `cd path/to/directory`

3. Run the command `make-index`

# Todos

- Make it possible to make 'require' modules instead of just esm import/export modules.

- Write tests and increase code quality.

- Allow recursive version and generally expand functionality where relevant.

- Make option to export other files such as `.jsx`.

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