
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
@basketry/json-schema
Advanced tools
Basketry parser for JSON schema documents. This parser can be coupled with any Basketry generator to translate a JSON schema document into other artifacts including servers, clients, and human-readable documentation.
The following example converts a JSON schema into Typescript types:
https://petstore.swagger.io/v2/swagger.json
as petstore.json
in the root of your project.npm install -g basketry @basketry/json-schema @basketry/typescript
basketry --source petstore.json --parser @basketry/json-schema --generators @basketry/typescript --output src
When the last step is run, basketry will parse the source file (petstore.json
) using the specified parser (@basketry/json-schema
) and then run each specified generator (in this case only @basketry/typescript
) writing the output folder (src
).
npm ci
npm run build
npm start
Note that the lint
script is run prior to build
. Auto-fixable linting or formatting errors may be fixed by running npm run fix
.
.test.ts
suffixnpm t
/coverage/lcov-report/index.html
main
branch.npm version {major|minor|patch}
git push origin main --follow-tags
The publish workflow will build and pack the new version then push the package to NPM. Note that publishing requires write access to the main
branch.
Generated with generator-ts-console
FAQs
Basketry parser for JSON schema documents
The npm package @basketry/json-schema receives a total of 95 weekly downloads. As such, @basketry/json-schema popularity was classified as not popular.
We found that @basketry/json-schema demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.