# Swell.js

Source: https://developers.swell.is/frontend-api/frontend-libraries/swell-js

Swell.js is a universal JavaScript SDK for Swell's Frontend API, providing helper methods for common data and actions needed to create storefronts and checkout flows.

> **Note:** The SDK implements a subset of operations available in the [Backend API](https://developers.swell.is/backend-api/introduction) and is authorized with a public key and session token, so it's safe to use in any context.

### Features

- Fetch products, categories, store settings, nav menus, and custom content
- Create, recover, and update shopping carts
- Build custom checkout and subscription flows
- Authenticate customers and allow them to edit account details, orders, and subscriptions
- Resolve linked content to dynamically generate page URLs
- Format prices in the store's currency
