Gathering detailed insights and metrics for fake-schema-cli
Gathering detailed insights and metrics for fake-schema-cli
Gathering detailed insights and metrics for fake-schema-cli
Gathering detailed insights and metrics for fake-schema-cli
npm install fake-schema-cli
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
19 Stars
33 Commits
7 Forks
2 Watchers
7 Branches
2 Contributors
Updated on Jul 31, 2024
Latest Version
0.1.2
Package Id
fake-schema-cli@0.1.2
Unpacked Size
13.41 kB
Size
4.35 kB
File Count
15
NPM Version
6.14.8
Node Version
14.15.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Another CLI for json-schema-faker. With Stdin support.
Based on
npm install -g fake-schema-cli
1 2 Usage: fake-schema address.schema.json 3 4 Options: 5 6 -r, --rootSchema <value> Set root schema from definitions, useful when faking Swagger specs. 7 -l, --locale [value] Faker locale. Review Faker.js for more details. 8 -i, --max-items <n> Configure a maximum amount of items to generate in an array. This will override the maximum items found inside a JSON Schema 9 -m, --max-length <n> Configure a maximum length to allow generating strings for. This will override the maximum length found inside a JSON Schema 10 -p, --optionals-probability <n> When 0.0, only required properties will be generated; when 1.0, all properties are generated 11 -y, --yaml YAML input 12 -h, --help output usage information 13
fake-schema <file> -y
cat InnerReferences.yaml | fake-schema -y -l es_MX
cat InnerReferences.yaml | fake-schema -y -l es_MX | jq .
1http https://json-schema.org/learn/examples/address.schema.json | fake-schema
1curl --silent https://json-schema.org/learn/examples/address.schema.json | fake-schema
http https://json-schema.org/learn/examples/address.schema.json | node lib/index.js | jq '.locality|="atoms"'
1http https://json-schema.org/learn/examples/address.schema.json | fake-schema | http POST http://bin.org/post
cat InnerReferences.yaml | fake-schema -y -l es_MX > file
The website-jsf is awesome but I just want to write bash script to populate environments,.
1#!/usr/bin/env bash 2 3USER_ID=$(http :8080/swagger.yaml | fake-schema -y -r user | http POST :8080/api/user | jq .id) 4http :8080/swagger.yaml | fake-schema -y -r purchase | jq "'.user.id|=\"$USER_ID\"'" | http post :8080/api/purchase 5
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 2/11 approved changesets -- score normalized to 1
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
license file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
18 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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