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

huygens-faceted-search

v2.0.10

Published

Faceted search library from Huygens ING.

Downloads

4

Readme

Faceted Search

Backbone based library

Changelog

v2.0.10

  • [perf] Move range logic from view to model.

v2.0.9

  • [bug] sortResultsBy still worked using sort instead of sortParameters.

v2.0.8

  • Don't remove active class from filter when toggling sorting.
  • Add authorizationHeaderToken to config.
  • If only one text layer is present don't show it as an option in the full text.
  • Change reset logic in list facet, would not update correct.

v2.0.7

  • Range facet labels (years) are now editable.
  • Main and facets templates are now seperate templates (used to be one)

v2.0.6

  • Trigger "request:failed" event when a request made from the FS fails

v2.0.5

  • ListFacet reset would not reset the sorting strategy.
  • ListFacet sorting is now split in two: count > 0 and count == 0. Count > 0 has precedence over count == 0.

v2.0.4

  • Facets would not update if no results where returned by the server.

v2.0.3

  • Remove switch type bug.
  • Remove to prevent auto form submit.
  • Clean up mark up.

v2.0.2

  • ListFacet would not reset properly.

v2.0.1

  • Fix range resize bug.
  • Fix passing wrong arguments to queryOptions.
  • Add a standalone FS instance to be used for debugging and acceptance tests.
  • Move facets models to facet/ dir.

v2.0.0

  • BREAKING: package is now available as a standalone browserify build through the /dist dir. Javascript is now split in two: one file for libs (libs.js) and one for the faceted search (src.js). There is also a main.js which is libs.js and src.js concatenated.
  • BREAKING: rename config.facetNameMap to config.facetTitleMap.
  • BREAKING: faceted search will not start searching automatically after initialization. Call manually using fs.search().
  • Replaced huygens/hilib with gijsjan/funcky-* mini libs. Funcky mini libs are (very) small sets of functions without third party deps.
  • The mainModel is now known as queryOptions.
  • Firing requests is now a responsibility of the searchResults collection, instead of a searchResult model.
  • ... general refactoring and cleaning up of code.