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

@graphapps/apoc

v0.1.9

Published

This repository takes the HTML files generated as part of the [APOC Manual](https://neo4j.com/docs/labs/apoc/current/) generation process and makes it available offline as a [Graph App](https://www.neo4j.com/developer/graph-app-development). The Graph Ap

Downloads

47

Readme

APOC Documentation App

This repository takes the HTML files generated as part of the APOC Manual generation process and makes it available offline as a Graph App. The Graph App also provides additional functionaliy

Installation

To install this repository as a Graph App, you can click here or paste the following link into the Install form at the bottom of the Graph Apps pane in Neo4j Desktop.

neo4j-desktop://graphapps/install?url=https://registry.npmjs.org/@graphapps/apoc

The manual can be viewed in it's original form at https://neo4j.com/docs/labs/apoc/current/

How I Built It

This is a Vue.js project created using @vue/cli. The app uses the fetch API to load in the generated TOC from the Manual and displays it in a menu on the left hand side. When any of the links are clicked, a component uses fetch to load the file into a "virtual" DOM.

Then any link click events are highjacked so the events are passed through to the vue router.

The code highlighting is then applied to any <code> blocks, and a <div> is prepended to each code block with a set of actions for that code block.

If a code block contains cypher, a button is added which redirects the user to a Deep Link for Neo4j Desktop which instructs it to open Neo4j Browser with the query pre-populated.

neo4j-desktop://graphapps/neo4j-browser?arg=edit&cmd={cypher}

eg:

neo4j-desktop://graphapps/neo4j-browser?arg=edit&cmd=MATCH (n) RETURN count(n)

Tech Stack

  • Vue.js & Vue Router
  • Tailwind & PostCSS for a utility-based styling approach
  • Deep links to Neo4j Browser via Neo4j Desktop
  • HighlightJS for syntax highlighting
  • Elasticlunr for Full Text search
  • Cypress for testing