Fast and efficient 3mf format parser
- Optimized for speed (webworkers)
- And low memory consumption (streams)
- works in the Node.js & browser
npm i @usco/3mf-parser
import makeParsedStream from '@usco/3mf-parser'
fs.createReadStream('./someFile.3mf', { encoding: null}) // 'binary'
.pipe(makeParsedStream())
.on('data', function (parsed) {
console.log('parsed', parsed)
//DO what you want with the data
})
See the contribute file!
PRs accepted.
Small note: If editing the Readme, please conform to the standard-readme specification.
Code is written in the standard style.