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

@aaashur/innie

v1.0.0-beta.1

Published

Read, write, and delete INI file entries from the command line.

Downloads

2

Readme

innie

Read, write, and delete INI file entries from the command line.

Setup

Requirements

Installation

To install innie globally:

npm install -g @aaashur/innie

To run without installing:

npx @aaashur/innie <command> <args>

Usage

Given colors.ini:

black=rgb(0, 0, 0)

[red]
100=rgb(255, 245, 245)
200=rgb(254, 215, 215)
300=rgb(254, 178, 178)

[orange]
100=rgb(255, 250, 240)
200=rgb(254, 235, 200)
300=rgb(254, 235, 200)

read

Read the value of top-level key black:

$ innie read colors.ini black
rgb(0, 0, 0)

Read the value of key 100 in section red:

$ innie read colors.ini red.100
rgb(255, 245, 245)

Read the value of all keys in section orange:

$ innie read colors.ini orange
100=rgb(255, 250, 240)
200=rgb(254, 235, 200)
300=rgb(254, 235, 200)

write

Write the value of new top-level key white:

$ innie write colors.ini white "rgb(255, 255, 255)"

Overwrite the value of existing nested key 300 in section orange:

$ innie write colors.ini orange.300 "rgb(251, 211, 141)"

Create a new section yellow and write the value of nested key 100:

$ innie write colors.ini yellow.100 "rgb(255, 255, 240)"

delete

Delete top-level key white:

$ innie delete colors.ini white

Delete nested key 300 in section orange:

$ innie delete colors.ini orange.300

Delete section yellow and all of its nested keys:

$ innie delete colors.ini yellow