@flexkit/explorer 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Flexkit.io
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,76 @@
1
+ <div align="center">
2
+ <a href="https://flexkit.io">
3
+ <picture>
4
+ <source media="(prefers-color-scheme: dark)" srcset="https://flexkit.io/public/logos/icon-dark-background.png">
5
+ <img alt="Flexkit logo" src="https://flexkit.io/public/logos/icon-light-background.png" height="128">
6
+ </picture>
7
+ </a>
8
+ <h1>Flexkit Explorer</h1>
9
+
10
+ <a href="https://www.npmjs.com/package/@flexkit/explorer"><img alt="NPM version" src="https://img.shields.io/npm/v/%40flexkit%2Fexplorer?style=for-the-badge&labelColor=%23000000&color=%232563eb"></a>
11
+ <a href="https://github.com/flexkit-io/flexkit/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/npm/l/%40flexkit%2Fexplorer?style=for-the-badge&labelColor=%23000000&color=%230ccf6a"></a>
12
+ <a href="https://github.com/orgs/flexkit-io/discussions"><img alt="Join the community on GitHub" src="https://img.shields.io/badge/Join%20the%20comunity-blue.svg?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyBmaWxsPSJub25lIiB2aWV3Qm94PSIwIDAgNDggNDgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTcgOEg0MVY0MEg3VjhaIiBmaWxsPSIjMDIwODE3Ij48L3BhdGg+PHBhdGggZD0iTTI0IDBDNDIgMCA0OCA2IDQ4IDI0QzQ4IDQyIDQyIDQ4IDI0IDQ4QzYgNDggMCA0MiAwIDI0QzAgNiA2IDAgMjQgMFpNMTcuNzQ5NCA5LjUyMzgxSDguNzYxOUwxOS4yODMzIDIzLjgzMTNMOC43NjE5IDM4LjcwNzhIMTcuNzQ5NEwyMS4wNDk5IDMzLjY2MzlWMTQuMjU0OUwxNy43NDk0IDkuNTIzODFaTTM4Ljk1NzcgOS41MjM4MUgyOS45NTQyTDI2LjI4NTcgMTQuODIyOVYzMy4wNDA2TDI5Ljk1NDIgMzguNzA3OEgzOC45NTc3TDI4LjM5MDggMjMuODMxM0wzOC45NTc3IDkuNTIzODFaIiBmaWxsPSJ3aGl0ZSI+PC9wYXRoPjwvc3ZnPg==&labelColor=%23000000"></a>
13
+
14
+ </div>
15
+
16
+ **Explorer is a plugin for Flexkit Studio that provides a graphical interactive in-browser GraphQL IDE where you can explore and test the GraphQL API of your Flexkit project.**
17
+
18
+ ## Features
19
+
20
+ - Full language support of the latest
21
+ [GraphQL Specification](https://spec.graphql.org/draft/#sec-Language):
22
+ - Syntax highlighting
23
+ - Intelligent type ahead of fields, arguments, types, and more
24
+ - Real-time error highlighting and reporting for queries and variables
25
+ - Automatic query and variables completion
26
+ - Automatic leaf node insertion for non-scalar fields
27
+ - Documentation explorer with search and markdown support
28
+ - Persisted state using `localStorage`
29
+
30
+ ![Screenshot](assets/screenshot.png)
31
+
32
+ ## Installation
33
+
34
+ ```shell
35
+ npm install @flexkit/explorer
36
+ ```
37
+
38
+ ### Configuring
39
+
40
+ ```ts
41
+ // `flexkit.config.ts`:
42
+ import { defineConfig } from '@flexkit/studio/ssr';
43
+ import { Explorer } from '@flexkit/explorer';
44
+
45
+ export default defineConfig({
46
+ plugins: [Explorer()],
47
+ });
48
+ ```
49
+
50
+ ## Contributing
51
+
52
+ Contributions to Flexkit are welcome and highly appreciated. However, before you jump right into it, we would like you to review our [Contribution Guidelines](/contributing.md) to make sure you have a smooth experience contributing to Flexkit.
53
+
54
+ ## Reporting Issues
55
+
56
+ Found a bug? Have a feature request?
57
+
58
+ Open an issue with:
59
+ • Repro steps
60
+ • Expected vs actual behavior
61
+ • Screenshots when helpful
62
+ • Schema snippet (if relevant)
63
+
64
+ ## License
65
+
66
+ This project is licensed under the **MIT license**.
67
+
68
+ See [LICENSE](https://github.com/flexkit-io/flexkit/blob/main/LICENSE) for more information.
69
+
70
+ ---
71
+
72
+ ## Security
73
+
74
+ If you believe you have found a security vulnerability in Flexkit, we encourage you to **_responsibly disclose this and NOT open a public issue_**.
75
+
76
+ Please email us at security@flexkit.io to report any security vulnerabilities.