# node-editorconfig

> Add a ready-to-use .editorconfig to any Node.js project with a single command.

Latest version **1.6.3** (published 2026-05-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-editorconfig
pnpm add node-editorconfig
yarn add node-editorconfig
bun add node-editorconfig
```

Provides the command `node-editorconfig`.

## Health

**Score 45/100 (D)** — status: active.

Positive: no vulnerabilities.

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

## Facts

| | |
|---|---|
| Version | 1.6.3 |
| Published | 2026-05-26 |
| First published | 2017-07-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=20.0.0 |
| Dependencies | 0 |
| Unpacked size | 7.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Priyank Parashar |
| Maintainers | paras20xx |
| Keywords | generic, setup, init, initialize, default, editorconfig, .editorconfig, node, js, NodeJS, Node.js, project |

## Links

- npm: https://www.npmjs.com/package/node-editorconfig
- Repository: https://github.com/webextensions/node-editorconfig
- Homepage: https://github.com/webextensions/node-editorconfig#readme
- Issues: https://github.com/webextensions/node-editorconfig/issues
- npm.io page: https://npm.io/package/node-editorconfig

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.6.3 (latest) — 2026-05-26
- 1.6.2 — 2026-05-26
- 1.6.1 — 2026-05-26
- 1.6.0 — 2026-05-26
- 1.5.2 — 2026-05-26
- 1.5.1 — 2026-01-24
- 1.5.0 — 2025-11-29
- 1.4.1 — 2025-10-27
- 1.4.0 — 2024-08-28
- 1.3.0 — 2023-10-07
- 1.2.3 — 2022-04-23
- 1.2.2 — 2022-02-14
- 1.2.1 — 2022-02-14
- 1.2.0 — 2021-12-31
- 1.1.4 — 2021-12-31
- … 12 more at https://npm.io/package/node-editorconfig/versions

## README

# node-editorconfig

A generic .editorconfig for Node JS projects


# Usage

## Method 1: Without installing
```sh
$ cd /path/to/your/project/

$ npx node-editorconfig
  <OR>
$ npx --min-release-age=0 node-editorconfig@latest --overwrite
```

## Method 2: With `--global` installation
```sh
$ npm install --global node-editorconfig

$ cd /path/to/project/

$ node-editorconfig
 ✔ .editorconfig file added at /path/to/project/.editorconfig
```

## Parameters

`--overwrite` (To overwrite the .editorconfig file, if it already exists)
```sh
$ npx node-editorconfig --overwrite
 ✔ .editorconfig file overwritten at /path/to/project/.editorconfig
```

`--version` / `-v` (Show the installed package version)
```sh
$ npx node-editorconfig --version
1.2.3
```

`--help` / `-h` (Show usage help)
```sh
$ npx node-editorconfig --help
... Usage Instructions ...
```


# About this project

## Author

* Priyank Parashar - [GitHub](https://github.com/paras20xx) | [Twitter](https://twitter.com/paras20xx) | [LinkedIn](https://linkedin.com/in/ParasharPriyank/)

## Connect with us

* https://www.webextensions.org/
* [GitHub](https://github.com/webextensions/live-css-editor)
* [Twitter](https://twitter.com/webextensions)

## License

* [MIT](LICENSE)

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