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

alacritty-auto-config

v1.3.4

Published

Auto Configuration Library for Alacritty Terminal Emulator

Downloads

17

Readme

Alacritty Auto Config

Apache

Check out the npm package in the npm repository here.

Download the stable release executables from SourceForge.net..

This is a small npm library, which helps you configure Alacritty with ease. It provides both the CLI options and the npm package, which can be used to extend its functionality in any project you create.

Usage Options

Executable's Demo

NPM Package Installation & Execution

Install the npm package

For windows users, please run the package to see if the configurations actually work or not. I am unable to test it out on windows platform.

Install the package globally:

npm install -g alacritty-auto-config

Note: Run the above command with sudo if you are on mac or linux

Install the package locally:

npm install alacritty-auto-config

Run the npm package binary in the CLI

Before running anything, make sure your alacritty.yml file (if it exists) is backed up, as it may overwrite some configurations in the alacritty.yml file as per your inputs in the CLI/API.

For global install:

alacritty-auto-config [options]=[values]

Or,

aac [options]=[values]

For local install of that npm package, just run the above commands on terminal prefixed with npm like mentioned below.

Ex-

npx alacritty-auto-config [options]=[values]
  • Show Help:
aac -h

Or,

aac --help
  • Options:
-s, --fontsize: Takes font size to be set in alacritty (default=10)
-b, --bgcolor: Takes primary background color in '#xxxxxx' or '#xxx' or '0xfff' or '0xffffff' format (default='#333333')
-c, --fgcolor: Takes primary foreground color in '#xxxxxx' or '#xxx' or '0xfff' or '0xffffff' format (default='#ffffff')
-t, --selcolor: Takes text color (when the area is selected) in '#ffffff' or '#fff' or '0xfff' or '0xffffff' format (default='#111122')
-y, --cursor: Takes cursor style that can be Block or Underline or Beam (default=Block)
-o, --opacity: Takes background opacity which is between 0.0 (transparent) and 1.0 (opaque) (default=1)
-v, --version: Show version number

Project Scripts

Install and Build the project

npm install
npm run build

Generate executables

npm run generate-binary

The generate-binary script will build the dist folder and generate the binary files for each major OS platforms. All the executables will be present in the dist/bin folder.

Run the development watch mode

This watch mode watches continuously for the typescript files

npm run dev

Extra Notes after you build this project yourself

The above options and values are also valid, if you build the project yourself, and run the output file with those options.

Run the below scripts from the project root folder:

node dist/esm/index.mjs [options]=[values]

Or,

node dist/cjs/index.cjs [options]=[values]

Supported NPM Package export types to be imported in your project

  • dist/cjs/index.cjs: CommonJS module.
  • dist/esm/index.mjs: EcmaScript module.
  • dist/esm/index.min.mjs: Minified EcmaScript module.