Installations
npm install openapi-axios-mock-adapter
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
13.10.1
NPM Version
6.9.0
Score
58.5
Supply Chain
73.6
Quality
73.8
Maintenance
50
Vulnerability
99.3
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
TypeScript (85.06%)
JavaScript (14.94%)
validate.email 🚀
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Developer
tnkgs
Download Statistics
Total Downloads
1,278
Last Day
1
Last Week
3
Last Month
6
Last Year
200
GitHub Statistics
2 Stars
4 Commits
1 Forks
1 Watchers
2 Branches
1 Contributors
Updated on Dec 08, 2024
Bundle Size
445.57 kB
Minified
114.27 kB
Minified + Gzipped
Package Meta Information
Latest Version
0.0.4
Package Id
openapi-axios-mock-adapter@0.0.4
Unpacked Size
6.34 kB
Size
2.32 kB
File Count
5
NPM Version
6.9.0
Node Version
13.10.1
Oops! Something went wrong.
Peer Dependencies
2
openapi-axios-mock-adapter
see: https://github.com/ctimmerm/axios-mock-adapter
install
yarn add openapi-axios-mock-adapter -D
usage
yarn generate-axios-mock-adapter -i openapi-schema.yaml -o output.ts -h http://localhost
or
import generateAxiosMockAdapter from 'openapi-axios-mock-adapter';
generateAxiosMockAdapter('openapi-schema.yaml', 'output.ts', 'http://localhost');
example
// generated by generate-axios-mock-adapter
import { AxiosInstance } from "axios";
import * as MockAdapter from "axios-mock-adapter";
const toMock = (axios: AxiosInstance) => {
const mock = new MockAdapter(axios);
mock.onPost('http://localhost/api/endpoint').reply(200,
{ data: 'data' },
);
...
};
export default toMock;

No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
Reason
Found 0/4 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
29 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw
- Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c
- Warn: Project is vulnerable to: GHSA-ff7x-qrg7-qggm
- Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6
- Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj
- Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37
- Warn: Project is vulnerable to: GHSA-7mg4-w3w5-x5pc
- Warn: Project is vulnerable to: GHSA-6xrf-q977-5vgc
- Warn: Project is vulnerable to: GHSA-v5vg-g7rq-363w
- Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw
- Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9
- Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3
- Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h
- Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-44c6-4v22-4mhx
- Warn: Project is vulnerable to: GHSA-4x5v-gmq8-25ch
- Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v
- Warn: Project is vulnerable to: GHSA-38fc-wpqx-33j7
- Warn: Project is vulnerable to: GHSA-qgmg-gppg-76g5
- Warn: Project is vulnerable to: GHSA-xx4c-jj58-r7x6
- Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7
- Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh
- Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp
Score
1.3
/10
Last Scanned on 2025-03-03
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More