New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pi-camera

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pi-camera - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4

2

package.json
{
"name": "pi-camera",
"version": "0.3.3",
"version": "0.3.4",
"description": "A very lightweight promise based Node.js wrapper for the native Raspberry Pi Camera CLI tools.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -28,3 +28,3 @@ # PiCamera

myCamera.snap();
.then((msg) => {
.then((result) => {
// Your picture was captured

@@ -49,4 +49,8 @@ })

myCamera.record()
.then((result) => process.send({ rsp: 'success', result }))
.catch((error) => process.send({ rsp: 'failure', error }));
.then((result) => {
// Your video was captured
})
.catch((error) => {
// Handle your error
});
```

@@ -53,0 +57,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc