
Security News
NVD Concedes Inability to Keep Pace with Surging CVE Disclosures in 2025
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
node-raspistill
Advanced tools
Simple wrapper for taking photos using Raspberry Pi raspistill app.
Module is written in typescript and provides type definitions out-of-the-box.
Tested with Raspberry Pi 2 B (Raspbian OS), and Raspberry Camera Module v2.
##Usage
const Raspistill = require('node-raspistill').Raspistill;
const camera = new Raspistill();
camera.takePhoto().then((photo) => {
...
});
Or (if you use imports):
import {Raspistill} from 'node-raspistill';
const camera = new Raspistill();
camera.takePhoto().then((photo) => {
...
});
##Docs
Creates new Raspistill instance.
Options - object, that can contain:
verticalFlip
: boolean, defaults to false;
horizontalFlip
: boolean, defaults to false;
outputDir
: string, output directory where photos will be stored. Defaults to ./photos
;
fileName
: string, name for photo file, if not exixts, defaults to new Date.now() + file encoding;
encoding
: string, photo encoding, can be 'jpg', 'bpm', 'gif', 'png', defaults to jpg
;
width
: number, not exists by default;
height
: number, not exists by default;
Takes new photo. Returns Promise, resolving with Buffer object.
Sets new options for current Raspistill instance.
Gets current raspistill options.
Gets current raspistill option by key.
FAQs
Node wrapper for taking photos using Raspberry Pi raspistill app.
We found that node-raspistill 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
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.