Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dalisoft/jsona-rs-npm
JSONA parser, linter, formatter, lsp and cli
https://github.com/dalisoft/jsona-rs-npm
formatter jsona jsona-parser lsp npm parser rust
Last synced: 2 months ago
JSON representation
JSONA parser, linter, formatter, lsp and cli
- Host: GitHub
- URL: https://github.com/dalisoft/jsona-rs-npm
- Owner: dalisoft
- License: apache-2.0
- Created: 2024-04-01T22:58:30.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-07-09T01:45:13.000Z (6 months ago)
- Last Synced: 2024-07-09T05:23:18.455Z (6 months ago)
- Topics: formatter, jsona, jsona-parser, lsp, npm, parser, rust
- Language: JavaScript
- Homepage: https://jsona.github.io/jsona
- Size: 30.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jsona-rs-npm
JSONA parser, linter, formatter, lsp and cli
> **npm** integration for [jsona-rs](https://github.com/jsona/jsona) without any overhead so using full power of `jsona-rs` CLI performance and feature
## Documentations
Look at [official documentation](https://jsona.github.io/jsona)
## 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/jsona-rs-npm -D
# or
yarn install dalisoft/jsona-rs-npm -D
# or
bun add dalisoft/jsona-rs-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)
## Similar projects
- [spectral](https://github.com/stoplightio/spectral)
- [dprint-markdown](https://github.com/dprint/dprint-plugin-markdown)
- [prettier](https://prettier.io)
- [biomejs](https://biomejs.dev)## License
Apache-2.0