
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
wiremock-standalone
Advanced tools
This package downloads WireMock standalone from Maven Central and provides simple CLI wrapper for NPM.
npm i -D wiremock-standalone
# OR
pnpm add -D wiremock-standalone
# OR
yarn add -D wiremock-standalone
Usage (as script in package.json
):
{
"scripts": {
"start:mock": "wiremock --root-dir ./mock"
}
}
By default, the latest stable jre8
version of WireMock JAR is downloaded from public Maven repository.
You can override this behavior by:
.wiremock
configuration file in your project (JSON format)wiremock
property in your package.json
ENV | JSON | Default |
---|---|---|
MAVEN_REPO_URL | mavenRepoURL | https://repo1.maven.org/maven2 |
WIREMOCK_VERSION | version | resolved to the latest |
JRE_VERSION | jreVersion | jre8 |
You can pass options to Java runtime with --java-arg
CLI argument. All system properties are collected and appended to wiremock's --permitted-system-keys
option.
wiremock --java-arg -Dmy.custom.var=some-value --root-dir ./mock
yarn env-cmd -f [path/to/.env] yarn wiremock --global-response-templating --verbose --root-dir ./mocks --permitted-system-keys=WIREMOCK_.*
If this project help you reduce time to develop, you can give me a cup of coffee :)
FAQs
WireMock standalone binary
The npm package wiremock-standalone receives a total of 1,027 weekly downloads. As such, wiremock-standalone popularity was classified as popular.
We found that wiremock-standalone demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.