cosmiconfig VS unix-history-repo

Compare cosmiconfig vs unix-history-repo and see what are their differences.

cosmiconfig

Find and load configuration from a package.json property, rc file, TypeScript module, and more! (by cosmiconfig)

unix-history-repo

Continuous Unix commit history from 1970 until today (by dspinellis)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
cosmiconfig unix-history-repo
5 51
3,835 6,434
1.3% -
8.3 0.0
2 months ago almost 2 years ago
TypeScript Assembly
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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

Posts with mentions or reviews of cosmiconfig. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-03.
  • topoconfig: enhancing config declarations with graphs
    10 projects | dev.to | 3 Oct 2023
    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?
    1 project | /r/webdev | 27 Feb 2023
    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
    6 projects | dev.to | 8 Jan 2023
    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)
    12 projects | news.ycombinator.com | 11 Aug 2022
    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
    3 projects | dev.to | 25 May 2022
    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.

unix-history-repo

Posts with mentions or reviews of unix-history-repo. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-17.
  • F/OSS Comics: 8. The Origins of Unix and the C Language
    2 projects | news.ycombinator.com | 17 Apr 2024
    There is also https://github.com/dspinellis/unix-history-repo (Continuous Unix commit history from 1970 until today)
  • Kernighan and Pike were right: Do one thing, and do it well
    2 projects | news.ycombinator.com | 19 Aug 2023
    FWIW, ls in Research-V6 back in 1975 had 10 options. https://github.com/dspinellis/unix-history-repo/blob/Researc...

    By BSD 3 in 1980 it had 11 options. https://github.com/dspinellis/unix-history-repo/blob/BSD-3-S...

    The thing is, we can see even from the 1970s 'ls' how the Unix model doesn't meet the goal "to chain these simple programs together to create complex behaviors".

    There is no option to escape or NUL terminate a filename, making it possible to construct a filename containing a newline which makes the output look like two file entries.

    The option for that was added later.

    There's also the issue that embedded terminal codes will be interpreted by the terminal.

  • The original source code of the vi text editor, taken from System V
    4 projects | news.ycombinator.com | 12 Aug 2023
    This is what it looked like about 7-8 years earlier: https://github.com/dspinellis/unix-history-repo/blob/BSD-1/e...
  • Continuous Unix commit history from 1970 until today
    1 project | news.ycombinator.com | 24 May 2023
  • 50 Years in Filesystems: 1974
    1 project | news.ycombinator.com | 11 May 2023
    RA92 (1989): 16 ms / 8.3 ms.

    Note that the RL02 (and V7) and RA92 mentioned in the article are separated by about a decade.

    [1] https://github.com/dspinellis/unix-history-repo/blob/Researc...

  • Unix: An Oral History
    1 project | news.ycombinator.com | 9 May 2023
    The earliest version I could find [1] is already written in C.

    [1] https://github.com/dspinellis/unix-history-repo/blob/Researc...

  • Linux is not as smooth as windows
    3 projects | /r/archlinux | 9 Feb 2023
    Here's a 1997 citation for "top cpu processes." It's not as close to the original 1984 release as I would like, but it's better than Wikipedia. https://github.com/dspinellis/unix-history-repo/commit/aee34003d7964653c44c31f5bf6bcf136b32c4f3
  • GitHub was Founded in 2008 But...
    4 projects | /r/programming | 21 Jan 2023
  • GPT based tool that writes the commit message for you
    4 projects | news.ycombinator.com | 11 Dec 2022
    > The “why” goes into the PR and more importantly, engineering documentation and inline comments

    This just ensures that the “why” is lost when someone comes looking years later.

    From experience, SCM metadata is far more durable than just about any other work product we produce. Five decades later and RCS commit info was still available for the Unix sources, and history could be reconstructed: https://github.com/dspinellis/unix-history-repo

    I’ve used 35-year-old commit messages to help understand a long-standing issue, decades after all other related organization tooling and data had disappeared.

  • What should be included in a history of the Rust language?
    5 projects | /r/rust | 1 Dec 2022
    P.S. I remember I looked into early versions of C (they survived in Unix historic releases) and that, finally, revealed to me why C does something really stupid and conflates arrays and slices (pointers). Initially C had no arrays! Or, rather, what it called arrays were, actually, pointers. “Normal” arrays were added at some point, but because these weird slices/pointers were already there that caused endless confusion. It wasn't resolved before C became popular and after that it was too late. Go repeated that mistake with slices, of course.

What are some alternatives?

When comparing cosmiconfig and unix-history-repo you can also consider the following projects:

main - Node.js mock server running live, interactive mocks in place of real APIs

PySyft - Perform data science on data that remains in someone else's server

Commander.js - node.js command-line interfaces made easy

rss-proxy - RSS-proxy allows you to do create an RSS or ATOM feed of almost any website, just by analyzing just the static HTML structure.

data-store - Easily get, set and persist config data. Fast. Supports dot-notation in keys. No dependencies.

intellij-rainbow-brackets - 🌈Rainbow Brackets for IntelliJ based IDEs/Android Studio/HUAWEI DevEco Studio/Fleet

conf-cli - simple cli for configuration and key/value's + oclif plugin for configuration

m1n1 - A bootloader and experimentation playground for Apple Silicon

config - Helps you find, load, combine, autofill and validate configuration values of any kind

typos - Source code spell checker

misc - Experiment on maintaining a multi-project monorepository

insect - High precision scientific calculator with support for physical units