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

@xplortech/apollo-core

v2.5.0

Published

Apollo is a web component framework that uses global CSS (namespaced so that it should only style classes that start with xpl-). Under the hood, it uses Stencil to compile web components for various frameworks and Tailwind CSS for style utilities.

Readme

Apollo Core

Apollo is a web component framework that uses global CSS (namespaced so that it should only style classes that start with xpl-). Under the hood, it uses Stencil to compile web components for various frameworks and Tailwind CSS for style utilities.

Installation

Apollo Core is published as a public package on NPM.

Install:

npm install @xplortech/apollo-core@latest

Getting Started

Whether you use static HTML or a server-rendered framework (in Python, PHP, etc.), you can use Apollo Web Components in your markup. In the <head> of your document, include both the CSS and JS:

<!--
NOTE: Both of the paths below assume that you serve your `node_modules` dir
along with your root directory. This is probably not the case for your app!
After you've downloaded Apollo, you can choose to serve these files from your
app's static directory.
-->

<link
  rel="stylesheet"
  href="./node_modules/@xplortech/apollo-core/build/style.css"
/>
<script type="module">
  import "./node_modules/@xplortech/apollo-core/dist/esm/apollo-core.js";
</script>

After including the CSS and JS, you can now begin using Apollo components in your app! Apollo supports rendering components by either using Web Components (custom elements) or vanilla HTML/CSS. If you opt for HTML/CSS, you will not have access to all the interactivity built into complex components, but you will have more fine-grained control over the rendering of components.

The pages for each component on the left include interactive embedded components which show the markup for both the Web Components and HTML/CSS versions. For example, for a basic button, you could use either the following Web Component or HTML/CSS display:

<xpl-button>Button Text</xpl-button>

<button class="xpl-button">Button Text</xpl-button>

To pass more complex data to a component, such as objects and arrays, you'll need to use javascript. For example, if you are rendering a xpl-table component, you need to add the data separate from the component markup:

<xpl-table></xpl-table>
<script>
  document.querySelector('xpl-table').data = [
    [
      "Row 1 Item 1",
      "Row 1 Item 2"
    ],
    [
      "Row 2 Item 1",
      "Row 2 Item 2"
    ]
  ];
</script>

Development Environment

Apollo includes a config file that extends VS Code's language support and intellisense functionality. To enable this support in your code, add the following to your local .vscode/settings.json file:

{
    ...,
    "html.customData": [
        "./node_modules/@xplortech/apollo-core/.typings/apollo-components.html-data.json"
    ]
}