1.0.22 • Published 2 years ago

@sejazipper/layer-api-client v1.0.22

Weekly downloads
-
License
ISC
Repository
github
Last release
2 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

2 years ago

1.0.21

2 years ago

1.0.20

3 years ago

1.0.19

3 years ago

1.0.18

3 years ago

1.0.17

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.11

3 years ago

1.0.10

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago