Gathering detailed insights and metrics for aframe-observer-component
Gathering detailed insights and metrics for aframe-observer-component
npm install aframe-observer-component
Typescript
Module System
Node Version
NPM Version
70.8
Supply Chain
93.1
Quality
77.3
Maintenance
100
Vulnerability
100
License
JavaScript (66.27%)
HTML (33.73%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
1,264
Last Day
1
Last Week
2
Last Month
13
Last Year
164
3 Stars
11 Commits
1 Watching
11 Branches
1 Contributors
Minified
Minified + Gzipped
Latest Version
1.0.1
Package Id
aframe-observer-component@1.0.1
Size
234.71 kB
NPM Version
5.6.0
Node Version
8.9.0
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
-50%
2
Compared to previous week
Last month
18.2%
13
Compared to previous month
Last year
-30.8%
164
Compared to previous year
24
An Observer component for a camera in an A-frame scene.
Attach a view from a camera to a canvas external of the A-frame scene.
Loosely based on this example.
For A-Frame.
Property | Description | Default Value |
---|---|---|
canvas | selector of the HTML element where the canvas with the camera view is going to be attached | '' |
fps | desired FPS of observer display | 30.0 |
Install and use by directly including the browser files:
1<head> 2 <title>My A-Frame Scene</title> 3 <script src="https://aframe.io/releases/0.6.0/aframe.min.js"></script> 4 <script src="https://unpkg.com/aframe-observer-component/dist/aframe-observer-component.min.js"></script> 5</head> 6 7<body> 8 <a-scene embedded> 9 <a-sky color="#ECECEC"></a-sky> 10 <a-box 11 position="-1 0.5 1" 12 rotation="0 45 0" 13 width="1" height="1" depth="1" 14 color="#4CC3D9"></a-box> 15 <a-plane 16 rotation="-90 0 0" 17 width="4" height="4" 18 color="#7BC8A4"></a-plane> 19 20 <a-entity 21 id="mainCamera" 22 position="0 0 3.8" 23 camera 24 active 25 look-controls></a-entity> 26 27 <a-entity 28 id="observerCamera" 29 position="2 1.8 4.8" 30 rotation="-20 45 0" 31 camera 32 observer="canvas: #cameraObserver;" 33 active="false"></a-entity> 34 </a-scene> 35 <div id="cameraObserver"></div> 36</body>
Install via npm:
1npm install aframe-observer-component
Then require and use.
1require('aframe'); 2require('aframe-observer-component');
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/10 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
80 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-02-03
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More