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

klab-cli

v2.0.1

Published

The photo processing assistant.

Downloads

11

Readme

K-Lab CLI

GitHub Workflow Status npm

The photo processing assistant.

Installation

First, install the package from NPM:

npm install -g klab-cli@latest

Once that's done, you can run the tool with this command:

klab

Manual

klab process [options]

Organizes photos within the current directory by date. It will create subdirectories for each date your photos were taken and organize the RAW and JPG shots into respective subdirectories.

It supports the following options:

  • -r, --rawfile <type>: specify the RAW file extension. Defaults to ARW.
  • -e, --exclude: exclude folders from iCloud Drive (macOS only) by appending .nosync to top-level folder names.

klab prune [options] [directory]

Deletes RAW files that do not have a matching JPG. Expects photos to be stored in RAW and JPG directories. Defaults to current directory, but can be passed any directory as an argument.

It supports the following option:

  • -r, --rawfile <type>: specify the RAW file extension. Defaults to ARW.

klab report

Opens the New Issue page of this repository in the default browser.

Usage

K-Lab is a tool built around how I process photos. In-camera, I'll choose to shoot RAW+JPG. Before I can post-process, I'll offload all the images into a single directory, like this:

.
├── KJH02989.ARW
├── KJH02989.JPG
├── KJH02990.ARW
└── KJH02990.JPG

I can then use klab process to organize my images by date and filetype, like so:

.
├── 2020-05-21
│   ├── JPG
│   │   ├── KJH02989.JPG
│   │   └── KJH02994.JPG
│   └── RAW
│       ├── KJH02989.ARW
│       └── KJH02994.ARW
└── 2020-05-22
    ├── JPG
    │   ├── KJH03128.JPG
    │   └── KJH03136.JPG
    └── RAW
        ├── KJH03128.ARW
        └── KJH03136.ARW

Now, I can quickly flip through all of my JPGs from each day of shooting to decide which ones I want to keep – I'll delete the JPGs that I don't want. Then, I use klab prune ./2020-05-21 to automatically delete RAW files that don't have a matching JPG for that day. This leaves me with only the RAW files that I want to edit.

Etymology

"K-Lab" comes from the Kodak program (and processing machines) of the same name. The K-Lab program was created by Kodak in the late 90's to make processing Kodachrome film more accessible.