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 🙏

© 2025 – Pkg Stats / Ryan Hefner

spacegt

v0.1.99

Published

spacegt plugins

Readme

Spacegt (Default)

This is the Spacegt tool, designed to provide you with a good start for building new applications. Universal components are built in.

❗️ Important Links

💿 Install

Set up your project using your preferred package manager. Use the corresponding command to install the dependencies:

| Package Manager | Command | |---------------------------------------------------------------|----------------| | npm | npm install spacegt | | pnpm | pnpm install spacegt |

After completing the installation, your environment is ready for Spacegt development.

import spacegt from "spacegt";

app.use(spacegt);

💡 Usage

This section covers how to start the development server and build your project for production.

Starting the Development Server

To start the development server with hot-reload, run the following command. The server will be accessible at http://localhost:3000:

npm dev

(Repeat for npm, pnpm, and bun with respective commands.)

Add NODE_OPTIONS='--no-warnings' to suppress the JSON import warnings that happen as part of the Vuetify import mapping. If you are on Node v21.3.0 or higher, you can change this to NODE_OPTIONS='--disable-warning=5401'. If you don't mind the warning, you can remove this from your package.json dev script.

Building for Production

To build your project for production, use:

npm build

(Repeat for npm, pnpm, and bun with respective commands.)

Once the build process is completed, your application will be ready for deployment in a production environment.

Login component

<template>
 <spacegt-login proxy="http://127.0.0.1:10002" email-proxy="http://127.0.0.1:13004" locale="zhHans"  @login="onLogin" />
</template>

<script lang="ts" setup>
const onLogin = (data: any) => {
  console.log(data)
}
</script>

AIPPT component

<template>
  <spacegt-aippt @export-images="handleExportImages" />
</template>

<script lang="ts" setup>
const handleExportImages = (data: any) => {
  console.log(data)
}
</script>

myaccount component

<template>
  <v-app-bar>
    <spacegt-myaccount :account="{ nickname: '王硕', avatar: 'https://cdn.vuetifyjs.com/images/john.png' }"
      proxy="https://myaccount.spacegt.com" @logout="handleLogout" @login="handleLogin" @settings="handleSettings">
    </spacegt-myaccount>
  </v-app-bar>
</template>

<script lang="ts" setup>
const handleLogout = () => {
  console.log("is logouted")
}

const handleLogin = () => {
  console.log("to login")
}

const handleSettings = () => {
  console.log("to settings")
}
</script>

📑 License

MIT

Copyright (c) 2016-present Spacegt, LLC