New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@dashdot/graphql-server

Package Overview
Dependencies
Maintainers
6
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dashdot/graphql-server

A high performance graphql handler using the power of JIT.

npmnpm
Version
0.5.2
Version published
Weekly downloads
86
-41.89%
Maintainers
6
Weekly downloads
 
Created
Source

Dashdot Graphql Server

build codecov

A high performance graphql handler using the power of JIT.

Usage

Inside your Node project directory, run the following:

npm i --save @dashdot/graphql-server

Or with Yarn:

yarn add @dashdot/graphql-server

API

import { createServer } from 'http'
import {
    GraphqlQueryStore,
    createGraphqlRequestHandler
} from '@dashdot/graphql-server'
import schema from './schema'

const { PORT, HOST } = process.env

const store = new GraphqlQueryStore(schema)

const server = createServer(
    createGraphqlRequestHandler(store)
)

server.listen(PORT, HOST, () => {
    console.log(`Server started and listening on http://${HOST}:${PORT}`)
})

FAQs

Package last updated on 29 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts