
Product
Introducing Webhook Events for Pull Request Scans
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
@fleetbase/storefront
Advanced tools
Ecommerce companion SDK & API for Fleetbase, build custom shopping experiences for on-demand orders.
fleetbase.io | @fleetbase_io | Discord
npm install @fleetbase/storefront
yarn add @fleetbase/storefront
See the documentation webpage.
If you would like to make contributions to the Fleetbase Javascript SDK documentation source, here is a guide in doing so.
import Storefront, { Product } from "@fleetbase/storefront";
const storefront = new Storefront("Your Store Key");
// list products
storefront.products.findAll();
// create a product
const product = new Product({ name, description, price });
// retrieve cart & add item
storefront.cart.retrieve().then((cart) => {
cart.add("product_xyxyxyx", 1);
// empty cart
cart.empty();
});
// checkout
storefront.checkout.capture();
Storefront will eventually allow you to bring your own ecommerce adapter.
@todo
FAQs
Fleetbase Storefront JS & Node SDK
The npm package @fleetbase/storefront receives a total of 30 weekly downloads. As such, @fleetbase/storefront popularity was classified as not popular.
We found that @fleetbase/storefront demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.