Socket
Socket
Sign inDemoInstall

@mocking-bird/core

Package Overview
Dependencies
9
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @mocking-bird/core

> Do not install as a package, use `@mocking-bird/mongoose` or `@mocking-bird/graphql` directly!


Version published
Maintainers
1
Created

Readme

Source

Core

Do not install as a package, use @mocking-bird/mongoose or @mocking-bird/graphql directly!

The core module contains the abstract class definitions and overall the base functionalities used for fixture generations. New packages may extend the core module to create their own fixture generation logic.

Main Components

  • CoreFixture - The abstract class that defines the main functionalities for fixture generation.
  • PathFinder - The abstract class that defines the logic for resolving field paths.
  • CoreTypeMapper - The abstract class that defines the logic for mapping types to fixture generation.
  • FakerApi - A class that abstracts the logic generating fake data. It uses the faker.js library under the hood.
  • FakerFinder - A class that resolves the faker method for a given field name using fuzzy search.

FAQs

Last updated on 30 Mar 2024

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc