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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@zesty-io/explorer

v1.2.12

Published

<img src="https://brand.zesty.io/zesty-io-logo.svg" alt="zesty logo" width="200">

Downloads

45

Readme

Zesty.io Explorer

Website/App Overlay Guide for Editing Zesty.io Content

Overview

Is that the explorer will be a website overlay tool that will guide the user around the data that loads on the page relative to the zesty content management system. The tool will have tabs for searchable on page data, full site navigation, inline editing, website and page health, metadata explorer, image optimization scanning, broken link scanning.

How to Implement

The tool should be built in compiled JavaScript and execute in plain JavaScript so it can run over any installation of zesty, whether it's parsley templating, next js, nuxt, or any custom build.

Distribution

It should be distributed over npm package manager and yarn, it should also be able to be manually installed from a CDN link.

Using NPM

npm install @zesty-io/explorer

Using CDN

  • copy the script tag below and paste it in the head of your main.html file
     <script
      type="text/javascript"
      src="https://cdn.jsdelivr.net/gh/zesty-io/explorer@latest/dist/explorer.production.js"
      defer="defer"
    ></script>

Or

     <script
      type="text/javascript"
      src="https://cdn.jsdelivr.net/gh/zesty-io/[email protected]/dist/explorer.production.js"
      defer="defer"
    ></script>

Importing

import { ZestyExplorer } from   '@zesty-io/explorer';

Explorer Sections

  • Page Data Explorer
  • Full Site Navigation and Explorer
  • Inline Editing (phases)
  • Website and Page Health
  • Metadata
  • Link Scanning
  • Optimization Scanning

Publishing to NPM

Developer must have access to zestyionpm account

npm publish --access public

Deploying the cdn

  • git checkout cdn
  • run yarn release or npm run release

In the prompts

  • press 'n' to not publish to npm then the rest press 'y'

It will open new window

  • press ok
  • then update the readme version of cdn to current version

This is your current updated script tag / cdnjs

     <script
      type="text/javascript"
      src="https://cdn.jsdelivr.net/gh/zesty-io/explorer@${RELEASE_VERSION_CDN_BRANCH}/dist/explorer.production.js"
      defer="defer"
    ></script>

Testing using NPM

  • On origin/main
git checkout -b explorer-dev-test
  • Edit package.json change the name to @username/explorer-dev-test
  • Edit package.json increment the version number per publish
  • Npm publish --access public
  • In your react/next/app
import { ZestyExplorer } from   '@username/explorer-dev-test';

Testing Locally using NextJs/CRA

  • Clone the Zesty Explorer and NextJs App on the same folder

  • cd in the Nextjs app folder

  • Create .env file with a value NEXT_PUBLIC_DOMAIN_OVERRIDE=https://www.zesty.io

  • run npm install

  • cd in the Zesty Explorer folder

  • run yarn install

  • run npm link ../${YOUR_NEXTJS_APP_FOLDER}/node_modules/react/

  • run yarn build

  • run yarn start

  • cd in the Nextjs app folder

  • run npm i ../${YOUR_EXPLORER_FOLDER}

You can now import the ZestyExplorer in your next js app 🎉🎉🎉

import { ZestyExplorer } from '@zesty-io/explorer';
  • run npm run dev