Skip to content
This repository has been archived by the owner on Feb 18, 2019. It is now read-only.

meituan/mock-template

Repository files navigation

mock-template NPM version build status Test coverage

Template mock data generator

Forked from mockjs

Installation

npm install mock-template

Usage

var template = require('mock-template');
var data = template.mock('{{title}}');
// data => { title: 'title' }

See test for more example.

License

MIT

About

Template mock data generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published