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

@qoxcorp/jumper-js

v0.0.5

Published

Jumper.JS is a quick navigation tool for medium to large web applications or sites.

Readme

jumper.js

Jumper is a quick navigating tool that shows up in front of the web application binding it with a key combination.

Demo and more: http://qoxcorp.github.io/jumper.js/

Note about upgrading from 0.0.4 to 0.0.5

For security reasons, the eval function used to bind the keys is removed, now the bindFnKeys option is a function that returns a boolean and has the JQueryEventObject as unique argument. To make combinations you should use the || or && boolean operators as the return statement of the functions.

See below for examples of this.

Note about upgrading from 0.0.3 to 0.0.4

The library was migrated to TypeScript, also the data array has some changes, being the most important the data[].action object that now defines the action of the element, you can choose to simply load a new page or run a javascript method, also you can set a handler that receives the item information on selection.

Building from source

You must install nodejs, gulp and typescript first.

npm install -g gulp typescript # or yarn add --global gulp typescript

Then:

git clone https://github.com/QOXCorp/jumper.js.git
cd jumper.js
npm install # or yarn
gulp

Installation

This version requires the following javascript libraries:

  • jQuery 1.11.2+ (http://jquery.com/download/)
  • Bootstrap 3.3.2+ (http://getbootstrap.com/) (non-bootstrap version in the future)
  • Bootstrap-Dialog (https://github.com/nakupanda/bootstrap3-dialog) (non-bootstrap version in the future)
  • Selectize.js (https://github.com/brianreavis/selectize.js)

Download

Distribution scripts are in the "dist" folder then load as usual in your project.

Using npm

npm install --save @qoxcorp/jumper-js

Typescript Definition

The definition file for Typescript is located at src/js/jumper.d.ts.

Then just add the reference at the top of your typescript source file:

///<reference path="jumper.d.ts"/>

Usage

Initialize Jumper using:

Jumper(options);

Example

Jumper({
  'data': [
      { 
        name: 'Home', 
        help: 'Home of this website.', 
        keywords: 'home,index,site', 
        navcode: 'HOME',
        action: {            
            url: 'http://github.com/'
        }
      }
    ]
});

By default Jumper will bind the CONTROL(COMMAND)+J combination, but you can bind what you like using the options.bindFnKeys and bindLetter option:

Jumper({
  'data': [
      { 
        name: 'Home',         
        help: 'Home of this website.', 
        keywords: 'home,index,site', 
        navcode: 'HOME',
        action: {
          useItemHandler: false,
          url: 'http://github.com/',
          method: (item) => { 
            //do some js stuff 
            console.log(item);
          }
        },
        extra: {
          extra1: 'value',
          extra2: false,
          extra3: {
            objectData: true
          }
        }
      }
    ],
  bindFnKeys: (event) => event.ctrlKey, // or function(event) { return event.ctrlKey }
  bindLetter: 'F'
});

Also you can use remote collections using the Ajax option, the data must in the "response" variable in JSON format. The action.method is not supported via Ajax.

<?php
  # /server.php
  $data = 
  [
    [
      'name' => 'Home',      
      'help' => 'Home of this website.', 
      'keywords' => 'home,index,site', 
      'navcode' => 'HOME',
      'action' => [
        'url' => 'http://github.com'
      ]
    ]
  ];
  print json_encode(['response' => $data]);
?>
Jumper({
  ajax: true,
  ajaxserver: '/server.php',
  bindFnKeys: (event) => event.ctrlKey, // or function(event) { return event.ctrlKey }
  bindLetter: 'F'
});

Jumper can cache the ajax results by setting the cache option to true.

Jumper({
  ajax: true,
  ajaxserver: '/server.php',
  cache: true,
  bindFnKeys: (event) => event.ctrlKey, // or function(event) { return event.ctrlKey }
  bindLetter: 'F'
});

##Language

You can change Jumper texts by setting the TEXT variables before initializing:

// Spanish Language Texts for Jumper.
Jumper.TEXT_DefaultTitle = 'Menú de Salto de QOX Jumper';
Jumper.TEXT_Loading = 'Cargando datos, espere porfavor...'; // For the Ajax Loading view.
Jumper.TEXT_Navigating = 'Navegando, espere porfavor...';
Jumper.TEXT_QuickNav = 'Escriba aquí un término para navegar rápidamente por el sitio web.';
Jumper({
  ajax:true,
  ajaxserver: '/server.php',
  cache: true
});

#License Released under the MIT Licence. (C) Copyright 2016-2017 QOX Corporation. (C) Copyright 2018 LinkFast S.A.