Listing random packages updated today

| geek

I was looking for a way to randomly learn about packages hosted at so that I can come across libraries I might not have thought of searching for. The registry data is available at, and there's a public CouchDB mirror at . Someday, when I know more about CouchDB, I might be able to query it and do other things.

In the meantime, this Github issue pointed me to a view of all packages modified today, which is a good-enough proxy for what I'm interested in.

Here's an AngularJS app that displays the list and highlights a random item.


<html ng-app="myApp">
    <script type="text/javascript"
     // from
     var app = angular.module('myApp', []);
     app.controller('npmTodayCtrl', function($scope, $http) {
       $scope.randomize = function() {
         $scope.random = $scope.packages[Math.floor(Math.random() * $scope.packages.length)];
       $http.get('').then(function(info) {
         $scope.packages =;
  <body ng-controller="npmTodayCtrl">
    <div><a href="" ng-click="randomize()">Random highlight:</a></div>
    <div ng-if="random" style="margin-top: 1em; font-size: x-large">
      <strong><a ng-href="\{\{\}\}">\{\{\}\}</a></strong>
      <tr ng-repeat="package in packages">
        <td><a ng-href="\{\{\}\}">\{\{\}\}</a></td>
You can comment with Disqus or you can e-mail me at