swapi-schema

0.0.2 • Public • Published

GraphQL schema for swapi.io

Installation:

npm install swapi-schema

Usage

import { Schema } from 'swapi-schema';
 
// Whatever code you have that uses the schema.

The schema was directly copied from this repository, so all credits go to Sashko Stubailo.

The reason for the copy was that I wanted to only use the schema without importing express or any other server logic.

Package Sidebar

Install

npm i swapi-schema

Weekly Downloads

3

Version

0.0.2

License

MIT

Last publish

Collaborators

  • jamiter