
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@meeshkanml/jaymock-cli
Advanced tools
Mock an API and generate fake JSON test data, right from the terminal.
Mock an API and generate fake JSON test data, right from the terminal.
~ ❯❯❯ npm install --global @meeshkanml/jaymock-cli
Usage
$ jaymock <text> [--json]
$ cat <file> | jaymock [--json]
$ jaymock --server [--port <number>]
Options
--json, -j Print output in JSON format
--server, -s Start a development server for API mocking
--port, -p Specify a port number for the server
Examples
$ jaymock '{"firstName":"name.firstName", "lastName":"name.lastName"}'
{
"firstName": "Alvina",
"lastName": "Hodkiewicz"
}
$ jaymock '{"firstName":"name.firstName", "lastName":"name.lastName"}' --json
{"firstName":"Anthony","lastName":"Krajcik"}
$ jaymock --server --port 1337
Thanks for wanting to contribute! We will soon have a contributing page detailing how to contribute. Meanwhile, feel free to star this repository, open issues, and ask for more features and support.
Please note that this project is governed by the Meeshkan Community Code of Conduct. By participating in this project, you agree to abide by its terms.
MIT © Meeshkan
FAQs
Mock an API and generate fake JSON test data, right from the terminal.
We found that @meeshkanml/jaymock-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.