1.0.12 • Published 9 months ago

magento-graphql-lib v1.0.12

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

Foobar

This library can help you use graqlph to communicate with magento.

Installation

npm i magento-graphql-lib

Usage

const { BatchGraphql, InitGraphqlConnect, GraphQl } = require("magento-graphql-lib")

InitGraphqlConnect("http://magentoserver")

async function fun() {
    //default store code
    const rs1 = await BatchGraphql().Querys(SIGN_IN, { email: "test@test.com", password: "123123123" })
    console.log(rs1)
    //muit store code
    const rs2 = await BatchGraphql(["store1","store2"]).Querys(SIGN_IN, { email: "test@test.com", password: "123123123" })
    console.log(rs2)
}

fun()
1.0.12

9 months ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.9

1 year ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago