{"library":"node-graphqxl","title":"GraphQXL Node Wrapper","description":"node-graphqxl is a JavaScript/TypeScript development dependency that provides a Node.js wrapper for the GraphQXL compiler. GraphQXL itself is an extension of the GraphQL Schema Definition Language (SDL) designed to facilitate the creation of large and scalable server-side GraphQL schemas by introducing features like inheritance, generics, and imports, which are typically found in programming languages. This package (currently at version 0.40.2) makes the `graphqxl` command-line interface (CLI) binary available within Node.js projects, allowing developers to compile `.graphqxl` schema files into standard GraphQL SDL. It is a build-time tool, not a runtime library for executing GraphQL queries. The primary use case is in schema-first GraphQL development workflows, enabling enhanced schema modularity and reusability. As a 0.x.x versioned project, it should be noted that the API and behavior may evolve rapidly.","language":"javascript","status":"active","last_verified":"Thu Apr 23","install":{"commands":["npm install node-graphqxl"],"cli":{"name":"graphqxl","version":null}},"imports":[],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"{\n  \"name\": \"my-graphqxl-project\",\n  \"version\": \"1.0.0\",\n  \"description\": \"A project using GraphQXL for schema definition.\",\n  \"main\": \"index.js\",\n  \"scripts\": {\n    \"generate:schema\": \"graphqxl src/schema.graphqxl > dist/schema.graphql\",\n    \"start\": \"node src/server.js\"\n  },\n  \"keywords\": [],\n  \"author\": \"\",\n  \"license\": \"ISC\",\n  \"devDependencies\": {\n    \"node-graphqxl\": \"^0.40.2\"\n  }\n}\n// src/schema.graphqxl (example content)\n// type User {\n//   id: ID!\n//   name: String!\n// }\n//\n// type Query {\n//   users: [User!]\n// }\n\n// To run this example, save the above JSON in package.json and the commented out content in src/schema.graphqxl.\n// Then run: npm install && npm run generate:schema","lang":"javascript","description":"Demonstrates how to integrate the GraphQXL compiler into your project's build scripts to generate a GraphQL schema file.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}