@spree/storefront-api-v2-sdk
Version:
Node module to easily integrate your JavaScript or TypeScript application with Spree API V2. You can create an entirely custom Storefront in JS/TS with this package including one page checkout, Single Page Apps, PWAs and so on
11 lines (8 loc) • 367 B
text/typescript
import Client, { IClientConfig } from './Client'
import * as errors from './errors'
import Result from './helpers/Result'
import Http from './Http'
import * as routes from './routes'
import * as endpoints from './endpoints'
const makeClient = (config: IClientConfig = {}) => new Client(config)
export { Client, Http, Result, errors, makeClient, endpoints, routes }