UNPKG

@quell/server

Version:

Quell is an open-source NPM package providing a light-weight caching layer implementation and cache invalidation for GraphQL responses on both the client- and server-side. Use Quell to prevent redundant client-side API requests and to minimize costly serv

18 lines (15 loc) 536 B
#!/usr/bin/env node // Check Node.js version const nodeVersion = process.version; const majorVersion = parseInt(nodeVersion.slice(1).split('.')[0]); if (majorVersion < 16) { console.error('❌ Quell requires Node.js 16 or higher'); console.error(` Current version: ${nodeVersion}`); console.error(' Please upgrade Node.js and try again'); process.exit(1); } // Import and run the CLI import('../dist/cli/index.js').catch((error) => { console.error('❌ Failed to load Quell CLI:', error.message); process.exit(1); });