typeahead search for npm packages.
A lightweight web-app that implements typeahead search functionality for npm packages.
Try it out here: http://npm-typeahead.herokuapp.com
npm-typeahead was put together as part of an article for CODE Magazine. It's an attempt to demonstrate Node.js best practices, and covers:
npm-typeahead exposes client-side bindings, so that it can be used in other sites, e.g., npm-www.
npm install npm-typeahead --saveto add the npm-typeahead dependency.
require'npm-typeahead'npmUrl: ''// URL to re-direct the user to.searchUrl: '' // URL for search npm-typeahead REST server.$: $ // jQuery dependency.;