Gathering detailed insights and metrics for openapi-axios-mock-adapter
Gathering detailed insights and metrics for openapi-axios-mock-adapter
npm install openapi-axios-mock-adapter
Typescript
Module System
Node Version
NPM Version
59.8
Supply Chain
73.6
Quality
73.5
Maintenance
50
Vulnerability
99.3
License
TypeScript (85.06%)
JavaScript (14.94%)
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Total Downloads
1,278
Last Day
1
Last Week
3
Last Month
6
Last Year
200
2 Stars
4 Commits
1 Forks
1 Watchers
2 Branches
1 Contributors
Updated on Dec 08, 2024
Minified
Minified + Gzipped
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
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
200%
3
Compared to previous week
Last Month
-76%
6
Compared to previous month
Last Year
-24.5%
200
Compared to previous year
2
see: https://github.com/ctimmerm/axios-mock-adapter
yarn add openapi-axios-mock-adapter -D
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
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
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
29 existing vulnerabilities detected
Details
Score
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