Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@meeshkanml/jaymock-cli

Package Overview
Dependencies
Maintainers
4
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@meeshkanml/jaymock-cli

Mock an API and generate fake JSON test data, right from the terminal.

  • 1.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
4
Weekly downloads
 
Created
Source

jaymock-cli

CircleCI XO Codecov

Mock an API and generate fake JSON test data, right from the terminal.

Install

~ ❯❯❯ npm install --global @meeshkanml/jaymock-cli

Usage

  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
  • jaymock - API for this module
  • micro-jaymock - Tiny API mocking microservice, which uses jaymock

Contributing

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.

License

MIT © Meeshkan

Keywords

FAQs

Package last updated on 16 Jan 2020

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc