GithubHelp home page GithubHelp logo

vvpvvp / umock Goto Github PK

View Code? Open in Web Editor NEW
43.0 43.0 7.0 21.31 MB

Mock Server, swagger UI, Reverse proxy

Home Page: http://umock.ch-un.com/

License: MIT License

JavaScript 38.48% CSS 5.05% HTML 0.78% Vue 54.10% TSQL 1.59%

umock's Introduction

vvpvvp

在给定的范围内返回一个随意值。

Install

npm install vvpvvp
npm install --save vvpvvp

Example

let a = vvpvvp([1, 2], 2);
//1.48
let a = vvpvvp([3], 3);
//3.123
let a = vvpvvp([-1, 3], 3);
//-0.123

API

params

vvpvvp([start, ], <toFixed = 2>)

License

MIT

umock's People

Contributors

comynli avatar dependabot[bot] avatar tangyefei avatar vvpvv avatar vvpvvp avatar xieshangxu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

umock's Issues

Cannot find module 'mongoose'

node: v10.12.0
npm: 6.5.0
mac

error info
Caught exception:
{ Error: Cannot find module 'mongoose'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)
at Function.Module._load (internal/modules/cjs/loader.js:506:25)
at Module.require (internal/modules/cjs/loader.js:636:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.mockServer.initLocalServer (/Users/zhangshuai/app/umock/server/views/router.js:112:24)
at Function.umock.init (/Users/zhangshuai/app/umock/server/umock.js:180:16)
at Object.customRoute (/Users/zhangshuai/app/umock/server/init.js:55:23)
at Object.init (/Users/zhangshuai/app/umock/server/init.js:17:14)
at Object. (/Users/zhangshuai/app/umock/bin/umock:12:1)
at Module._compile (internal/modules/cjs/loader.js:688:30) code: 'MODULE_NOT_FOUND' }

不能跑起来?哪个地方做的不对吗?麻烦帮忙看一下~~~

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.