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

docloop

v1.0.6

Published

Service to convert annotations on one platform into issue on another.

Downloads

65

Readme

docloop

docloop turns feedback into tasks, converting online annotations of a document into issues in the author's bug tracking system.

For each platform you want to use with it you will need a separate adapter. The core module does not come with any real adapters, but here's two of them to install additionally:

With these two adapters in charge, docloop converts comments and replies of Paperhive documents into Github issues.

Check the example app at https://app.docloop.net

The core module and the two adapters are documented here: docloopDocs

Requirements

docloop is built using node and published using npm. To install it you need Node.JS. To actually run it you will also need a MongoDB to connect to.

Quick start

First of all get the core module:

npm install docloop

Setup up a MongoDB and use its credentials in the following minimal example:

var docloop         = require("docloop"),
    DocloopCore     = docloop.DocloopCore,
    DocloopAdapter  = docloop.DocloopAdapter,
    DocloopEndpoint = docloop.DocloopEndpoint

var docloopCore     = new DocloopCore({
                        port:     7777,
                        sessionSecret:  'abc',
                        db:{
                          name:     "your_db_name",
                          port:     27010,          //or wherever your db is running
                          user:     "your_db_user", //if authentication is required
                          pass:     "your_db_pass", //if authentication is required
                          address:  "127.0.0.1"     //or wherever your db is running
                        }
                      })

docloopCore
.use(DocloopAdapter,{
  id:       'custom-source-adapter',
  type:     'source',
  endpointClass:  DocloopEndpoint,
})
.use(DocloopAdapter,{
  id:       'custom-target-adapter',
  type:     'target',
  endpointClass:  DocloopEndpoint,
})
.run()

With this docloop is running on localhost:7777. Communication works via http requests.

To actually see something you should get the client: docloopClient

Clone the repository and serve the SRC-directory (will improve on that in the future). Set the backendUrl in app.js or config.js to localhost:7777 and the app should work with the exmaple code above.

Alas, the example code doesn't do much. The DocloopAdapter is only a generic base class for custom adapters. It doesn't really do anything on its own. In Order to have the example do something useful you might want to install the above mentioned adpaters or write your own adapter class.

Using the paperhive-adapter is straight forward. The github-adapter however requires you to setup a GithubApp beforehand.

The example app uses the code from docloopBackend.

Check the documenation for configuration options of the two adapters. There's also a tutorial for a more complex example with custom adapters.