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

markfound

v0.2.2

Published

Recursively index directories of markdown files for live preview

Downloads

33

Readme

markfound

Build Status

Recursively index directories of markdown files for live preview:

  • specify one or more base-paths to search
  • configure Linux find patterns for include/exclude
  • styled for GitHub with option to append your own custom css
  • live refresh automatically updates the preview as you edit your markdown, even over nfs, cifs or vboxsf

install globally and run

$ npm install -g markfound            # might need to prefix with sudo

$ cd directory/containing/markdown/files
$ markfound

then navigate to http://localhost:4500 to see the index of markdown files:

index screenshot

Follow a link for a preview which automatically updates as you edit the markdown:

index screenshot

configure

On its first run markfound copies the default configuration file to $XDG_CONFIG_HOME/markfound.conf which defaults to $HOME/.config/markfound.conf. This is a leanconf file with the following settings:

  • basePaths: - (required) one or more directory paths to recursively search for markdown files. Place each path on its own line indented to the same level. Specify absolute paths to let markfound be run from anywhere. Default is the current directory only.

  • names - (required) a list of one or more wildcard patterns of form *.ext where ext is the extension to include. Place each pattern on its own line indented to the same level.

  • excludes - (optional) a list of exclusion patterns passed to the [Linux find] find -path option. Place each path on its own line indented to the same level.

  • stylusPath: - (optional) path to a stylus file containing custom styling. For example, to increase the spacing between index list items and add borders around code elements, create a file markfound.styl alongside markfound.conf with this content:

    .index
      li
        margin 1em
    
    .markdown-body
      code
        border solid grey 1px

    and add setting stylusPath: ./markfound.styl to markfound.conf.

options

$ markfound --help
Usage: markfound [Options]

Options:

  -h, --help                output usage information
  -V, --version             output the version number
  -c, --config-path [path]  path to configuration file (default:~/.config/markfound.conf)
  -p, --port [port]         listening port (default:4500)
  -v, --verbose             emit detailed trace for debugging

developer build and run

$ git clone --branch=dev https://github.com/dizzib/markfound.git
$ cd markfound
$ npm install     # install dependencies
$ npm test        # build all and run tests
$ npm start       # start the task runner

license

MIT