Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
marvel-sitemap
Advanced tools
npm install marvel-sitemap --save
import Sitemap from 'marvel-sitemap'
const options = {
canvasId : 'myCanvajs', // <canvas> element id
id: '2aah1d9', // marvel vanity id
}
// initiate a sitemap component in a canvas element
const sitemap = new Sitemap(options);
// initiate the load of the sitemap
sitemap.load()
.then(() => {
console.log('Sitemap Loaded')
})
// update a config property
sitemap.update({ scale: .4, lineColor: '#ccffbb' })
// config properties available:
{
scale: 0.2,
spacingX: 150,
spacingY: 50,
marginX: 30,
marginY: 80,
maxPerRow: 10,
maxPerColumn: 6,
lineWidth: 2,
arrow: 3,
radius: 5,
corridorMargin: 20,
useSingleColor: false,
joinLines: false,
lineColor: '#000000',
hotspotColor: '#0087ff',
};
// when you are done...
sitemap.destroy()
npm run build
npm publish
FAQs
marvel-sitemap draws network of the links in your marvel prototype
We found that marvel-sitemap 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.