{"_id":"@abpd2001/rpicam","name":"@abpd2001/rpicam","dist-tags":{"beta":"0.1.0","latest":"0.1.0"},"versions":{"0.1.0":{"name":"@abpd2001/rpicam","version":"0.1.0","description":"A lightweight library to control CSI-2 camera modules via any raspberry pi can read camera module but is dependent to shell.","scripts":{"compile":"tsc"},"keywords":["rpi-cam","camera","rpi","raspberry","pi","raspberry-pi","raspberry-pi-cam","cam","rpicam"],"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ABPD2001/rpicam.git"},"author":{"name":"ABPD2001"},"type":"module","main":"dist/index.js","devDependencies":{"@types/node":"^24.0.13","typescript":"^5.8.3"},"_id":"@abpd2001/rpicam@0.1.0","gitHead":"cbfe28864b4e90683c7887456e9828dfa2e8dc3f","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/ABPD2001/rpicam/issues"},"homepage":"https://github.com/ABPD2001/rpicam#readme","_nodeVersion":"24.3.0","_npmVersion":"11.4.2","dist":{"integrity":"sha512-CDS0IGkSIXABT3Tvvxq9q0pqa7odY67FfVGHgR0Vkk0ZnwFnDhRf/+gnMAta6Avnb2JcqcVt5da5QF1pugqMWg==","shasum":"c3b209eec310fb9e4c236617bdafef2a22a3d1bc","tarball":"https://registry.npmjs.org/@abpd2001/rpicam/-/rpicam-0.1.0.tgz","fileCount":17,"unpackedSize":78142,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCOokHAqxm8pbFdkbSHIr4Daap2OSnFIYX0iqyeF3HzEQIhAOulFBb2DLRJXxh/N8eF7FNlwb7iHR2UKAE5N+xoyp+6"}]},"_npmUser":{"name":"abpd2001","email":"a.puretemadi@gmail.com"},"directories":{},"maintainers":[{"name":"abpd2001","email":"a.puretemadi@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/rpicam_0.1.0_1752850018220_0.5404892369001384"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-18T14:46:58.161Z","0.1.0":"2025-07-18T14:46:58.407Z","modified":"2025-07-18T14:46:58.637Z"},"maintainers":[{"name":"abpd2001","email":"a.puretemadi@gmail.com"}],"description":"A lightweight library to control CSI-2 camera modules via any raspberry pi can read camera module but is dependent to shell.","homepage":"https://github.com/ABPD2001/rpicam#readme","keywords":["rpi-cam","camera","rpi","raspberry","pi","raspberry-pi","raspberry-pi-cam","cam","rpicam"],"repository":{"type":"git","url":"git+https://github.com/ABPD2001/rpicam.git"},"author":{"name":"ABPD2001"},"bugs":{"url":"https://github.com/ABPD2001/rpicam/issues"},"license":"MIT","readme":"# Raspberry pi camera library for node.js\r\n\r\n**Simple** and **lightweight** library for taking control of _Raspberry Pi Camera_ for Node (JS/TS).\r\n\r\n## Table of contents\r\n\r\n- [Table of contents](#table-of-contents)\r\n- [Introduction](#introduction)\r\n- [Installation](#installation)\r\n- [Features](#features)\r\n- [Technicals](#technicals)\r\n\r\n  - [Properties](#properties)\r\n\r\n    - [`tasks`](#tasks)\r\n    - [`live`](#live)\r\n\r\n  - [Serves](#serves)\r\n\r\n    - [`serveStill`](#servestill)\r\n    - [`serveStillSync`](#servestillsync)\r\n    - [`serveStillCustom`](#servestillcustom)\r\n    - [`serveStillCustomSync`](#servestillcustomsync)\r\n    - [`serveVideo`](#servevideo)\r\n    - [`serveVideoSync`](#servevideosync)\r\n    - [`serveVideoCustom`](#servevideocustom)\r\n    - [`serveVideoCustomSync`](#servevideocustomsync)\r\n\r\n  - [Streams](#streams)\r\n\r\n    - [`serveLive`](#servelive)\r\n\r\n  - [Stats](#stats)\r\n    - [`isReady`](#isready)\r\n    - [`isReadySync`](#isreadysync)\r\n  - [Reservations](#reservations)\r\n    - [`killTask`](#killtask)\r\n    - [`killAllTasks`](#killalltasks)\r\n    - [`reserve`](#reserve)\r\n    - [`unlockReserve`](#unlockreserve)\r\n\r\n## Introduction\r\n\r\n`rpicam-apps-lite` is a linux package `rpi-cam` npm library dependent to it and used for controlling _Raspberry Pi Camera_ series connects via CSI-2 socket and other ports.\r\n\r\n**Warning:** This library only test on these Linux distros and not recommended to use windows or other OS not supported for `rpicam-apps-lite` package, also is not fast as a C/C++ custom drivers and use shell tools!\r\n\r\n- Debian\r\n- Ubuntu\r\n- Raspbian\r\n\r\n## Installation\r\n\r\nIn first you need to setup dependent packages, so run this command to check already installed or not:\r\n\r\n```bash\r\napt list --installed rpicam-apps-lite  # for Debian based distros.\r\n# or\r\nyum list --installed rpicam-apps-lite  # for REHL based distros (not recommended).\r\n```\r\n\r\n_Note: if already downloaded, skip downloading, else continue._\r\n\r\nthen download package by this command:\r\n\r\n```bash\r\nsudo apt install rpicam-apps-lite  # for Debian based distros.\r\n# or\r\nsudo yum install rpicam-apps-lite  # for REHL based distros (not recommended).\r\n```\r\n\r\nat last step, install library on your node.js project:\r\n\r\n```bash\r\nnpm install rpi-cam\r\n```\r\n\r\n## Features\r\n\r\nIs lightweight, user friendly and professionals also can use this as a advanced library access them to every options like **zooming** or adding **effects** and **capturing method** and mores supported in `rpicam-apps-lite`.\r\n\r\nSome advatage of using this library:\r\n\r\n- its user-friendly and has advanced tools for professionals.\r\n- its lightweight.\r\n- all tools in `rpicam-apps-lite` is usable on this library.\r\n- can wait and reserve camera to avoid **race-condition** bugs.\r\n- also can do advanced method of capturing videos and photos like _burst shots_, _capturing last 30 minutes_ or _live streaming_ and others...\r\n\r\n## Technicals\r\n","readmeFilename":"README.md","_rev":"1-f890f90e1bdee5b092d73e577bb69d67"}