Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
stl-viewer
Advanced tools
A component for viewing an STL object from a given URL by utilizing Three.js
A React component for viewing an STL object from a given URL by utilizing Three.js
See a live demo here.
Note that you will still have to abide by the rules of CORS so you won't just be able to load a 3D file from someone else's site
npm install stl-viewer
import STLViewer from 'stl-viewer'
<STLViewer
url='http://www.example.com/example-url.stl'
width={400}
height={400}
modelColor='#B92C2C'
backgroundColor='#EAEAEA'
rotate={true}
orbitControls={true}
/>
yarn run build
python -m SimpleHTTPServer 8000
http://0.0.0.0:8000
in your browserFAQs
A component for viewing an STL object from a given URL by utilizing Three.js
The npm package stl-viewer receives a total of 676 weekly downloads. As such, stl-viewer popularity was classified as not popular.
We found that stl-viewer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.