Skip to main content

Getting Started

What is Chaca?

Chaca is a tool that allows you to create logical data integers with a few lines of code, in such a way that they do not violate the rules imposed by the developer

Installation

To get started with Chaca in your Node.js project, simply add the dependency with NPM.

npm install chaca --dev

Requirements

If you're using npm, pnpm or Yarn to install Chaca, we support:

  • Node.js 16.x
  • Node.js 18.x
  • Node.js 20.x and above

Usage

const { chaca, schemas } = require('chaca')

// or

import { chaca, schemas } from 'chaca'

Predefined schemas

Congratulations

Congratulations, you should now be able to create any complex object you desire. Happy faking 🥳.