# standardjs-server

> A server for standard and nothing more

Latest version **1.0.2** (published 2020-09-26) · ISC license · 0 weekly downloads

## Install

```sh
npm install standardjs-server
pnpm add standardjs-server
yarn add standardjs-server
bun add standardjs-server
```

Provides the command `standardjs-server`.

## 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 | 2020-09-26 |
| First published | 2020-09-26 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 11 |
| Unpacked size | 5.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | takase1121 |
| Maintainers | takase1121 |
| Keywords | standard, linter, javascript, eslint, development, static-code-analysis |

## Links

- npm: https://www.npmjs.com/package/standardjs-server
- Homepage: https://github.com/takase1121/standardjs-server
- Issues: https://github.com/takase1121/standardjs-server/issues
- npm.io page: https://npm.io/package/standardjs-server

## Dependencies (11)

- [mri](https://npm.io/package/mri.md) ^1.1.6
- [polka](https://npm.io/package/polka.md) ^0.5.2
- [eslint](https://npm.io/package/eslint.md) ^7.9.0
- [standard-engine](https://npm.io/package/standard-engine.md) ^12.1.0
- [eslint-plugin-node](https://npm.io/package/eslint-plugin-node.md) ^11.1.0
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.21.2
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) ^2.22.0
- [eslint-plugin-promise](https://npm.io/package/eslint-plugin-promise.md) ^4.2.1
- [eslint-config-standard](https://npm.io/package/eslint-config-standard.md) ^14.1.1
- [eslint-plugin-standard](https://npm.io/package/eslint-plugin-standard.md) ^4.0.1
- [eslint-config-standard-jsx](https://npm.io/package/eslint-config-standard-jsx.md) ^8.1.0

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2020-09-26

## README

# standardjs-server

 Recently I got into using [lite](https://github.com/rxi/lite).
 As usual, there is a [plugin for linter support](https://github.com/drmargarido/linters).
 However, the performance for [Standard](https://standardjs.com) is lackluster on my machine
 because Node.js can be slow to start + overheads, etc.
 I created this server so that the plugin only have to call `curl` to lint the file.


### Command-line options
> - `port`: Port, default is `8080`
> - `debug`: Enables extra debug message. Default is `false`
> - `token`: Token for authorization with server (optional). Token is sent through `Authorization` header

There really isn't anything special going under the hood.

### Endpoints
> #### `GET /lintGlob?cwd=CWD&file=GLOB`
>
> - `cwd` is the current working directory as required by [`standard-engine`](https://github.com/standard/standard-engine)
> - `file` is the glob to find files, or just a path to file

> #### `POST /lintText?cwd=CWD&file=GLOB`
>
> - `cwd` is the current working directory as required by [`standard-engine`](https://github.com/standard/standard-engine)
> - `file` is the filename of the text being linted
>
> The body of the request is the text being linted in UTF-8

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