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

@recogito/plugin-sandcastle-export

v0.1.1

Published

A custom annotation export for the Sandcastle3D project

Readme

Sandcastle3D Annotation Export Plugin

A custom Recogito Studio annotation export for the Sandcastle project.

Installation

  1. Change into your Recogito Client folder. To install the plugin package, run:
npm install @recogito/plugin-sandcastle-export
  1. Edit your astro.config.mjs:
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
import netlify from '@astrojs/netlify';

+ import Sandcastle3D from '@recogito/plugin-sandcastle3d-export';

export default defineConfig({
  integrations: [
    react(),
+   Sandcastle3D()
  ],
  output: 'server',
  adapter: netlify(),
  vite: {
    ssr: {
      noExternal: ['clsx', '@phosphor-icons/*', '@radix-ui/*']
    },
    optimizeDeps: {
      esbuildOptions: {
        target: 'esnext'
      }
    }
  }
});
  1. Restart the Recogito Client.

Development

  • Run npm install in the root folder and in the .dev folder.
  • Run npm run build to build the plugin.
  • Run npm run dev to start the test application.
  • Go to http://localhost:4321/

Configuring for Supabase Backend Access

This plugin retrieves data from the database. Therefore, you need to configure the test app for Supabase access.

  1. Create a copy of the file .dev/.env.example named .dev/.env.
  2. Edit the .dev/.env file to configure your Supabase project URL and public API key.
  3. Restart the test app with npm run dev.

The test application will list only the UI extensions provided by a plugin. In this plugin, that's simply a <a> link to the export route, meant to go into Recogito's export menu later. Because of the limitations of the test app, the "current project" will be undefined, and the link will point to:

http://localhost:4321/api/undefined/export/sandcastle

To test the export route, you need to manually replace undefined with the ID of a project you have access to. E.g.:

http://localhost:4321/api/1cb15deb-e9c9-44e8-acbf-e30423d58e9e/export/sandcastle