Gathering detailed insights and metrics for zapier-platform-json-schema
Gathering detailed insights and metrics for zapier-platform-json-schema
Gathering detailed insights and metrics for zapier-platform-json-schema
Gathering detailed insights and metrics for zapier-platform-json-schema
npm install zapier-platform-json-schema
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
4 Stars
949 Commits
3 Forks
2 Watching
16 Branches
4 Contributors
Updated on 19 Jun 2022
TypeScript (98.3%)
JavaScript (1.7%)
Cumulative downloads
Total Downloads
Last day
41.3%
195
Compared to previous day
Last week
51.9%
1,065
Compared to previous week
Last month
4.3%
3,871
Compared to previous month
Last year
34.4%
54,061
Compared to previous year
This project converts json Schema to the ZapierPlatform schema with zero runtime dependencies.
npm install zapier-platform-json-schema --save
yarn add zapier-platform-json-schema
1 2const {default: ZapierSchemaBuilder} = require ("zapier-platform-json-schema"); 3 4const schema = { 5 "type": "object", 6 "properties": { 7 "stringProp": { 8 "type": "string" 9 }, 10 "excludedProp": { 11 "type": "string" 12 }, 13 }, 14}; 15 16console.log(new ZapierSchemaBuilder(schema) 17 .addExclude("excludedProp") 18 .build()); 19 20// prints: [ { key: 'stringProp', type: 'string' } ] 21
The following list summarize the current scope and supported features of this lib.
Feature | Status | Comment |
---|---|---|
strings | ✅ | Example |
boolean | ✅ | Example |
datetime | ✅ | Example |
enum | ✅ | Example |
array of enum | ✅ | Example |
array | ✅ | |
anyOf | ✅ | |
anyOf prefer non-string | ✅ | Example |
$ref to external | ❌ | |
$ref to object | ✅ | Example |
$ref to enum | ✅ | Example |
get nested defeintion | ✅ | Example |
Additional props | ✅ | Example |
required | ✅ | Example |
label | ✅ | Example |
To run the test just use the yarn script:
yarn test
Just add a new tag via github or git tag
please use Semantic Versioning 2.0.0
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/4 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
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
Project has not signed or included provenance with any releases.
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
14 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
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