@server-status/api-plugin-systeminformationdeprecated

plugin for server-status for retrieving server status information

Usage no npm install needed!

<script type="module">
  import serverStatusApiPluginSysteminformation from 'https://cdn.skypack.dev/@server-status/api-plugin-systeminformation';
</script>

README

System Information plugin for Server Status API

GraphQL API for retrieving server system information from package systeminformation.
Work in progress. Only small part of systeminformation package had been rewritten.

Use

It is plugin so you need use the @server-status/api or you can adapt to yours ApolloServer. But if you choose my solution you need to do this steps:

$ npm install @server-status/api @server-status/api-plugin-systeminformation

or

$ yarn add @server-status/api @server-status/api-plugin-systeminformation

Create file e.g. index.js

const ServerStatus = require('@server-status/api')

const config = {
  plugins: [
    {
      name: '@server-status/api-plugin-systeminformation',
    },
  ],
}

ServerStatus(config).listen()

And run server

$ node index.js

Licence

MIT