0.0.1 • Published 7 years ago

require-graphqls v0.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

Require graphqls

Allows import of graphqls files as string

Enables import of graphqls files, useful with graphql-tools .

Installing / Getting started

A quick introduction of the minimal setup you need to get a hello world up & running.

yarn add require-graphqls

Then at start of the program add:

require('require-graphqls')

When you will need to read a .graphqls file, just require it:

const schema = require('./schema.graphqls')

Versioning

We can maybe use SemVer for versioning. For the versions available, see the link to tags on this repository.

Tests

Execute test using:

yarn test

License

This is an open source project under MIT License,you can fork and rebuild for your own team.

Contribution

If you got Bugs or feedbacks,please make Issues or send Pull Request, thanks :)