Mock.js is a simulation data generator to help the front-end to develop and prototype separate from the back-end progress and reduce some monotony particularly while writing automated tests. Generate random data and intercept Ajax requests. Let the front-end siege division develop independently of the back-end. Through random data, various scenarios are simulated. Without modifying the existing code, you can intercept Ajax requests and return simulated response data. An intuitive interface. Support the generation of random text, numbers, Boolean values, dates, emails, links, pictures, colors, etc. Support to expand more data types, support custom functions and regulars.

Features

  • Front and rear separation
  • Increase the authenticity of unit tests
  • Development without intrusion
  • Simple usage
  • Rich data types
  • Easy to expand

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Mock.js

Mock.js Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Mock.js!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Data Formats Software, JavaScript Code Generators

Registered

2021-03-19