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

mini-tokyo-3d

v3.4.0

Published

A real-time 3D digital map of Tokyo's public transport system

Downloads

11

Readme

Mini Tokyo 3D

A real-time 3D digital map of Tokyo's public transport system.

Screenshot

Screenshot

Screenshot

See a Live Demo.

Demo Videos

User Guides

Developer Guides

Cheat Sheet

Operation | Description --- | --- Mouse or finger drag | Pan Mouse wheel rotation | Zoom in/out Right click or Ctrl key + mouse drag | Tilt up/down and rotate Shift key + mouse drag | Box zoom Pinch in/out | Zoom in/out Two-finger drag | Tilt up/down and rotate Double-click or triple-tap | Zoom in Shift key + Double-click or two-finger tap | Zoom out Click or tap the search button | Show/hide the route search panel Click or tap +/- buttons | Zoom in/out Click or tap the compass button | Reset bearing to north Click or tap the compass button + mouse or finder drag | Rotate Click or tap the fullscreen button | Toggle the fullscreen mode Click or tap the eye button | Toggle the underground mode Click or tap the playback button | Toggle the playback mode Click or tap the battery button | Toggle the eco mode Click or tap the layer button | Show/hide the layer display settings panel Click or tap the camera button | Show/hide the tracking mode settings panel Click or tap the info button | Show/hide the app info panel Click or tap a train/aircraft/station | Enable tracking or select station Click or tap the map | Disable tracking or deselect station Hover a train/aircraft/station | Show the train/aircraft/station information

Language Support

Currently, the following languages are supported. Any help or contribution with translations and additional language support is always greatly appreciated.

Language | User Interface | Map Labels | Stations, Railways, Airlines, etc. | User Guide --- | --- | --- | --- | --- English | Yes | Yes | Yes | Yes Japanese | Yes | Yes | Yes | Yes Chinese (Simplified) | Yes | Yes | Yes | - Chinese (Traditional) | Yes | Yes | Yes | - Korean | Yes | Yes | Yes | - Thai | Yes | - | - | - Nepali | Yes | - | - | - Portuguese (Brazil) | Yes | - | - | - French | Yes | - | - | -

If you want to contribute, please start with translating the UI messages in the dictionary-<ISO 639-1 code>.json file in the data directory. Then, if you have extra energy, add the title of each item in your language to airports.json, flight-statuses.json, operators.json, poi.json, rail-directions.json, railways.json, stations.json, train-types.json in the data directory.

About Data

The data for this visualization are sourced from the Public Transportation Open Data Center, which includes station information and train timetables as well as real-time data such as train location information and status information of multiple railway lines in the Greater Tokyo area.

How to Build

First, get access tokens for the public transportation data and map tiles by signing up at Public Transportation Open Data Center and Mapbox. Then, create a file named secrets which has access tokens in the following format in the root directory of the application.

{
    "odpt": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}

The latest version of Node.js is required. Move to the root directory of the application, run the following commands, then the script, dataset and static web page will be generated in the build directory.

npm install
npm run build-all

Finally, replace the accessToken property, which is passed to a Map constructor, with your Mapbox access token in index.html.

See the Developer Guides for more details.

License

Mini Tokyo 3D is available under the MIT license.

Supporting Mini Tokyo 3D

Your support, large or small, helps keep this project strong!