Socket
Socket
Sign inDemoInstall

@commercetools-test-data/utils

Package Overview
Dependencies
Maintainers
0
Versions
471
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@commercetools-test-data/utils

Data model for commercetools platform common types


Version published
Weekly downloads
10K
increased by20.84%
Maintainers
0
Weekly downloads
 
Created
Source

@commercetools-test-data/utils

This package provides the utils needed when you author your generators.

Install

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

createRelatedDates

import { createRelatedDates } from '@commercetools-test-data/utils';
const [getOlderDate, getNewerDate] = createRelatedDates();
const generator = Generator<{ lastModifiedAt: string; createdAt: string }>({
  fields: {
    createdAt: fake(getOlderDate),
    lastModifiedAt: fake(getNewerDate),
  },
});

Keywords

FAQs

Package last updated on 06 Sep 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc