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

micro-app-timezones

v1.0.3

Published

Simple micro-app to keep track of the current time for people you work with

Downloads

4

Readme

micro-app-timezones

Micro app for keeping track of current time for people you work with

sample timezones page

Usage

After installation modify ../lib/config.json to match your configuration

Each entry contains the following

  • person - the name for the person the current time will be displayed for
  • offset - the timezone offset for the person

As an example the configuration file that comes with the install is:

Installation

Simply run npm install micr-app-timezones

Running

To run the timezones app, add node.js to your path (currently requires 4.x or better) and then run:

From the directory in which the micro-app-timezones was installed.

Once the server is started. Point your browser at the host/port for the server. If you have configured your browswer to allow javascript to close the current page the original window will be closed and one with the correct size of the timezones page will be created.

You can also override the default configuration by providing the list of people/offsets as part of the URL as a set of name=value parameters. For example:

http://10.1.1.187:3000?Me=-5&Paul=1&Sue=2

In which case the people you have specified in the URL will be displayed instead of those in the config.json file

Example

The following is the page shown for my configuration:

sample timezones page

Key Depdencies

micro-app-framework

As a micro-app the timezones app depends on the micro-app-framework:

See the documentation on the micro-app-framework for more information on general configurtion options that are availble (ex using tls, authentication, serverPort, etc)

TODO

  • Add handling for daylight savings time
  • nicer page layout
  • improve page size calculation and or precision of the sizes of the entries