cosmiconfig
dotfiles
Our great sponsors
cosmiconfig | dotfiles | |
---|---|---|
5 | 16 | |
3,835 | 11 | |
1.3% | - | |
8.3 | 7.3 | |
2 months ago | 25 days ago | |
TypeScript | Shell | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cosmiconfig
-
topoconfig: enhancing config declarations with graphs
Meanwhile, formats have been evolving (JSON5, YAML), config entry points are constantly changing. These fluctuations, fortunately, were covered by tools like the cosmiconfig.
-
Moving all config files to a config folder in React?
I've heard of cosmicconfig, which I think allows you to put most of your config files in a single .config folder. I've never used it though.
-
Create a Node.js command-line library with NRWL NX workspace
There is a fantastic library davidtheclark/cosmiconfig: Find and load configuration from a package.json property, rc file, or CommonJS module that does all the tedious work for you.
-
Rob Pike: “Dotfiles” being hidden is a UNIXv2 mistake (2012)
info on XDG: [the XDG spec](https://standards.freedesktop.org/basedir-spec/basedir-spec-...)
tools that respect XDG, for fellow JS CLI developers:
- https://github.com/davidtheclark/cosmiconfig Find and load configuration from a package.json property, rc file, or CommonJS module. [Check `searchPaths` to implement XDG spec compliance.](https://github.com/davidtheclark/cosmiconfig/issues/152)
- Sindre's libraries use [`env-paths`](https://github.com/sindresorhus/env-paths#pathsconfig) to get paths compliant with this.
- https://github.com/sindresorhus/conf simple config storing (maybe try [conf-cli](https://github.com/natzcam/conf-cli) to manipulate if needed) the successor to [configstore](https://github.com/sindresorhus/conf#how-is-this-different-f...)
- https://github.com/jonschlinkert/data-store conf like datastore but in the shclinkerverse
-
A Node.js configuration provider reading files, environment and arguments
cosmiconfig - Reads configuration from a file. It searches for many file types and file names, and even supports defining config in the package.json file. Very customizable, it's an awesome library very flexible both for the app developer and for the app user.
dotfiles
-
My uses for vimwiki have dried up... and it makes me a little sad
I ended up implementing the 1% of features I use most myself and using a plugins for navigating and managing lists of checkboxes. I've used this setup for a few years now and can't imagine life without it.
-
Hello 👋 First Post here! Any alternatives to VSCode's workspace in Neovim?
I use tmuxp for this with my projects set up like this and I use a script to open the ones I'm currently working on in a single tmux session.
- Help with GNU Stow for version control of dotfiles
-
Neovim and Tmux IDE
Exactly the same as me. I even use fzf to search for and open my tmuxinator projects.
-
Writing down what I do – in Obsidian
I tried vimwiki for a while but I found I used a tiny subset of its functionality and couldn't get it to respect my choice of syntax highlighting for markdown. It set me off in the right direction though.
The fact that it's _just_ a directory full of markdown files allowed me to easily migrate to my own home-grown setup that reimplements the three keybindings I actually used.
https://github.com/peteryates/dotfiles/blob/master/nvim/.con...
-
Could use some advice for managing projects in a way that fits my mental model and codebase. Monolithic codebase with project files spread around different working directories. Or just help me change my mental model.
Everything is configured with tmuxp and I can set the whole thing up with a single command.
- How does one remove the title bar in kitty (sorry if this is the wrong sub for this)
-
How to manage Vims dot files (version >8.2), if there are complete plugins inside .vim?
It's ideal for dotfiles. Here are mine
- Rob Pike: “Dotfiles” being hidden is a UNIXv2 mistake (2012)
-
Ask HN: How do you sync your computers development configurations/environment?
> I can rebuild my configuration(Aside from some fussy embedded toolchains) in half an hour or so. VS code, a few different linters, swissknife, stack tabs, timestamper, indenticator, pylance.... done.
I can clone my dotfiles repo[0], run a single command that installs all my dependencies[1], another that links my config and I'm done. That gives me a fully-configured neovim with all my plugins (thanks vim-plug) within 2 minutes.
[0] https://github.com/peteryates/dotfiles/
[1] https://github.com/peteryates/dotfiles/blob/master/Makefile#...
What are some alternatives?
main - Node.js mock server running live, interactive mocks in place of real APIs
chezmoi - Manage your dotfiles across multiple diverse machines, securely.
Commander.js - node.js command-line interfaces made easy
httm - Interactive, file-level Time Machine-like tool for ZFS/btrfs/nilfs2 (and even actual Time Machine backups!)
data-store - Easily get, set and persist config data. Fast. Supports dot-notation in keys. No dependencies.
fzf-fish-integration - 🔍🐟 Fzf plugin for Fish
conf-cli - simple cli for configuration and key/value's + oclif plugin for configuration
fzf-scripts - a collection of scripts that rely on https://github.com/junegunn/fzf
config - Helps you find, load, combine, autofill and validate configuration values of any kind
skim - Fuzzy Finder in rust!
misc - Experiment on maintaining a multi-project monorepository
yadm - Yet Another Dotfiles Manager