system-gql

0.0.2 • Public • Published

system-gql.

A graphql interface to query system information [WIP]

system-gql

DEMO

Feel free to poke with the DEMO

Installation

Get it: npm install -g system-gql

Usage

$ system-gql
System info on 3333

Sample Query:

{
  info {
   os {
     arch
     type
     release
     hostname
   }
  cpus {
    model
    speed
    count
  }
  }
}

Port will be picked up from process.env.SYSQL or defaults to 3333

TODO

  • Add more fields to the schema.
  • Implement generic filters.
  • Add default query to the editor.

License

MIT © Hemanth.HM

Readme

Keywords

none

Package Sidebar

Install

npm i system-gql

Weekly Downloads

0

Version

0.0.2

License

ISC

Unpacked Size

153 kB

Total Files

9

Last publish

Collaborators

  • hemanth