.. | ||
CHANGELOG.md | ||
index.js | ||
package.json | ||
README.md | ||
test.js |
@jscad/svg-serializer
svg serializer for the jscad project (from CSG)
Overview
This serializer outputs a 'blobable' array of data (from a CAG object)
ie an array that can either be passed directly to a Blob (new Blob(blobable)
)
or converted to a Node.js buffer.
Table of Contents
Installation
npm install @jscad/svg-serializer
Usage
const svgSerializer = require('@jscad/svg-serializer')
const rawData = svgSerializer(CAGObject)
//in browser (with browserify etc)
const blob = new Blob(rawData)
Contribute
For questions about the API, please contact the User Group
PRs accepted.
Small Note: If editing this README, please conform to the standard-readme specification.
License
The MIT License (MIT) (unless specified otherwise)