Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@faststore/api

Package Overview
Dependencies
Maintainers
13
Versions
444
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@faststore/api

FastStore API Connect to your favorite ecommerce platform

  • 1.3.34
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.5K
decreased by-59.98%
Maintainers
13
Weekly downloads
 
Created
Source

Faststore

FastStore API

Connect to your favorite ecommerce platform

Installation

From the command line in your project directory, run yarn add @faststore/api.

yarn add @faststore/api

Usage

With servers like express:

import { execute } from 'graphql'
import { getSchema } from '@faststore/api'

import express from 'express'

const app = express()

app.get('/graphql', async (req, res) => {
  const { query, operationName, variables } = req.body

  const result = await execute({
    schema: await getSchema(),
    variableValues: variables,
    operationName
  })

  res.status(200)
  res.send(result)
})

Docs

For more information, please refer to our documentation: https://faststore.dev/reference/api/overview

FAQs

Package last updated on 11 Dec 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc