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

expo-quicklook-preview

v0.1.2

Published

Displays PDF, Images in native iOS Quicklook

Readme

Expo QuickLook Preview

A native module for Expo that enables document preview using iOS’s QLPreviewController.

Main Features:

  • Preview PDF, DOCX, images, and more
  • Native iOS QuickLook UI
  • Supports local and remote URLs
  • Full zoom and scroll gestures

This module is built using Expo Module API. It requires that you build a custom development build of your Expo app as it does not include your native module.

Getting Started

Add the package to your project:

<package-manager> add expo-quicklook-preview
# Tip: In npm v7+, `add` works just like `install`.
# Simply replace <package-manager> with your project's tool (npm, yarn, pnpm, bun)

Build your app for development:

npx expo run:ios

Use in your project

import { preview } from "expo-quicklook-preview";

const previewImage = async () => {
    const fileURL = "https://pierrejanineh.com/galleryImages/Food-IMG_1515-4-1920w.jpg";
  
    try {
      await preview({
        url: fileURL,
        fileName: 'Faux Wine.jpg' // Optionally, pass a file name with an extension
      });
      // Handle user state, analytics, etc...
      
    } catch (e) {
      // Handle errors as needed (possible errors listed below).
    }
}

Error handling

| Cases | Formatted message | |-------------|----------------------------------------------------------------------------------| | Invalid URL | Invalid URL provided. Please ensure the URL is properly formatted and accessible. | | Not A File | The provided URL does not point to a valid file. |

Created by

| Pierre Janineh– | Ophir Bucai– | |--------------------------------------------------------------|-----------------------------------------------------|

License

Expo QuickLook Preview is MIT licensed.