https://github.com/pixcai/xmocker
A simulation data generator for HTML
https://github.com/pixcai/xmocker
Last synced: 8 months ago
JSON representation
A simulation data generator for HTML
- Host: GitHub
- URL: https://github.com/pixcai/xmocker
- Owner: pixcai
- License: mit
- Created: 2016-08-28T11:11:54.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-08-30T04:48:16.000Z (about 9 years ago)
- Last Synced: 2024-12-28T06:09:05.920Z (10 months ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xmocker
A simulation data generator for HTML# Install
```shell
npm install --save xmocker
```# API
## new XMocker(options)
Get a xmocker instance with options `options`# Usage
```html```
Then, you can write html like this:
```html
![]()
```
Output:
```html
hello
![]()
my first mock test
二零一五年九月一日
asdfgfg mgiofg mdspods mof mm sds aasads fldf mklsd
dsk kopdf mkllsd fdg.
mkld kfld fdior mlse kgfop kpert kpsdml mlsd mlse mkldf mlkfd
fd mldf rtryuuuu ldffggf fdj ioads kdf psdsdsop kpas kopsd as fdjio jiogf osd asasd popsd ioes asdf.
sjkds jlas klfdf klsd jioer iotr wrer weer iosd jios mmoas df fg ddf.
```
# Lisence
MIT