dotfiles
chalk
dotfiles | chalk | |
---|---|---|
4 | 57 | |
1 | 21,430 | |
- | 0.4% | |
8.3 | 6.4 | |
almost 2 years ago | 4 months ago | |
Shell | JavaScript | |
Creative Commons Zero v1.0 Universal | 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.
dotfiles
-
high input latency (>200ms) on each keypress when editing markdown with treesitter in neovim
I've enabled filetype.lua using g.do_filetype_lua = 1 and disabled filetype.vim using g.did_load_filetypes = 0. I'm using the markdown treesitter parser. Here's the --startuptime log file when a markdown file is opened. Here's my ~/.config/nvim.
-
What's the current most effective way of setting env variables in Sway?
You can use my dotfiles for reference if you want.
-
Can Swaybg cycle wallpapers?
Here's my simple systemd timer to rotate wallpapers in case you're using a distro with systemd.
-
No_color
> Why is this so annoying? It's a very common workflow that allows you to customize how an application behaves and simplify how you run it.
I don't know about others but I'm not a fan of monstrosity like this
https://github.com/ayushnix/dotfiles/commit/2eb66eff8a03a5bf...
If I stuff it into a wrapper script, I'm essentially trying to emulate config files, which is what should've been used in the first place. This is why I prefer using config files rather than creating uglier and harder to maintain wrapper scripts.
> I'm a big fan of following the 12factor[1] approach.
I guess if you don't want state associated with your deployments, environment variables are better but I would still argue that they aren't manageable when their values become large as shown above or if their numbers start approaching double digits because when that happens, you're essentially emulating config files anyways.
chalk
-
JavaScript Libraries That You Should Know
4. Chalk
-
Extracting YouTube video data with OpenAI and LangChain
Chalk: Provides an easy way to stylize terminal strings with various colors and text formatting in Node.js, aiding in creating visually appealing command-line outputs
-
Mastering Node.js CLI: Best Practices and Tips
Chalk is a popular choice for adding colors to CLI output while maintaining readability.
-
Despidiéndome de Console.log
LibrerĂas: Chalk winston, log4js
-
Comparison of Node.js libraries to colorize text in terminal
Today the most popular library and de facto standard is the chĐ°lk. The chalk has rich functionality, is fast but not ideal. It lacks some useful features.
-
Command Line Application: Bank Loan Tracker [Node]
This is a new tutorial on how to create a command line interface application, and our application today is a Mortgage Calculator. I used in this program packages such as 1- inquirer for interactive questions and answers: https://www.npmjs.com/package/inquirer 2- Sqlite3 DBMS 3- Chalk for colorful output in the terminal: https://www.npmjs.com/package/chalk
-
ESM not gaining traction in back-end Node?
One of the libraries I used most that went full-ESM is Chalk. They released v5 over a year-and-a-half ago (November 2021) with ESM-only support and haven't updated v4 - their last iteration that supported CommonJS - since. If you go into their GitHub Issues section, you'll see a number of issues raised about CommonJS support, most of which are just responded to with a link to a post they made about switching over. Fair enough. I guess if I had to constantly answer the same question over and over, I might do the same.
-
Let’s create a Node CLI for generating files from templates!
To colorize my logs, I used a chalk package and created a logger utility:
-
Create a CLI tool to help bootstraping Flutter project using Node.JS - Part 1
We will add some dependencies to help us deal with CLI behaviours (inquirer) and text coloring (chalk).
- Going beyond the old and boring console.log()
What are some alternatives?
wpaperd - Modern wallpaper daemon for Wayland
Inquirer.js - A collection of common interactive command line user interfaces.
sway-systemd - Systemd integration for Sway session
shelljs - :shell: Portable Unix shell commands for Node.js
no-ansi - A single-function CLI tool to strip escape codes from input
Figlet - JavaScript parser for FIGlet fonts
dotfiles - My dotfiles managed with chezmoi
ora - Elegant terminal spinner
emacs-theme-gruvbox - Gruvbox is a retro groove color scheme for Emacs. Port of the Vim version.
Commander.js - node.js command-line interfaces made easy
colorized-logs - tools for logs with ANSI color
node-config - Node.js Application Configuration