{"_id":"postsvg","_rev":"470531","name":"postsvg","description":"A tiny wrapper over posthml with the same API optimized for working with SVG","dist-tags":{"alpha":"2.1.2-alpha.0","canary":"2.2.0-alpha.10475b37","latest":"2.2.7"},"maintainers":[{"name":"kisenka","email":"qtuzov@gmail.com"}],"time":{"modified":"2021-08-05T08:16:49.000Z","created":"2016-01-12T16:24:22.944Z","2.2.7":"2019-02-08T12:25:27.952Z","2.2.6":"2018-12-05T18:51:24.684Z","2.2.5":"2018-10-29T11:41:38.135Z","2.2.4":"2018-10-29T08:46:59.116Z","2.2.3":"2018-06-13T10:41:34.028Z","2.2.2":"2018-05-11T14:29:48.772Z","2.2.1":"2018-04-28T10:49:16.118Z","2.2.0":"2018-04-21T16:45:28.556Z","2.1.2":"2018-04-13T10:53:09.930Z","2.1.2-alpha.0":"2018-04-09T15:04:36.652Z","2.2.0-alpha.10475b37":"2018-04-09T14:55:52.406Z","2.1.0":"2018-04-09T10:15:23.790Z","2.0.0":"2017-10-22T15:44:53.571Z","0.0.3":"2016-01-17T22:22:58.182Z","0.0.2":"2016-01-15T05:50:42.242Z","0.0.1":"2016-01-12T16:24:22.944Z"},"users":{"danielbayley":true},"author":{"name":"JetBrains"},"repository":{"type":"git","url":"git+https://github.com/JetBrains/svg-mixer.git"},"versions":{"2.2.7":{"name":"postsvg","version":"2.2.7","description":"A tiny wrapper over posthml with the same API optimized for working with SVG","keywords":["posthtml","html","svg","transformations"],"license":"MIT","author":{"name":"JetBrains"},"homepage":"https://github.com/JetBrains/svg-mixer/tree/master/packages/postsvg","repository":{"type":"git","url":"git+https://github.com/JetBrains/svg-mixer.git"},"typings":"postsvg.d.ts","dependencies":{"clone":"^1.0.4","deepmerge":"^2.1.0","posthtml":"^0.11.3","posthtml-match-helper":"^1.0.1","posthtml-parser":"^0.4.1","posthtml-render":"^1.1.2"},"bugs":{"url":"https://github.com/JetBrains/svg-mixer/issues"},"_id":"postsvg@2.2.7","_npmVersion":"6.4.1","_nodeVersion":"8.15.0","_npmUser":{"name":"kisenka","email":"qtuzov@gmail.com"},"dist":{"shasum":"b345488cec971dcd17dd330b2e613542285940cb","size":4001,"noattachment":false,"key":"/postsvg/-/postsvg-2.2.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/postsvg/download/postsvg-2.2.7.tgz"},"maintainers":[{"name":"kisenka","email":"qtuzov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postsvg_2.2.7_1549628727859_0.39600460388378855"},"_hasShrinkwrap":false,"publish_time":1549628727952,"_cnpm_publish_time":1549628727952},"2.2.6":{"name":"postsvg","version":"2.2.6","description":"A tiny wrapper over posthml with the same API optimized for working with SVG","keywords":["posthtml","html","svg","transformations"],"license":"MIT","author":{"name":"JetBrains"},"homepage":"https://github.com/JetBrains/svg-mixer/tree/master/packages/postsvg","repository":{"type":"git","url":"git+https://github.com/JetBrains/svg-mixer.git"},"typings":"postsvg.d.ts","dependencies":{"clone":"^1.0.4","deepmerge":"^2.1.0","posthtml":"^0.11.3","posthtml-match-helper":"^1.0.1","posthtml-parser":"^0.4.1","posthtml-render":"^1.1.2"},"bugs":{"url":"https://github.com/JetBrains/svg-mixer/issues"},"_id":"postsvg@2.2.6","_npmVersion":"6.3.0","_nodeVersion":"8.11.2","_npmUser":{"name":"kisenka","email":"qtuzov@gmail.com"},"dist":{"shasum":"791c5c41a43a27484b66ff33128889c9ac6b8e38","size":3976,"noattachment":false,"key":"/postsvg/-/postsvg-2.2.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/postsvg/download/postsvg-2.2.6.tgz"},"maintainers":[{"name":"kisenka","email":"qtuzov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postsvg_2.2.6_1544035884561_0.7901133170333221"},"_hasShrinkwrap":false,"publish_time":1544035884684,"_cnpm_publish_time":1544035884684},"2.2.5":{"name":"postsvg","version":"2.2.5","description":"A tiny wrapper over posthml with the same API optimized for working with SVG","keywords":["posthtml","html","svg","transformations"],"license":"MIT","author":{"name":"JetBrains"},"homepage":"https://github.com/JetBrains/svg-mixer/tree/master/packages/postsvg","repository":{"type":"git","url":"git+https://github.com/JetBrains/svg-mixer.git"},"typings":"postsvg.d.ts","dependencies":{"clone":"^1.0.4","deepmerge":"^2.1.0","posthtml":"^0.11.3","posthtml-match-helper":"^1.0.1","posthtml-parser":"^0.4.1","posthtml-render":"^1.1.2"},"bugs":{"url":"https://github.com/JetBrains/svg-mixer/issues"},"_id":"postsvg@2.2.5","_npmVersion":"6.3.0","_nodeVersion":"8.11.2","_npmUser":{"name":"kisenka","email":"qtuzov@gmail.com"},"dist":{"shasum":"4b6072f5d6a1d0c6c223a969d8d4437e55aa0eee","size":3950,"noattachment":false,"key":"/postsvg/-/postsvg-2.2.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/postsvg/download/postsvg-2.2.5.tgz"},"maintainers":[{"name":"kisenka","email":"qtuzov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postsvg_2.2.5_1540813298030_0.9605323589653003"},"_hasShrinkwrap":false,"publish_time":1540813298135,"_cnpm_publish_time":1540813298135},"2.2.4":{"name":"postsvg","version":"2.2.4","description":"A tiny wrapper over posthml with the same API optimized for working with SVG","keywords":["posthtml","html","svg","transformations"],"license":"MIT","homepage":"https://github.com/kisenka/svg-mixer/packages/postsvg","repository":{"type":"git","url":"https://github.com/kisenka/svg-mixer/packages/postsvg"},"typings":"postsvg.d.ts","dependencies":{"clone":"^1.0.4","deepmerge":"^2.1.0","posthtml":"^0.11.3","posthtml-match-helper":"^1.0.1","posthtml-parser":"^0.4.1","posthtml-render":"^1.1.2"},"_id":"postsvg@2.2.4","_npmVersion":"6.3.0","_nodeVersion":"8.11.2","_npmUser":{"name":"kisenka","email":"qtuzov@gmail.com"},"dist":{"shasum":"8e58e687b8beaf022a384e65ec1bf0f7511b3e2b","size":4585,"noattachment":false,"key":"/postsvg/-/postsvg-2.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/postsvg/download/postsvg-2.2.4.tgz"},"maintainers":[{"name":"kisenka","email":"qtuzov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postsvg_2.2.4_1540802818961_0.6441760307244762"},"_hasShrinkwrap":false,"publish_time":1540802819116,"_cnpm_publish_time":1540802819116},"2.2.3":{"name":"postsvg","version":"2.2.3","description":"A tiny wrapper over posthml with the same API optimized for working with SVG","keywords":["posthtml","html","svg","transformations"],"license":"MIT","homepage":"https://github.com/kisenka/svg-mixer/packages/postsvg","repository":{"type":"git","url":"https://github.com/kisenka/svg-mixer/packages/postsvg"},"files":["lib","index.js","postsvg.d.ts"],"typings":"postsvg.d.ts","dependencies":{"clone":"^1.0.4","deepmerge":"^2.1.0","posthtml":"^0.11.3","posthtml-match-helper":"^1.0.1","posthtml-parser":"^0.4.1","posthtml-render":"^1.1.2"},"_id":"postsvg@2.2.3","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"kisenka","email":"qtuzov@gmail.com"},"dist":{"shasum":"32d65d116fb024687267b95e33e2e343c8fcba05","size":3867,"noattachment":false,"key":"/postsvg/-/postsvg-2.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/postsvg/download/postsvg-2.2.3.tgz"},"maintainers":[{"name":"kisenka","email":"qtuzov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postsvg_2.2.3_1528886493977_0.8234988828526186"},"_hasShrinkwrap":false,"publish_time":1528886494028,"_cnpm_publish_time":1528886494028},"2.2.2":{"name":"postsvg","version":"2.2.2","description":"A tiny wrapper over posthml with the same API optimized for working with SVG","keywords":["posthtml","html","svg","transformations"],"license":"MIT","homepage":"https://github.com/kisenka/svg-mixer/packages/postsvg","repository":{"type":"git","url":"https://github.com/kisenka/svg-mixer/packages/postsvg"},"files":["lib","index.js","postsvg.d.ts"],"typings":"postsvg.d.ts","dependencies":{"clone":"^1.0.4","deepmerge":"^2.1.0","posthtml":"^0.11.3","posthtml-match-helper":"^1.0.1","posthtml-parser":"^0.4.1","posthtml-render":"^1.1.2"},"_id":"postsvg@2.2.2","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"kisenka","email":"qtuzov@gmail.com"},"dist":{"shasum":"13663742869736fec39a659598f8edc04e75c23a","size":3849,"noattachment":false,"key":"/postsvg/-/postsvg-2.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/postsvg/download/postsvg-2.2.2.tgz"},"maintainers":[{"name":"kisenka","email":"qtuzov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postsvg_2.2.2_1526048988624_0.915107252846354"},"_hasShrinkwrap":false,"publish_time":1526048988772,"_cnpm_publish_time":1526048988772},"2.2.1":{"name":"postsvg","version":"2.2.1","description":"A tiny wrapper over posthml with the same API optimized for working with SVG","keywords":["posthtml","html","svg","transformations"],"license":"MIT","homepage":"https://github.com/kisenka/svg-mixer/packages/postsvg","repository":{"type":"git","url":"https://github.com/kisenka/svg-mixer/packages/postsvg"},"files":["lib","index.js","postsvg.d.ts"],"typings":"postsvg.d.ts","dependencies":{"clone":"^1.0.4","deepmerge":"^2.1.0","posthtml":"^0.11.3","posthtml-match-helper":"^1.0.1","posthtml-parser":"^0.4.1","posthtml-render":"^1.1.2"},"_id":"postsvg@2.2.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.1","_npmUser":{"name":"kisenka","email":"qtuzov@gmail.com"},"dist":{"shasum":"43df6ca56aacc7eba979f39f300720e3e3d8f82c","size":3822,"noattachment":false,"key":"/postsvg/-/postsvg-2.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/postsvg/download/postsvg-2.2.1.tgz"},"maintainers":[{"name":"kisenka","email":"qtuzov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postsvg_2.2.1_1524912556038_0.9097722678036702"},"_hasShrinkwrap":false,"publish_time":1524912556118,"_cnpm_publish_time":1524912556118},"2.2.0":{"name":"postsvg","version":"2.2.0","description":"A tiny wrapper over posthml with the same API optimized for working with SVG","license":"MIT","homepage":"https://github.com/kisenka/svg-mixer/packages/postsvg","repository":{"type":"git","url":"https://github.com/kisenka/svg-mixer/packages/postsvg"},"files":["lib","index.js","postsvg.d.ts"],"typings":"postsvg.d.ts","dependencies":{"clone":"^1.0.4","deepmerge":"^2.1.0","posthtml":"^0.11.3","posthtml-match-helper":"^1.0.1","posthtml-parser":"^0.4.1","posthtml-render":"^1.1.2"},"scripts":{"test":"mocha -r $MOCHA_SETUP_PATH"},"_id":"postsvg@2.2.0","_npmVersion":"5.6.0","_nodeVersion":"9.9.0","_npmUser":{"name":"kisenka","email":"qtuzov@gmail.com"},"dist":{"shasum":"6acf496b7fbf4421b72b811b33d7043dade55697","size":3432,"noattachment":false,"key":"/postsvg/-/postsvg-2.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postsvg/download/postsvg-2.2.0.tgz"},"maintainers":[{"name":"kisenka","email":"qtuzov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postsvg_2.2.0_1524329128504_0.6710242403732056"},"_hasShrinkwrap":false,"publish_time":1524329128556,"_cnpm_publish_time":1524329128556},"2.1.2":{"name":"postsvg","version":"2.1.2","description":"A tiny wrapper over posthml with the same API optimized for working with SVG","license":"MIT","repository":{"type":"git","url":"https://github.com/kisenka/svg-baker/packages/postsvg"},"files":["lib","index.js"],"dependencies":{"clone":"^1.0.4","deepmerge":"^2.1.0","posthtml":"^0.11.3","posthtml-parser":"^0.4.1","posthtml-render":"^1.1.2"},"scripts":{"test":"mocha -r $MOCHA_SETUP_PATH"},"_id":"postsvg@2.1.2","_npmVersion":"5.6.0","_nodeVersion":"9.9.0","_npmUser":{"name":"kisenka","email":"qtuzov@gmail.com"},"dist":{"shasum":"d294f410f0c4324faa69eb86db6f9d07ff9aa0cd","size":2436,"noattachment":false,"key":"/postsvg/-/postsvg-2.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/postsvg/download/postsvg-2.1.2.tgz"},"maintainers":[{"name":"kisenka","email":"qtuzov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postsvg_2.1.2_1523616789708_0.783844291496463"},"_hasShrinkwrap":false,"publish_time":1523616789930,"_cnpm_publish_time":1523616789930},"2.1.2-alpha.0":{"name":"postsvg","version":"2.1.2-alpha.0","description":"A tiny wrapper over posthml with the same API optimized for working with SVG","license":"MIT","repository":{"type":"git","url":"https://github.com/kisenka/svg-baker/packages/postsvg"},"files":["lib","index.js"],"dependencies":{"clone":"^1.0.4","deepmerge":"^2.1.0","posthtml":"^0.11.3","posthtml-parser":"^0.4.1","posthtml-render":"^1.1.2"},"scripts":{"test":"mocha -r $MOCHA_SETUP_PATH"},"readmeFilename":"README.md","_id":"postsvg@2.1.2-alpha.0","_npmVersion":"5.6.0","_nodeVersion":"9.9.0","_npmUser":{"name":"kisenka","email":"qtuzov@gmail.com"},"dist":{"shasum":"4a25010bf66a252e331bd022d46af1467150d509","size":2432,"noattachment":false,"key":"/postsvg/-/postsvg-2.1.2-alpha.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postsvg/download/postsvg-2.1.2-alpha.0.tgz"},"maintainers":[{"name":"kisenka","email":"qtuzov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postsvg_2.1.2-alpha.0_1523286276574_0.5446778682913318"},"_hasShrinkwrap":false,"publish_time":1523286276652,"_cnpm_publish_time":1523286276652},"2.2.0-alpha.10475b37":{"name":"postsvg","version":"2.2.0-alpha.10475b37","description":"A tiny wrapper over posthml with the same API optimized for working with SVG","license":"MIT","repository":{"type":"git","url":"https://github.com/kisenka/svg-baker/packages/postsvg"},"files":["lib","index.js"],"dependencies":{"clone":"^1.0.4","deepmerge":"^2.1.0","posthtml":"^0.11.3","posthtml-parser":"^0.4.1","posthtml-render":"^1.1.2"},"scripts":{"test":"mocha -r $MOCHA_SETUP_PATH"},"readmeFilename":"README.md","_id":"postsvg@2.2.0-alpha.10475b37","_npmVersion":"5.6.0","_nodeVersion":"9.9.0","_npmUser":{"name":"kisenka","email":"qtuzov@gmail.com"},"dist":{"shasum":"6823560b497b55dd19361665acf5b0276653006d","size":2441,"noattachment":false,"key":"/postsvg/-/postsvg-2.2.0-alpha.10475b37.tgz","tarball":"http://registry.cnpm.dingdandao.com/postsvg/download/postsvg-2.2.0-alpha.10475b37.tgz"},"maintainers":[{"name":"kisenka","email":"qtuzov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postsvg_2.2.0-alpha.10475b37_1523285752328_0.2929699560474084"},"_hasShrinkwrap":false,"publish_time":1523285752406,"_cnpm_publish_time":1523285752406},"2.1.0":{"name":"postsvg","version":"2.1.0","description":"A tiny wrapper over posthml with the same API optimized for working with SVG","license":"MIT","repository":{"type":"git","url":"https://github.com/kisenka/svg-baker/packages/postsvg"},"files":["lib"],"dependencies":{"clone":"^1.0.4","deepmerge":"^2.1.0","posthtml":"^0.11.3","posthtml-parser":"^0.4.1","posthtml-render":"^1.1.2"},"scripts":{"test":"mocha -r $MOCHA_SETUP_PATH"},"_id":"postsvg@2.1.0","_npmVersion":"5.6.0","_nodeVersion":"9.9.0","_npmUser":{"name":"kisenka","email":"qtuzov@gmail.com"},"dist":{"shasum":"5e7c23048dd67901ee43415c8d660c0e663ddbf1","size":2195,"noattachment":false,"key":"/postsvg/-/postsvg-2.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postsvg/download/postsvg-2.1.0.tgz"},"maintainers":[{"name":"kisenka","email":"qtuzov@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postsvg_2.1.0_1523268923725_0.38830446404664887"},"_hasShrinkwrap":false,"publish_time":1523268923790,"_cnpm_publish_time":1523268923790},"2.0.0":{"name":"postsvg","version":"2.0.0","description":"SVG transformations","main":"index.js","files":["lib","index.js"],"author":{"name":"kisenka"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/kisenka/postsvg.git"},"homepage":"https://github.com/kisenka/postsvg#readme","bugs":{"url":"https://github.com/kisenka/postsvg/issues"},"keywords":["svg","transform","posthtml"],"dependencies":{"deepmerge":"^2.0.0","posthtml":"^0.9.2","posthtml-parser":"^0.2.1","posthtml-render":"^1.0.6"},"devDependencies":{},"scripts":{},"gitHead":"ff72c4e4f080883b54cdf08caad4e986100e381f","_id":"postsvg@2.0.0","_npmVersion":"5.4.2","_nodeVersion":"8.7.0","_npmUser":{"name":"kisenka","email":"qtuzov@gmail.com"},"dist":{"shasum":"0f29eac6d0161855e5ffce73c6da28465fdbad96","size":2511,"noattachment":false,"key":"/postsvg/-/postsvg-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/postsvg/download/postsvg-2.0.0.tgz"},"maintainers":[{"name":"kisenka","email":"qtuzov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postsvg-2.0.0.tgz_1508687092639_0.4456660912837833"},"directories":{},"publish_time":1508687093571,"_hasShrinkwrap":false,"_cnpm_publish_time":1508687093571},"0.0.3":{"name":"postsvg","version":"0.0.3","description":"SVG transformations","main":"index.js","scripts":{"test":"mocha test/*.test.js","test-coverage":"istanbul cover node_modules/.bin/_mocha"},"repository":{"type":"git","url":"git+https://github.com/kisenka/postsvg.git"},"keywords":["svg","transform"],"author":{"name":"kisenka","email":"qtuzov@gmail.com","url":"https://github.com/kisenka"},"license":"MIT","bugs":{"url":"https://github.com/kisenka/postsvg/issues"},"homepage":"https://github.com/kisenka/postsvg#readme","files":["lib/","index.js","README.md"],"dependencies":{"cheerio":"0.19.0","object-assign":"4.0.1"},"devDependencies":{"chai":"3.4.1","istanbul":"0.4.2","mocha":"2.3.4"},"gitHead":"409e158a1e0f823a1bf95fff307800c90e5d3f32","_id":"postsvg@0.0.3","_shasum":"6c8523f30c894a8907091ab24601453fdf40a851","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.6","_npmUser":{"name":"kisenka","email":"qtuzov@gmail.com"},"dist":{"shasum":"6c8523f30c894a8907091ab24601453fdf40a851","size":2551,"noattachment":false,"key":"/postsvg/-/postsvg-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/postsvg/download/postsvg-0.0.3.tgz"},"maintainers":[{"name":"kisenka","email":"qtuzov@gmail.com"}],"directories":{},"publish_time":1453069378182,"_cnpm_publish_time":1453069378182,"_hasShrinkwrap":false},"0.0.2":{"name":"postsvg","version":"0.0.2","description":"SVG transformations","main":"index.js","scripts":{"test":"mocha test/*.test.js","test-coverage":"istanbul cover node_modules/.bin/_mocha"},"repository":{"type":"git","url":"git+https://github.com/kisenka/postsvg.git"},"keywords":["svg","transform"],"author":{"name":"kisenka","email":"qtuzov@gmail.com","url":"https://github.com/kisenka"},"license":"MIT","bugs":{"url":"https://github.com/kisenka/postsvg/issues"},"homepage":"https://github.com/kisenka/postsvg#readme","files":["lib/","index.js","README.md"],"dependencies":{"cheerio":"0.19.0","object-assign":"4.0.1"},"devDependencies":{"chai":"3.4.1","istanbul":"0.4.2","mocha":"2.3.4"},"gitHead":"ce114a618f8a7eaad15042b6568029cd882d92ad","_id":"postsvg@0.0.2","_shasum":"ff2443ccefa596c93279fe5ef97c32cac7ce2e22","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.6","_npmUser":{"name":"kisenka","email":"qtuzov@gmail.com"},"dist":{"shasum":"ff2443ccefa596c93279fe5ef97c32cac7ce2e22","size":2548,"noattachment":false,"key":"/postsvg/-/postsvg-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/postsvg/download/postsvg-0.0.2.tgz"},"maintainers":[{"name":"kisenka","email":"qtuzov@gmail.com"}],"directories":{},"publish_time":1452837042242,"_cnpm_publish_time":1452837042242,"_hasShrinkwrap":false},"0.0.1":{"name":"postsvg","version":"0.0.1","description":"SVG transformations","main":"index.js","scripts":{"test":"mocha test/*.test.js","test-coverage":"istanbul cover node_modules/.bin/_mocha"},"repository":{"type":"git","url":"git+https://github.com/kisenka/postsvg.git"},"keywords":["svg","transform"],"author":{"name":"kisenka","email":"qtuzov@gmail.com","url":"https://github.com/kisenka"},"license":"MIT","bugs":{"url":"https://github.com/kisenka/postsvg/issues"},"homepage":"https://github.com/kisenka/postsvg#readme","files":["lib/","index.js","README.md"],"dependencies":{"cheerio":"0.19.0","object-assign":"4.0.1"},"devDependencies":{"chai":"3.4.1","istanbul":"0.4.2","mocha":"2.3.4"},"gitHead":"eb5fd8284450057e7abdc083a29cc84f66ba91df","_id":"postsvg@0.0.1","_shasum":"23e6d45c099988281da396c8b0674e59929ac52c","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"kisenka","email":"qtuzov@gmail.com"},"dist":{"shasum":"23e6d45c099988281da396c8b0674e59929ac52c","size":2525,"noattachment":false,"key":"/postsvg/-/postsvg-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/postsvg/download/postsvg-0.0.1.tgz"},"maintainers":[{"name":"kisenka","email":"qtuzov@gmail.com"}],"directories":{},"publish_time":1452615862944,"_cnpm_publish_time":1452615862944,"_hasShrinkwrap":false}},"readme":"# PostSVG\n\nA tiny wrapper over [posthtml](https://github.com/posthtml/posthtml) with the same \nAPI optimized for working with SVG.\n\n## Differences from PostHTML\n\n- Content is parsed in [xml mode](https://github.com/fb55/htmlparser2/wiki/Parser-options#option-xmlmode).\n- Properly renders SVG self-closing tags (`<path />`, `<line />` etc).\n- Processing result is instance of [Tree](https://github.com/kisenka/svg-mixer/blob/master/packages/postsvg/lib/tree.js) class which is wrapper \n  around Array and backward compatible with posthtml parser.\n\n## Tree\n\nPostSVG tree has several useful methods for work with AST:\n\n```js\nconst { parse } = require('postsvg');\n\nconst tree = parse('<svg><path /><path class=\"qwe\" /></svg>');\n\n/**\n * `root` getter returns <svg> node\n * @return {Node}\n */ \ntree.root;\n\n/**\n * Find all <path/> nodes\n * @return {Array<Node>}\n */\ntree.select('path'); \n\n/**\n * Select only nodes with class=\"qwe\"\n * @return {Array<Node>}\n */\ntree.select('.qwe');\n\n/**\n * Fill each <path/> node with red color \n */\ntree.each('path', node => node.attrs.fill = 'red');\n```\n\nNode has following structure:\n```\nNode<{\n  tag: string,\n  attrs?: Object,\n  content?: Array<Node>\n}>\n```\n\n## LICENSE\n\n[MIT](https://github.com/JetBrains/svg-mixer/blob/master/LICENSE)\n","_attachments":{},"homepage":"https://github.com/JetBrains/svg-mixer/tree/master/packages/postsvg","bugs":{"url":"https://github.com/JetBrains/svg-mixer/issues"},"license":"MIT"}