1.0.22 • Published 3 years ago

@sejazipper/layer-api-client v1.0.22

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

zipper-layer-client

A Node.JS module, which provides an wrapper for the Zipper Graphql API.

Install

yarn add @sejazipper/layer-api-client

Using

import { createClient, everything } from '@sejazipper/layer-api-client'
const client = createClient()

client
    .query({
        countries: {
            name: true,
            code: true,
            nestedField: {
                ...everything, // same as __scalar: true
            },
        },
    })
    .then(console.log)

Update local dependecy

npx zpp-api build -e http://localhost:4000/graphql

Tools used

Jest - Testing Framework. \ Genql - Type safe Graphql Query Builder.

1.0.22

3 years ago

1.0.21

4 years ago

1.0.20

4 years ago

1.0.19

4 years ago

1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago