
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
experiment-catalog-ingestor
Advanced tools
Package to help ingesting catalog data into Constructor.io ☕️
A Node.js library for easily ingesting product catalogs into Constructor.io, using a strict type system.
This client is intended for use in server side integrations. If you want a JavaScript client for client side (i.e. front end) integrations please use @constructor-io/constructorio-client-javascript
This package is meant to help in the process of ingesting your catalog data into Constructor.io. Internally, it relies on our public API.
First, install the package:
npm i @constructor/ingestor
To ingest data, you simply need to call the ingest method:
import { CatalogIngestionPayload, CatalogIngestor } from "@constructor-io/ingestor";
async function fetchData(): Promise<ExternalData> {
// TODO: Implement your logic to fetch data here.
return {};
}
function transformData(data: ExternalData): CatalogIngestionPayload {
// TODO: Implement your logic to transform data here.
// Here, we're just using an example dataset.
return {
groups: [
{
parent_id: null,
name: "Shoes",
id: "shoes",
},
],
items: [
{
id: "nike-shoes-brown",
item_name: "Nike Shoes Brown",
image_url: "https://images.nike.com/shoes-brown.jpg",
url: "https://www.nike.com/shoes-brown",
description: "Best shoes",
group_ids: ["shoes"],
active: "TRUE",
metadata: [],
keywords: [],
facets: [
{
key: "Color",
value: "Brown",
},
{
key: "Size",
value: ["M", "L", "XL"],
},
],
},
],
variations: [],
};
}
const catalogIngestor = new CatalogIngestor({
constructorApiToken: "my-constructor-api-token",
});
await catalogIngestor.ingest(async () => {
const data = await fetchData();
return transformData(data);
});
FAQs
Package to help ingesting catalog data into Constructor.io ☕️
We found that experiment-catalog-ingestor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.