.. | ||
BinaryReader.js | ||
CHANGELOG.md | ||
ensureManifoldness.js | ||
index.js | ||
makeBlob.js | ||
package.json | ||
README.md | ||
test.js |
@jscad/io-utils
input/output handling utilities
Overview
This contains following utilities:
- makeBlob : converts arrays of raw data output by the various serializers into a Blob that can also be converted to Node.js buffer
Table of Contents
Installation
npm install @jscad/io-utils
Usage
const {makeBlob} = require('@jscad/io-utils')
const stlSerializer = require('@jscad/stl-serializer')
const rawData = stlSerializer(CSGObject)
const blob = new makeBlob(rawData)
//get a Node.js buffer
const buffer = blob.asBuffer()
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)