Popularity
9.0
Stable
Activity
0.0
Stable
19,360
422
2,660

Description

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.

The official site: http://mockjs.com

Monthly Downloads: 0
Programming language: JavaScript
License: GNU General Public License v3.0 or later
Tags: Data Structure     Data     Generator     Mock    
Latest version: v2014.6.23

Mock.js alternatives and similar libraries

Based on the "Data Structure" category.
Alternatively, view Mock.js alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of Mock.js or a related project?

Add another 'Data Structure' Library

README

Mock.js

<!-- 模拟请求 & 模拟数据 --> Build Status GitHub version NPM version spm package Dependency Status Bower version Views in the last 24 hours <!-- Coverage Status -->

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.

The official site: http://mockjs.com

Features

  • Generate simulated data according to the data template
  • Provide request/response mocking for ajax requests with jQuery and KISSY
  • Generate simulated data according to HTML-based templates

<!-- TODO This library is loosely inspired by Elijah Manor's post, mennovanslooten/mockJSON, appendto/jquery-mockjax and victorquinn/chancejs. -->

Questions?

If you have any questions, please feel free to ask through New Issue.

Reporting an Issue

Make sure the problem you're addressing is reproducible. Use http://jsbin.com/ or http://jsfiddle.net/ to provide a test page. Indicate what browsers the issue can be reproduced in. What version of Mock.js is the issue reproducible in. Is it reproducible after updating to the latest version?

License

Mock.js is available under the terms of the [MIT License](./MIT-LICENSE.txt).

Bitdeli Badge


*Note that all licence references and agreements mentioned in the Mock.js README section above are relevant to that project's source code only.