# nuysoft/Mock

A simulation data generator

Repository: https://github.com/nuysoft/Mock
Canonical: https://ross.abutalabs.com/products/mock
Homepage: http://mockjs.com
Language: JavaScript
License: NOASSERTION
License Family: other
Last push: 2024-03-15T01:53:57+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4877, "days_push": 902, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 19584, forks 2642 (observed 2026-08-28T04:11:28.930619+00:00)

## What it is
Mock.js is a JavaScript library that generates simulated random data from data templates and intercepts Ajax requests to return mock responses. It lets front-end developers build and prototype independently of the back-end and write more realistic automated tests.

## Use cases
- generate random mock data for frontend development
- intercept ajax requests and return fake responses
- prototype frontend without a backend
- create realistic test data for unit tests
- mock emails, images, dates, and other data types in templates

## When to choose
- you need to develop or demo a frontend before the API exists
- you want non-invasive ajax mocking without changing existing code
- you need varied random data (text, numbers, dates, images) for tests

## When to avoid
- you need full contract-based API mocking or service virtualization
- your project uses modern tooling better served by MSW or similar
- you need actively maintained software with recent commits

## Facets
- artifact type: library
- maturity: maintenance
- function: data-generation, mock-api, http-client
- domain: developer-tools, web-development, frontend, testing
- platform: browser
- tags: mock-data, ajax-interception, frontend-development, prototyping, random-data, nodejs, javascript

## Member repositories
- nuysoft/Mock (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:28.930619+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:59:54.803482+00:00, confidence not recorded.
  - readme: https://github.com/nuysoft/Mock (fetched 2026-08-28T04:11:28.930619+00:00, sha 09387abe3ef3)
  - homepage: http://mockjs.com (fetched 2026-08-29T07:58:36.367503+00:00, sha 75d6cd784d6d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
