cache-mocks

1.3.0 • Public • Published

👻cache-mocks

Easy to use command line tool for sync-ing your API mocks

release version weekly download count primary language procentage last commit badge licence badge


Requirements

Node >= v16.15

Quick start

Generate a mock-list.js file for configuration.

npx cache-mocks --init

Usage

Download fresh mock files and save them

npx cache-mocks

or

npx cache-mocks --target ./src/mocks --ext js

Options

target

--target <x> Specify a target directory for the mocks to be saved Type: string Default: ./mocks

ext

--ext <x> Specify what file extension the target files should be saved with Type: json | js | ts Default: json

Readme

Keywords

Package Sidebar

Install

npm i cache-mocks

Weekly Downloads

0

Version

1.3.0

License

MIT

Unpacked Size

20.1 kB

Total Files

8

Last publish

Collaborators

  • bartektelec