New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@commercetools-test-data/customer

Package Overview
Dependencies
Maintainers
3
Versions
519
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commercetools-test-data/customer

Data model for commercetools API Customer

latest
Source
npmnpm
Version
10.18.2
Version published
Maintainers
3
Created
Source

@commercetools-test-data/customer

This package provides the data model for the commercetools platform Customer type

https://docs.commercetools.com/api/projects/customers

Install

$ pnpm add -D @commercetools-test-data/customer

Usage

import {
  Customer,
  CustomerDraft,
  type TCustomer,
  type TCustomerDraft,
} from '@commercetools-test-data/customer';

const customer = Customer.random().build<TCustomer>();
const customerDraft = CustomerDraft.random().build<TCustomerDraft>();

// Presets
const emptyCustomerDraft = CustomerDraft.presets
  .empty()
  .build<TCustomerDraft>();

Keywords

javascript

FAQs

Package last updated on 08 May 2025

Did you know?

Socket

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.

Install

Related posts