{"_id":"snapsvg","_rev":"210300","name":"snapsvg","description":"JavaScript Vector Library","dist-tags":{"latest":"0.5.1"},"maintainers":[{"name":"dmitrybaranovskiy","email":"dmitry@baranovskiy.com"}],"time":{"modified":"2023-03-24T08:29:54.000Z","created":"2013-10-25T22:38:04.536Z","0.5.1":"2017-02-06T01:17:06.684Z","0.5.0":"2017-02-05T02:27:43.850Z","0.4.0":"2015-04-07T04:45:50.085Z","0.3.0":"2014-06-04T02:55:43.010Z","0.1.0":"2013-10-25T22:38:04.536Z"},"users":{},"author":{"name":"Dmitry Baranovskiy"},"repository":{"type":"git","url":"git+ssh://git@github.com/adobe-webplatform/Snap.svg.git"},"versions":{"0.5.1":{"name":"snapsvg","version":"0.5.1","description":"JavaScript Vector Library","main":"./dist/snap.svg.js","repository":{"type":"git","url":"git+ssh://git@github.com/adobe-webplatform/Snap.svg.git"},"author":{"name":"Dmitry Baranovskiy"},"license":"Apache-2.0","dependencies":{"eve":"~0.5.1"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-uglify":"~0.2.0","grunt-contrib-concat":"~0.3.0","grunt-exec":"~0.4.2","grunt-prettify":"0.4.0","mocha":"*","expect.js":"*","eslint":"*","dr.js":"~0.1.0"},"eslintConfig":{"globals":{"window":true,"console":true},"rules":{"block-scoped-var":0,"comma-dangle":0,"no-extra-parens":1,"no-shadow":0,"consistent-return":0,"eqeqeq":0,"no-new-wrappers":0,"no-sequences":1,"radix":2,"new-parens":0,"no-underscore-dangle":0,"no-path-concat":0,"strict":0,"camelcase":0,"no-extend-native":0,"no-loop-func":0,"new-cap":0,"no-unused-expressions":0,"no-mixed-requires":0,"quotes":[1,"double","avoid-escape"]}},"gitHead":"8c67c8ceaa6b4b2c7202c79297fe86532dacd03c","bugs":{"url":"https://github.com/adobe-webplatform/Snap.svg/issues"},"homepage":"https://github.com/adobe-webplatform/Snap.svg#readme","_id":"snapsvg@0.5.1","scripts":{},"_shasum":"0caf52c79189a290746fc446cc5e863f6bdddfe3","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"dmitrybaranovskiy","email":"dmitry@baranovskiy.com"},"dist":{"shasum":"0caf52c79189a290746fc446cc5e863f6bdddfe3","size":1566588,"noattachment":false,"key":"/snapsvg/-/snapsvg-0.5.1.tgz","tarball":"http://name.csiicloud.com:7001/snapsvg/download/snapsvg-0.5.1.tgz"},"maintainers":[{"name":"dmitrybaranovskiy","email":"dmitry@baranovskiy.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/snapsvg-0.5.1.tgz_1486343826065_0.37166215712204576"},"directories":{},"publish_time":1486343826684,"_hasShrinkwrap":false,"_cnpm_publish_time":1486343826684,"_cnpmcore_publish_time":"2021-12-16T21:21:24.395Z"},"0.5.0":{"name":"snapsvg","version":"0.5.0","description":"JavaScript Vector Library","main":"./dist/snap.svg.js","repository":{"type":"git","url":"git+ssh://git@github.com/adobe-webplatform/Snap.svg.git"},"author":{"name":"Dmitry Baranovskiy"},"license":"Apache-2.0","dependencies":{"eve":"~0.5.1"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-uglify":"~0.2.0","grunt-contrib-concat":"~0.3.0","grunt-exec":"~0.4.2","grunt-prettify":"0.4.0","mocha":"*","expect.js":"*","eslint":"*","dr.js":"~0.1.0"},"eslintConfig":{"globals":{"window":true,"console":true},"rules":{"block-scoped-var":0,"comma-dangle":0,"no-extra-parens":1,"no-shadow":0,"consistent-return":0,"eqeqeq":0,"no-new-wrappers":0,"no-sequences":1,"radix":2,"new-parens":0,"no-underscore-dangle":0,"no-path-concat":0,"strict":0,"camelcase":0,"no-extend-native":0,"no-loop-func":0,"new-cap":0,"no-unused-expressions":0,"no-mixed-requires":0,"quotes":[1,"double","avoid-escape"]}},"gitHead":"b1ff04a2e05dbad5640e1b361655c30de7ae719b","bugs":{"url":"https://github.com/adobe-webplatform/Snap.svg/issues"},"homepage":"https://github.com/adobe-webplatform/Snap.svg#readme","_id":"snapsvg@0.5.0","scripts":{},"_shasum":"43107c7284aadc2edd689ea4422e400b310bfc34","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"dmitrybaranovskiy","email":"dmitry@baranovskiy.com"},"dist":{"shasum":"43107c7284aadc2edd689ea4422e400b310bfc34","size":1566482,"noattachment":false,"key":"/snapsvg/-/snapsvg-0.5.0.tgz","tarball":"http://name.csiicloud.com:7001/snapsvg/download/snapsvg-0.5.0.tgz"},"maintainers":[{"name":"dmitrybaranovskiy","email":"dmitry@baranovskiy.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/snapsvg-0.5.0.tgz_1486261663120_0.861306537874043"},"directories":{},"publish_time":1486261663850,"_hasShrinkwrap":false,"_cnpm_publish_time":1486261663850,"_cnpmcore_publish_time":"2021-12-16T21:21:29.263Z"},"0.4.0":{"name":"snapsvg","version":"0.4.0","description":"JavaScript Vector Library","main":"./dist/snap.svg.js","repository":{"type":"git","url":"git@github.com:adobe-webplatform/Snap.svg.git"},"author":{"name":"Dmitry Baranovskiy"},"license":"Apache License v2","dependencies":{"eve":"~0.4.2"},"devDependencies":{"grunt":"~0.4.1","grunt-contrib-uglify":"~0.2.0","grunt-contrib-concat":"~0.3.0","grunt-exec":"~0.4.2","mocha":"*","expect.js":"*","dr.js":"~0.1.0"},"gitHead":"7b096009c1dbdb4f4205c71a2c6d4e46af81d782","bugs":{"url":"https://github.com/adobe-webplatform/Snap.svg/issues"},"homepage":"https://github.com/adobe-webplatform/Snap.svg","_id":"snapsvg@0.4.0","scripts":{},"_shasum":"e0767014167825957de7e125c29b0fa89796ea03","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"dmitrybaranovskiy","email":"dmitry@baranovskiy.com"},"maintainers":[{"name":"dmitrybaranovskiy","email":"dmitry@baranovskiy.com"}],"dist":{"shasum":"e0767014167825957de7e125c29b0fa89796ea03","size":1560848,"noattachment":false,"key":"/snapsvg/-/snapsvg-0.4.0.tgz","tarball":"http://name.csiicloud.com:7001/snapsvg/download/snapsvg-0.4.0.tgz"},"directories":{},"publish_time":1428381950085,"_hasShrinkwrap":false,"_cnpm_publish_time":1428381950085,"_cnpmcore_publish_time":"2021-12-16T21:21:33.202Z"},"0.3.0":{"name":"snapsvg","version":"0.3.0","description":"JavaScript Vector Library","main":"Gruntfile.js","repository":{"type":"git","url":"git@github.com:adobe-webplatform/Snap.svg.git"},"author":{"name":"Dmitry Baranovskiy"},"license":"Apache License v2","devDependencies":{"grunt":"~0.4.1","grunt-contrib-uglify":"~0.2.0","grunt-contrib-concat":"~0.3.0","grunt-exec":"~0.4.2","mocha":"*","expect.js":"*","eve":"~0.4.2","dr.js":"~0.1.0"},"bugs":{"url":"https://github.com/adobe-webplatform/Snap.svg/issues"},"_id":"snapsvg@0.3.0","dist":{"shasum":"0e15983692cfb2146c6099a2aba2a156882024f6","size":1692319,"noattachment":false,"key":"/snapsvg/-/snapsvg-0.3.0.tgz","tarball":"http://name.csiicloud.com:7001/snapsvg/download/snapsvg-0.3.0.tgz"},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"dmitrybaranovskiy","email":"dmitry@baranovskiy.com"},"maintainers":[{"name":"dmitrybaranovskiy","email":"dmitry@baranovskiy.com"}],"directories":{},"publish_time":1401850543010,"_hasShrinkwrap":false,"_cnpm_publish_time":1401850543010,"_cnpmcore_publish_time":"2021-12-16T21:21:37.636Z"},"0.1.0":{"name":"snapsvg","version":"0.1.0","description":"JavaScript Vector Library","main":"Gruntfile.js","repository":{"type":"git","url":"git@github.com:adobe-webplatform/Snap.svg.git"},"author":{"name":"Dmitry Baranovskiy"},"license":"Apache License v2","devDependencies":{"grunt":"~0.4.1","grunt-contrib-uglify":"~0.2.0","grunt-contrib-concat":"~0.3.0","grunt-exec":"~0.4.2","mocha":"*","expect.js":"*","eve":"*","elemental.js":"~0.2.4","dr.js":"~0.0.10"},"readmeFilename":"README.md","bugs":{"url":"https://github.com/adobe-webplatform/Snap.svg/issues"},"_id":"snapsvg@0.1.0","dist":{"shasum":"7d0434609ce6e7d96cabdcd5406f1771779cd227","size":957402,"noattachment":false,"key":"/snapsvg/-/snapsvg-0.1.0.tgz","tarball":"http://name.csiicloud.com:7001/snapsvg/download/snapsvg-0.1.0.tgz"},"_from":".","_npmVersion":"1.3.5","_npmUser":{"name":"dmitrybaranovskiy","email":"dmitry@baranovskiy.com"},"maintainers":[{"name":"dmitrybaranovskiy","email":"dmitry@baranovskiy.com"}],"directories":{},"publish_time":1382740684536,"_hasShrinkwrap":false,"_cnpm_publish_time":1382740684536,"_cnpmcore_publish_time":"2021-12-16T21:21:40.318Z"}},"readme":"[Snap.svg](http://snapsvg.io) · [![Build Status](https://travis-ci.org/adobe-webplatform/Snap.svg.svg?branch=dev)](https://travis-ci.org/adobe-webplatform/Snap.svg)  [![CDNJS](https://img.shields.io/cdnjs/v/snap.svg.svg)](https://cdnjs.com/libraries/snap.svg/) [![GitHub Tag](https://img.shields.io/github/tag/adobe-webplatform/snap.svg.svg)](https://github.com/adobe-webplatform/Snap.svg/releases) [![License](https://img.shields.io/npm/l/snapsvg.svg)](https://github.com/adobe-webplatform/Snap.svg/blob/master/LICENSE)\n======\n\nA JavaScript SVG library for the modern web. Learn more at [snapsvg.io](http://snapsvg.io).\n\n[Follow us on Twitter.](https://twitter.com/snapsvg)\n\n### Install\n* [Bower](http://bower.io/) - `bower install snap.svg` ![Bower](https://img.shields.io/bower/v/snap.svg.svg)\n* [npm](http://npmjs.com/) - `npm install snapsvg` [![npm version](https://img.shields.io/npm/v/snapsvg.svg?style=flat)](https://www.npmjs.com/package/snapsvg) [![Downloads](https://img.shields.io/npm/dt/snapsvg.svg)](https://www.npmjs.com/package/snapsvg)\n* Manual Minified - https://github.com/adobe-webplatform/Snap.svg/raw/master/dist/snap.svg-min.js\n* Manual Unminified - https://raw.githubusercontent.com/adobe-webplatform/Snap.svg/master/dist/snap.svg.js\n\n\n### Learn\n\n* [About Snap.svg](http://snapsvg.io/about/)\n* [Getting Started](http://snapsvg.io/start/)\n* [API Reference](http://snapsvg.io/docs/)\n* [Slack Room](https://snapsvg.slack.com/). [Invite](https://snapsvg.slack.com/shared_invite/MTM2NTE4MTk3MDYwLTE0ODYwODgzNzUtYjQ0YmM1N2U0Mg)\n\n### Use\n\nIn your HTML file, load simply by:\n```html\n<script src=\"snap.svg-min.js\"></script>\n```\nNo other scripts are needed. Both the minified and uncompressed (for development) versions are in the `/dist` folder.\n\nTo load with webpack use following command:\n```js\nconst Snap = require(`imports-loader?this=>window,fix=>module.exports=0!snapsvg/dist/snap.svg.js`);\n```\n\n### Build\n[![Build Status](https://travis-ci.org/adobe-webplatform/Snap.svg.svg?branch=dev)](https://travis-ci.org/adobe-webplatform/Snap.svg)\n\nSnap.svg uses [Grunt](http://gruntjs.com/) to build.\n\n* Open the terminal from the Snap.svg directory:\n```sh\ncd Snap.svg\n```\n* Install its command line interface (CLI) globally:\n```sh\nnpm install -g grunt-cli\n```\n_*You might need to use `sudo npm`, depending on your configuration._\n\n* Install dependencies with npm:\n```sh\nnpm install\n```\n_*Snap.svg uses Grunt 0.4.0. You might want to [read](http://gruntjs.com/getting-started) more on their website if you haven’t upgraded since a lot has changed._\n\n* To build the files run\n```sh\ngrunt\n```\n* The results will be built into the `dist` folder.\n* Alternatively type `grunt watch` to have the build run automatically when you make changes to source files.\n\n### Testing\n\nTests are located in `test` folder. To run tests, simply open `test.html` in there. Automatic tests use PhantomJS to scrap this file, so you can use it as a reference.\n\nAlternatively, install [PhantomJS](http://phantomjs.org) and run command\n```sh\ngrunt test\n```\n\n### Contribute\n\n* [Fill out the CLA](http://snapsvg.io/contributions/).\n* [Fork](https://help.github.com/articles/fork-a-repo) the repo.\n* Create a branch:\n```sh\ngit checkout -b my_branch\n```\n* Add your changes.\n* Check that tests are passing\n* Commit your changes:\n```sh\ngit commit -am \"Added some awesome stuff\"\n```\n* Push your branch:\n```sh\ngit push origin my_branch\n```\n* Make a [pull request](https://help.github.com/articles/using-pull-requests) to `dev`(!) branch.\n\n*Note:* Pull requests to other branches than `dev` or without filled CLA wouldn’t be accepted.\n","_attachments":{},"homepage":"https://github.com/adobe-webplatform/Snap.svg#readme","bugs":{"url":"https://github.com/adobe-webplatform/Snap.svg/issues"},"license":"Apache-2.0"}