@mocking-bird/core
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @mocking-bird/core

Weekly Downloads

1,282

Version

1.2.1

License

MIT

Unpacked Size

173 kB

Total Files

102

Last publish

Collaborators

  • batrdn