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

@choochmeque/tauri-apple-extensions

v0.2.3

Published

Add iOS and macOS extensions to Tauri apps with a single command

Readme

tauri-apple-extensions

npm codecov License

Add iOS and macOS extensions to Tauri apps with a single command.

Features

  • Automatic Xcode project configuration via XcodeGen
  • Built-in skeleton templates with TODO markers
  • Plugin-based template system for custom implementations
  • Supports both iOS and macOS platforms
  • Idempotent - safe to re-run

Prerequisites

Installation

# npm
npm install -D @choochmeque/tauri-apple-extensions

# pnpm
pnpm add -D @choochmeque/tauri-apple-extensions

# yarn
yarn add -D @choochmeque/tauri-apple-extensions

# bun
bun add -D @choochmeque/tauri-apple-extensions

Usage

# Add iOS Share Extension
npx @choochmeque/tauri-apple-extensions ios add share

# Add macOS Share Extension
npx @choochmeque/tauri-apple-extensions macos add share

This creates a Share Extension with a minimal skeleton template. Open the generated Swift file and implement your logic where you see // TODO: comments.

Options

# Use templates from a plugin (plugin must include tauri-apple-extension config)
npx @choochmeque/tauri-apple-extensions ios add share --plugin <plugin-name>

# Use custom templates directory
npx @choochmeque/tauri-apple-extensions ios add share --templates ./path/to/templates

Note: When using --plugin, the plugin's package.json must contain a tauri-apple-extension config. See For Plugin Developers below.

Supported Extensions

| Type | Description | |------|-------------| | share | Share Extension for receiving shared content |

Post-Setup Steps

After running the tool:

  1. Open the Xcode project:
    • iOS: src-tauri/gen/apple/*.xcodeproj
    • macOS: src-tauri/gen/apple-macos/*.xcodeproj
  2. Select your Apple Developer Team for both targets
  3. Enable App Groups capability for both targets
  4. Configure App Groups in Apple Developer Portal

For Plugin Developers

To make your plugin compatible, add to your package.json:

{
  "tauri-apple-extension": {
    "type": "share",
    "templates": {
      "ios": "./templates/ios",
      "macos": "./templates/macos"
    }
  }
}

Plugins can support one or both platforms. If a user runs the command for a platform your plugin doesn't support, they'll receive a clear error message.

Template Variables

| Variable | Description | |----------|-------------| | {{APP_GROUP_IDENTIFIER}} | App Group ID (e.g., group.com.example.app) | | {{APP_URL_SCHEME}} | URL scheme for deep linking | | {{VERSION}} | App version from tauri.conf.json | | {{BUNDLE_IDENTIFIER}} | Extension bundle identifier | | {{PRODUCT_NAME}} | App product name |

Contributing

PRs welcome! Please open an issue first to discuss what you would like to change.

License

MIT