New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

snapsvg-hexagonal

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snapsvg-hexagonal

Snap.svg plugin for creating hexagonal UI elements

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-80%
Maintainers
1
Weekly downloads
 
Created
Source

snapsvg-hexagonal

npm Build Status Build status Coverage Status bitHound Overall Score Known Vulnerabilities

Snap.svg plugin for creating hexagonal UI elements.

Installation

npm install snapsvg snapsvg-hexagonal

Usage

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>

Features

Under construction

Contributing

Please read the contributing guide

Roadmap

  • Follow progress on Trello

Credits

  • Under construction

License

FOSSA Status

Keywords

FAQs

Package last updated on 03 Aug 2017

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc