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

require-graphqls

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

require-graphqls

Allows import of .graphqls files as strings

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

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 :)

FAQs

Package last updated on 05 Jul 2017

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