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

@code_monk/dotfiles

v2.0.6

Published

a dotfile manager

Downloads

3

Readme

dotfiles

dotfiles is a dotfiles manager. It allows you to organize, modify, and selectively load your dotfiles for maximum developer happiness.

Overview

This is a humble app with a small scope. It's just a place to put your dotfiles, and some convenience functions to help make managing them easy.

Everything related to dotfiles lives in ~/.dotfiles. The dotfiles themselves all live in available/ sub-folder, and those you wish to load will be represented as symlinks in enabled/. ~/.dotfiles/bootstrap is your entrypoint, and is sourced from .bashrc. Dotfiles has not been tested on shells other than bash.

I have a bunch of dotfiles already in the available/ folder. They are left as simple suggestions and are not garaunteed to run on your machine. You should not blindly enable dotfiles you haven't personally reviewed. You may wish to delete them all and start fresh.

Dotfiles is a git repository. It is meant to be forked and made private and personal, because everyone's dotfiles are different. Future versions of this app may offer a better upgrade experience, the ability to share dotfiles with others, the ability to see your changes without reloading the shell, and sub-commands to make version control easier. Suggestions, bug-reports, and PRs are welcomed.

Getting Started

Install dotfiles

$ npm install --global @code_monk/dotfiles

Verify installation

$ dotfiles ls # or
$ dotfiles help # or
$ dotfiles enable prompt # enable a fancy prompt
$ bash # reload shell to see the effect

Commands

dotfiles ls

List all files managed by dotfiles.

$ dotfiles ls # roughly the same as:
$ tree ~/.dotfiles/enabled ~/.dotfiles/available

dotfiles enable {dotfile}

Enable a dotfile. It creates a symlink in enable/ to it's corresponding sibling in available/. Example:

$ dotfiles enable prompt # same as:
$ ln - ~/.dotfiles/available/prompt ~/.dotfiles/enabled/prompt

dotfiles disable {dotfile}

Does the reverse

dotfiles cat {dotfile}

read the text of a dotfile.

$ dotfiles cat prompt # same as:
$ cat ~/.dotfiles/available/prompt

dotfiles edit {dotfile}

Open the default editor and edit the specified file.

$ dotfiles edit prompt # roughly the same as:
$ vim ~/.dotfiles/available/prompt