open-index/open-npm huggingface dataset:
npm package: @simondmc/backup
Description: A simple command line tool to backup your files using git
Author: SimonDMC
Latest version: 1.3.0

# Backup

A simple command line tool to backup your files using git or zip

## Installation

Install the CLI globally using npm:

```sh
npm i -g @simondmc/backup
```

# Usage

## Git Backup

To backup up files using git, make sure you have a git repository, then run `backup` or `backup <commit message>` in a terminal.

## Zip Backup

To backup a folder using zip, navigate to **inside** that folder, open the terminal and run `backup -z` or `backup --zip`.

## Repository Creation

To initialize a git repository (and immediately backup), run `backup -i <remote url>` or `backup -i <remote url> <commit message>`
in a terminal.

## Command Hooks

Command hooks allow you to run arbitrary commands before each backup. To use them, create a file called `backup-hooks.txt`
in the working directory, with commands separated by newlines. You can use the `#` symbol for comments.
npm package: @simondud/postcss-discard-overridden-props
Description: PostCSS plugin, which discards overridden properties in every CSS rule
Author: Simon Duduica
Latest version: 0.2.0

# postcss-discard-overridden-rules
PostCSS plugin, which discards overridden properties in every CSS rule.

## Example
### Input

```css
.rule1 {
  color: red;
  display: block;
  display: inline;
}

.rule2 {
  color: green;
  display: block !important;
  display: inline;
}

.rule3 {
  color: blue;
  display: block;
  display: inline !important;
}

@media (max-width: 120px) {
  .rule4 {
    color: blue;
    display: block;
    display: inline !important;
  }
}
```

### Output

```css
.rule1 {
  color: red;
  display: inline;
}

.rule2 {
  color: green;
  display: block !important;
}

.rule3 {
  color: blue;
  display: inline !important;
}

@media (max-width: 120px) {
  .rule4 {
    color: blue;
    display: inline !important;
  }
}
```

## Options
* `log` (default: `false`) a logging flag.
* `noDelete` (default: `false`) a flag whether found overridden properties will be deleted (works only with `log` set to `true`).
* `ignorePrefix` (default: `false`) a flag whether plugin ignores prefixed properties and values.
* `props` (default: `false`) an array of string with properies allowed to proccess by plugin.