open-index/open-npm huggingface dataset:
npm package: 140-opts
Description: 140 bytes fancy options parsing
Latest version: 1.3.0

# 140-opts [![Build Status](https://travis-ci.org/mklabs/140-opts.svg?branch=master)](https://travis-ci.org/mklabs/140-opts)

> Command line arguments parser. This one doesn't do much. But it feets in a tweet.


## Installation

    $ npm install 140-opts

Alternately, to just copy the file into your repo and avoid an additional `package.json` dependency:

    $ curl https://cdn.rawgit.com/mklabs/140-opts/master/opts.js > 140-opts.js

    # or maybe
    $ git clone https://github.com/mklabs/140-opts.git lib/140-opts

## Code

```js
module.exports = function(a){return a.map(function(c,d){return{n:c.match(/^--?(.+)/),v:a[d+1]||!0}}).reduce(function(a,b){b.n&&(a[b.n[1]]=b.v);return a},{})}
```

in a sligtly more readable way

```js
// 242-opts
module.exports = function (a) {
  return a
    .map(function (c, d) {
      return {
        n: c.match(/^--?(.+)/),
        v: a[d+1]||!0
      };
    })
    .reduce(function (a, b) {
      b.n&&(a[b.n[1]]=b.v);
      return a;
    }, {})
};
```

## Usage

```js
var opts = require('140-opts')(process.argv.slice(2));
console.log(opts);
```

Takes a single argument, an array of String to parse, usually `process.argv.slice(2)`.

```js
var opts = require('140-opts');
var argv = opts(['--foo', 'foo', '--bar', 'bar', '-b', 'baz', '-o', 'woot', '--blah']);
assert.deepEqual(argv, {
  foo: 'foo',
  bar: 'bar',
  b: 'baz',
  o: 'woot',
  blah: true
});
```
## Tests

```
    $ node test


    Success!

    $ --foo foo --bar bar -b baz -o woot --blah

    { foo: 'foo', bar: 'bar', b: 'baz', o: 'woot', blah: true }

    \o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/
    \o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/
    \o/\o/\o/\o/\o/                        \o/\o/\o/\o/\o/\o/\o/
    \o/\o/\o/\o/\o/                        \o/\o/\o/\o/\o/\o/\o/
    \o/\o/\o/\o/\o/       We did it!       \o/\o/\o/\o/\o/\o/\o/
    \o/\o/\o/\o/\o/                        \o/\o/\o/\o/\o/\o/\o/
    \o/\o/\o/\o/\o/                        \o/\o/\o/\o/\o/\o/\o/
    \o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/
    \o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/
    \o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/\o/
```


---

*educational and experimental, doing [140bytes] snippet of node code
is kinda silly... But it's fun! And it's a good opportunity to learn some
super-interesting [byte saving techniques](https://github.com/jed/140bytes/wiki/Byte-saving-techniques)*

[140bytes]: http://140byt.es/
npm package: 140.css
Description: Minimal theme in less than 140 lines of CSS.
Author: Robin D.
Latest version: 1.0.1

# 140.css

## Kickass Simple Theme in 140 lines of pure CSS for only 799 bytes

<strong>140.css</strong> leave the navigator express his self by adding, as less as possible, opinionated modern
design (responsive, readable forms and table).

It do this in less than 140 lines of CSS.

Want to know more and see a demo : [140.css](https://140.piedweb.com/)

- Write in less than 140 lines of pure CSS
- 799 bytes with dark theme (gzip compressed)
- what else ?!

Inspired by _Vivaldi Reader Mode_, [water.css](https://github.com/kognise/water.css) and [calebporzio.com](https://calebporzio.com/).

## Usage

You can get it via `npm i -D 140.css`.

Or use it via [CDN](https://www.jsdelivr.com/package/npm/140.css) :

```
<script src="https://cdn.jsdelivr.net/npm/140.css@1/dist/140.min.css" />
```

## Credits

- [PiedWeb](https://piedweb.com)
- [All Contributors](https://github.com/PiedWeb/CMS/graphs/contributors)

## License

The MIT License (MIT). Please see [License File](LICENSE) for more information.
npm package: 15-minute-rule
Description: System notification dings every 15 minutes reminding you to stop OT'ing (overthinking)
Author: Robert Laverty
Latest version: 0.9.8


# [15 Minute Rule](https://github.com/aretecode/awesome-advice#15-minute-rule)
This simple script plays a notification sound every 15 minutes reminding you to stay focused.

## Installation
```shell
npm install 15-minute-rule -g
```

## Usage
```shell
15-minute-rule
```
npm package: 15i
Description: 15i is a collection of icons for the web based on the [Radix UI Icons](https://www.radix-ui.com/icons) library.
Author: jkeussen
Latest version: 0.1.0

# 15i

15i is a collection of icons for the web based on the [Radix UI Icons](https://www.radix-ui.com/icons) library.

## Installation

## Metadata

```ts
import { metadata, IconMetadata, IconName } from '15i';

// Get metadata for a specific icon
const hamburgerMetadata = metadata.HamburgerMenuIcon;
console.log(hamburgerMetadata.title); // "Hamburger Menu"

// Type-safe icon names
const iconName: IconName = "HamburgerMenuIcon";```