🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

albert-svg

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

albert-svg

Dynamic SVG generation using Cassowary constraints

0.1.2
latest
Source
npm
Version published
Weekly downloads
130
-35.96%
Maintainers
1
Weekly downloads
 
Created
Source

Albert

This project allows you to generate SVGs and layout their elements using the Cassowary constraint solver.

How to use

This project requires Node and NPM. To use it in your project, run:

npm install --save albert-svg

You can also use one of the pre-compiled bundles hosted on unpkg:

Examples on how to use Albert are in the examples directory.

To see them in action, clone the repository and run:

npm install
npm start

This starts a web server on http://localhost:8080 that serves the examples/ directory and the Albert bundle itself.

Building a bundle

Building the bundle requires Webpack, which in turn

If you have Node and NPM installed, build the bundle by running:

npm run build

Disclaimer

This is not an officially supported Google product.

Keywords

svg

FAQs

Package last updated on 21 Mar 2019

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