
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
dependrix-visualisation
Advanced tools
Visualise and compare library usage across multiple projects
Dependrix visualises cross-project dependencies using a model as described by schema.json. You can generate a model yourself, or make use of the following:
Use the buildStandaloneHTML
function exposed by dependrix-visualisation
to generate a single HTML file
const fs = require('fs')
const { buildStandaloneHTML } = require('.')
const writeFile = (filename, content) => new Promise((resolve, reject) => fs.writeFile(
filename,
content,
'utf8',
(err, data) => err ? reject(err) : resolve(content)
))
const model = { projects: {}, analysis: { title: 'An example analysis' } }
buildStandaloneHTML(model)
.then(html => writeFile('./dependrix-example.html', html))
.catch(console.error)
Use the HTML files included in dependrix-visualisation
and place them alongside a JSON file containing your model in a location where your webserver can serve them:
mkdir webserver
npm install dependrix-visualisation --save-dev
cp node_modules/dependrix-visualisation/dist/index.html webserver/
cp node_modules/dependrix-visualisation/dist/bundle.min.js webserver/
cp yourDependrixModel.json webserver/modelled-dependencies.json
npm run build
# or
npm run build -- --watch #automatically re-build whenever changes are made
Open dist/index.html
in your browser
npm test
Tests are run with Jest
npm run lint
Linting is done with ESLint and is configured to conform code to https://standardjs.com/
FAQs
Visual and compare dependencies across multiple projects
The npm package dependrix-visualisation receives a total of 0 weekly downloads. As such, dependrix-visualisation popularity was classified as not popular.
We found that dependrix-visualisation demonstrated a not healthy version release cadence and project activity because the last version was released 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
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.