npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@abdeslam_gacemi/capacitor-arcore-measuror

v0.0.8

Published

A capacitor plugin that exploits ARCore android feature for a cropped area measurements and distance

Downloads

89

Readme

measuror

A capacitor plugin that exploits ARCore android feature for cropped area measurements and distance

Install

npm install @abdeslam_gacemi/capacitor-arcore-measuror
npx cap sync

API

start()

start() => any

Start the AR session and camera

Returns: any


stop()

stop() => any

Stop the AR session and release resources

Returns: any


setCropArea(...)

setCropArea(options: MeasurorCropAreaOptions) => any

Set the crop area for measurements

| Param | Type | Description | | ------------- | --------------------------------------------------------------------------- | ------------------------- | | options | MeasurorCropAreaOptions | - Crop area configuration |

Returns: any


addListener('onMeasurement' | 'measurementChange' | 'onMeasurementUpdate', ...)

addListener(eventName: 'onMeasurement' | 'measurementChange' | 'onMeasurementUpdate', listenerFunc: (data: MeasurorCapturedMeasurements) => void) => any

Add listener for measurement updates

| Param | Type | Description | | ------------------ | -------------------------------------------------------------------------------------------------------- | ---------------------------------------------- | | eventName | 'onMeasurement' | 'measurementChange' | 'onMeasurementUpdate' | - Event type to listen for | | listenerFunc | (data: MeasurorCapturedMeasurements) => void | - Callback function to handle measurement data |

Returns: any


startListening()

startListening() => any

Start emitting measurement updates via listeners

Returns: any


stopListening()

stopListening() => any

Stop emitting measurement updates

Returns: any


capturePhoto()

capturePhoto() => any

Capture a single measurement with photo

Returns: any


measureNow()

measureNow() => any

Request a single measurement without photo

Returns: any


Interfaces

MeasurorStartResult

| Prop | Type | | --------------------- | -------------------- | | success | boolean | | status | string | | message | string | | textureId | number | | displayRotation | number | | width | number | | height | number |

MeasurorCropAreaOptions

| Prop | Type | | ------------ | -------------------- | | left | number | | top | number | | width | number | | height | number | | center | boolean |

MeasurorCropAreaResult

| Prop | Type | | -------------------- | -------------------- | | success | boolean | | cropLeft | number | | cropTop | number | | cropWidth | number | | cropHeight | number | | centerCropMode | boolean | | density | number |

MeasurorCapturedMeasurements

| Prop | Type | | -------------------------- | ------------------------------------------------------------------------------------- | | hasValidMeasurement | boolean | | trackingConfidence | number | | photoBase64 | string | | imageWidth | number | | imageHeight | number | | realWidth | number | | realHeight | number | | smoothedWidth | number | | smoothedHeight | number | | smoothedWidthUnit | string | | smoothedHeightUnit | string | | distance | number | | smoothedDistance | number | | note | string | | croppedPhotoBase64 | string | | hasCroppedPhoto | boolean | | planeRotationY | number | | planeRotationX | number | | orientation | 'portrait' | 'portrait-reversed' | 'landscape' | 'landscape-reversed' | | isPortrait | boolean | | physicalOrientation | number | | deviceOrientedWidth | number | | deviceOrientedHeight | number | | timestamp | number | | trackingState | string | | detectedPlanes | number | | trackingPlanes | number | | stable | number | | hitX | number | | hitY | number | | hitZ | number | | measurementPointX | number | | measurementPointY | number | | cropLeft | number | | cropTop | number | | cropWidth | number | | cropHeight | number | | croppedWidth | number | | croppedHeight | number | | viewWidth | number | | viewHeight | number | | focalLengthX | number | | focalLengthY | number | | principalPointX | number | | principalPointY | number | | cameraImageWidth | number | | cameraImageHeight | number | | calculationMethod | 'intrinsics' | 'texture_intrinsics' | 'fov_fallback' | | rotationApplied | number | | errorCode | string | | reason | string | | emitAllowed | boolean |

MeasurorListeningResult

| Prop | Type | | --------------- | -------------------- | | listening | boolean |