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

@applooma/beauty-react-native

v0.2.0

Published

Looma Beauty Camera for React Native: free real-time beauty, make-up, filters, masks and backgrounds for AppLooma RTC

Readme

Looma Beauty Camera for React Native

Free real-time beauty camera for AppLooma RTC: skin smoothing and tone, face shape, make-up, 52 colour filters, face masks that follow the head, and background blur or replacement. What it draws is what viewers receive and what you see in your own preview. Ready-made panels included.

Guide: https://docs.applooma.dev/guides/beauty-camera

Install

npm install @applooma/beauty-react-native
cd ios && pod install

It works next to @applooma/rtc-react-native (and its two native packages, @applooma/rtc-native-core and @applooma/rtc-native-webrtc). Rebuild the app after installing; autolinking adds the native half.

Requirements: Android 7.0 (API 24)+ with OpenGL ES 2.0; iOS 14+ with Metal.

Use

import { AppEngine } from '@applooma/rtc-react-native';
import { LoomaBeauty } from '@applooma/beauty-react-native';

const beauty = await LoomaBeauty.create();   // Smart Beauty is on
beauty.attachToEngine(engine);               // stays on through camera switches

beauty.showPanel();        // Presets, Beauty, Make up, Filter
beauty.showMagicPanel();   // Mask and Background

Or in code:

await beauty.setPreset('NATURAL');
await beauty.setItem('SMOOTH', 0.7);         // 0..1; face-shape items -1..1
await beauty.setFilter('PEARL', 0.8);
await beauty.setMakeup('NONE');
await beauty.setMask('kitty');               // null for none
await beauty.setBackground('BLUR');          // 'NONE' for off
await beauty.setCustomBackground('file:///.../beach.jpg');
await beauty.close();

Every id is typed and listed: PRESETS, ITEMS, FILTERS, MAKEUP, BACKGROUNDS, MASKS, BIPOLAR_ITEMS. Mask and background pictures download from AppLooma's CDN the first time they are chosen and then stay on the device.

Your own camera track

attachToLocalVideo(track) puts the beauty camera on one local camera track (a local video track, or its mediaStreamTrack). Muting or switching the camera replaces the track, so call it again then, or use attachToEngine.

One frame processor runs per camera track: the beauty camera replaces the RTC SDK's engine.setVideoEnhance(). Use one or the other.

How it connects

The media package keeps a registry of named camera-frame processors. This package registers one named applooma-beauty and the JS side puts it on the camera track. On Android it runs Looma Beauty Camera (com.applooma:beauty-android, from Maven Central) on the GPU texture of each frame; on iOS it runs it on the frame's pixel buffer with Metal.

iOS: why one pod

Looma Beauty Camera for iOS is a Swift package, and CocoaPods cannot depend on a Swift package. So this package's own pod (applooma-beauty-react-native) compiles the beauty camera's Swift sources, which ship in the npm tarball under ios/LoomaBeautyCamera/. Nothing extra goes in your Podfile, and the pod is found by autolinking like any other.

License

Free to use under the Looma Beauty Camera Free License; see LICENSE. © AppLooma LLC.