An open API service indexing awesome lists of open source software.

https://github.com/dalisoft/ls-lint-go-npm

An extremely fast directory and filename linter - Bring some structure to your project filesystem
https://github.com/dalisoft/ls-lint-go-npm

filesystem-linter linter ls-lint

Last synced: about 1 month ago
JSON representation

An extremely fast directory and filename linter - Bring some structure to your project filesystem

Awesome Lists containing this project

README

        

# ls-lint-go-npm

An extremely fast directory and filename linter - Bring some structure to your project filesystem

> **npm** integration for [ls-lint-go](https://github.com/loeffel-io/ls-lint) without any overhead so using full power of `ls-lint-go` CLI performance and feature

## Documentations

Look at [official documentation](https://ls-lint.org)

## Motivation

> This package is specifically designed for direct Command-Line Interface (CLI) interaction or as an extension for Visual Studio Code.

### The functionality for npx or bunx is not included and is not anticipated to be incorporated in the future

## How this is fast?

This project leverages the [binary2npm](https://github.com/dalisoft/binary2npm) utility to streamline the acquisition of platform-specific binaries. The binaries provided by the author are highly optimized, surpassing the performance of the traditional **Node.js** `bin.js` approach. By invoking the binaries directly, we circumvent unnecessary overhead, resulting in significantly reduced startup times and enhanced efficiency.

## Installation

```sh
npm install dalisoft/ls-lint-go-npm -D
# or
yarn install dalisoft/ls-lint-go-npm -D
# or
bun add dalisoft/ls-lint-go-npm -D
```

## Environment variables

| Name | Description | Required |
| -------------- | ----------------------------------------------------------------------------------------------- | -------- |
| `GITHUB_TOKEN` | For [GitHub API](https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting) | Yes |

## Usage

See [Documentations](#documentations), requires [Environment variables](#environment-variables)

## License

Apache-2.0