Gathering detailed insights and metrics for @shopify/shopify-api
Gathering detailed insights and metrics for @shopify/shopify-api
Gathering detailed insights and metrics for @shopify/shopify-api
Gathering detailed insights and metrics for @shopify/shopify-api
@trigger.dev/shopify
Trigger.dev integration for @shopify/shopify-api
@shopify/admin-graphql-api-utilities
A set of utilities to use when consuming Shopify’s admin GraphQL API
@shopify/cli-kit
A set of utilities, interfaces, and models that are common across all the platform features
@shopify/network
Common values related to dealing with the network
npm install @shopify/shopify-api
@shopify/shopify-app-express@5.0.8
Published on 29 Oct 2024
@shopify/shopify-app-remix@3.4.0
Published on 29 Oct 2024
@shopify/shopify-api@11.6.0
Published on 29 Oct 2024
@shopify/shopify-app-session-storage-sqlite@4.0.8
Published on 29 Oct 2024
@shopify/shopify-app-session-storage-redis@4.2.1
Published on 29 Oct 2024
@shopify/shopify-app-session-storage-prisma@5.1.5
Published on 29 Oct 2024
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
298 Stars
4,913 Commits
118 Forks
165 Watching
78 Branches
6,955 Contributors
Updated on 27 Nov 2024
Minified
Minified + Gzipped
TypeScript (99.92%)
JavaScript (0.07%)
Shell (0.01%)
Cumulative downloads
Total Downloads
Last day
-0.2%
20,740
Compared to previous day
Last week
-5.3%
107,550
Compared to previous week
Last month
9%
465,098
Compared to previous month
Last year
63.5%
4,713,240
Compared to previous year
11
This repository contains packages you can use to interact with Shopify's APIs. You can use these packages to create clients for those APIs directly, or to create apps using TypeScript / JavaScript.
It is organized as a monorepo, which includes multiple packages that can be used together.
The packages in this repository can be used to extend Shopify in different ways:
These packages make it easy to interact with Shopify's APIs if you have the required access tokens.
Package | Latest version | Description |
---|---|---|
@shopify/admin-api-client | Client for the GraphQL and REST Admin APIs. | |
@shopify/storefront-api-client | Client for the GraphQL Storefront API. | |
@shopify/graphql-client | Generic GraphQL API client. | |
@shopify/api-codegen-preset | Codegen preset for Shopify APIs. Automatically integrates with the clients above. |
These packages make it easy to create Shopify apps with TS / JS using different tech stacks.
Package | Latest version | Description |
---|---|---|
@shopify/shopify-api | Framework and runtime agnostic library for Shopify OAuth, APIs, webhooks, and more. | |
@shopify/shopify-app-remix | Implementation of @shopify/shopify-api to make it easy to create apps using Remix. | |
@shopify/shopify-app-express | Implementation of @shopify/shopify-api to make it easy to create apps using Express. |
These packages provide database-specific implementations to manage @shopify/shopify-api
sessions.
Package | Latest version | Description |
---|---|---|
@shopify/shopify-app-session-storage | Provides the interfaces used by the app middleware packages to write custom packages. | |
@shopify/shopify-app-session-storage-drizzle | Drizzle implementation of the session storage interface. | |
@shopify/shopify-app-session-storage-dynamodb | DynamoDB implementation of the session storage interface. | |
@shopify/shopify-app-session-storage-kv | Cloudflare KV implementation of the session storage interface. | |
@shopify/shopify-app-session-storage-memory | Memory implementation of the session storage interface. | |
@shopify/shopify-app-session-storage-mongodb | MongoDB implementation of the session storage interface. | |
@shopify/shopify-app-session-storage-mysql | Mysql implementation of the session storage interface. | |
@shopify/shopify-app-session-storage-postgresql | PostgreSQL implementation of the session storage interface. | |
@shopify/shopify-app-session-storage-prisma | Prisma implementation of the session storage interface. | |
@shopify/shopify-app-session-storage-redis | Redis implementation of the session storage interface. | |
@shopify/shopify-app-session-storage-sqlite | SQLite implementation of the session storage interface. |
We use pnpm
to develop this package, and we recommend using it for development to ensure your environment is consistent with ours.
To get started, install the dependencies, and build the packages:
1cd shopify-app-js 2pnpm install 3pnpm build
Once the packages are built, you'll be able to make changes. Note that if you're working on multiple packages, you'll need to build them for changes to affect other packages.
We aim to add test coverage for every change to help prevent regressions. You can run the whole suite by running this at the root:
1pnpm test
[!NOTE] Make sure to run
build
beforetest
to ensure the internal dependencies are available.
If you're only working on one package, you can build and run tests individually:
1cd packages/<package> 2pnpm build 3pnpm test
When you're ready to test a package in an app, you can build it, and install it with a file:
protocol in e.g. a Remix app:
1cd packages/<package> 2pnpm build 3 4cd <app folder> 5pnpm add "file:<path to shopify-app-js>/packages/<package>" 6shopify app dev
To update the local package, run pnpm build
in the package folder, and restart your app.
No vulnerabilities found.
No security vulnerabilities found.