Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
snapsvg-hexagonal
Advanced tools
Snap.svg plugin for creating hexagonal UI elements.
npm install snapsvg snapsvg-hexagonal
AMD (Require.js)
Add to paths attrbute of requirejs config file and require in code
// config.js
requirejs.config({
paths: {
snapsvg: 'path/to/node_modules/snapsvg/snapsvg',
hexagonal: 'path/to/node_modules/snapsvg-hexagonal/dist/snapsvg-hexagonal'
}
});
// main.js
define(function(require) {
'use strict';
const Snap = require('snapsvg');
const hexagonal = require('hexagonal');
Snap.plugin(hexagonal);
});
Browser global
<!DOCTYPE html>
<html lang="en">
<head>...</head>
<body>
<script src="path/to/node_modules/snapsvg/snapsvg.js"></script>
<script src="path/to/node_modules/snapsvg-hexagonal/dist/snapsvg-hexagonal.js"></script>
<script type="text/javascript">
Snap.plugin('hexagonal');
/* code code code */
</script>
</body>
</html>
Under construction
Please read the contributing guide
FAQs
Snap.svg plugin for creating hexagonal UI elements
We found that snapsvg-hexagonal 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
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.