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 🙏

© 2025 – Pkg Stats / Ryan Hefner

kamihikoki

v1.0.1

Published

Minimum file uploader webapp & server CLI

Readme

kamihikoki

A minimum file uploader webapp and server CLI for temporary file sharing.

Features

  • Pure Node.js (no external dependencies)
  • File upload, access log, change upload directory, admin web UI
  • CORS: only admin UI is allowed from localhost
  • Maximum upload size can be set from admin UI
  • All logs and messages are in English

Usage

Start

npx kamihikoki
# or
node server.js [upload-directory]

When started, you will see:

Server running: http://localhost:3000
Upload dir: /current-dir/file-server/uploads
Admin: http://localhost:3000/admin

Access

API

  • POST /api/upload : File upload (multipart/form-data)
  • GET /api/accesslog : Get access log (for admin UI)
  • POST /api/setdir : Change upload directory (admin UI, JSON {dir: "..."})
  • POST /api/setmaxsize : Change max upload size (admin UI, JSON {maxSize: <MB>})

Notes

  • Access log is in-memory only (reset on server restart)
  • Upload history is stored in sessionStorage on upload UI
  • Intended to be used with ngrok for temporary external access
  • Designed for cases where you want to receive files directly from guest PCs without authentication (temporary server)

How to use with ngrok

  1. Start the server:
    npx kamihikoki
  2. In another terminal, run ngrok:
    ngrok http 3000
  3. Share the ngrok URL (e.g. https://xxxx.ngrok.io/upload.html) with uploaders.
  4. Uploaders can access the upload page directly from WAN, no authentication required.

Note: Admin UI and server settings are only accessible from localhost for security.