# vsvg-parser

> A minimal implementation of a svg parser used in vsvg

Latest version **0.3.1** (published 2015-05-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install vsvg-parser
pnpm add vsvg-parser
yarn add vsvg-parser
bun add vsvg-parser
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.1 |
| Published | 2015-05-03 |
| First published | 2014-12-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jacob Lowe |
| Maintainers | jcblw |
| Keywords | svg, server, parser |

## Links

- npm: https://www.npmjs.com/package/vsvg-parser
- Repository: http://github.com/jcblw/vsvg-parser
- Homepage: https://github.com/jcblw/vsvg-parser
- Issues: https://github.com/jcblw/vsvg-parser/issues
- npm.io page: https://npm.io/package/vsvg-parser

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 0.3.1 (latest) — 2015-05-03
- 0.2.0 — 2014-12-06
- 0.1.0 — 2014-12-06
- 0.0.1 — 2014-12-05

## README

# vsvg-parser ( virtual SVG parser )  [![Build Status](https://travis-ci.org/jcblw/vsvg-parser.svg?branch=master)](https://travis-ci.org/jcblw/vsvg-parser)

vsvg-parser is a small lib that allow you to parser svg's server side or client side. Its still in early devlopment so expect bug and file issues. Primarly used in [vsvg]( https://github.com/jcblw/vsvg ).

## Install

    $ npm install vsvg-parser

You can also use it with your [Browserify](http://browserify.org) bundles.

## Usage

```javascript
var parser = require( 'vsvg-parser' );

console.log( parser.parse( '<svg><line /></svg>' ) );
/*

[ { tagName: 'svg',
    attributes: {},
    children: 
     [ { tagName: 'line',
         attributes: {},
         children: [],
         text: null,
         inside: 0,
         closed: true,
         position: [ 0, 0 ] } ],
    text: null,
    inside: -1,
    closed: true,
    position: [ 0 ] } ]

*/ 
```

---
_Source: https://npm.io/package/vsvg-parser · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
