open-index/open-npm huggingface dataset:
npm package: @radham/changelog
Description: A CLI tool for managing "Keep a Changelog" changelogs.
Author: James Benner
Latest version: 0.1.1

@radham/changelog
=================

A CLI tool for managing [Keep a Changelog](https://keepachangelog.com/) changelogs.

Features
--------

- Create new changelogs.
- Add new releases or promote unreleased versions.
- Draft unreleased sections.
- Automatically creates and manages version links.

Install
-------

```sh-session
npm install @radham/changelog
```

Usage
-----

```sh-session
$ changelog --help

  A tool for managing Keep a Changelog changelogs.

  Usage
    $ changelog [OPTIONS] <COMMAND>

  Options
    --bullet-list-marker, -b    Use this marker for bullet lists ("*", "+", or
                                "-"). Defaults to "-".
    --change-type, -c           Create a section stub for this change type
                                ("added", "changed", "deprecated", "fixed",
                                "removed", or "security"). Can be specified
                                multiple times.
    --heading-style, -H         Use this style of headings ("atx" or "setext").
                                Defaults to "setext".
    --help, -h                  Display this message.
    --separate-definitions, -s  Separate definitions with blank lines.
    --version, -v               Display the application version.
    --write, -w                 Write to the changelog file instead of stdout.

  Commands
    create [CHANGELOG]  Create a new changelog.
    draft [CHANGELOG]   Add an unreleased section.
    major [CHANGELOG]   Create a new major release or promote an unreleased
                        section to one.
    minor [CHANGELOG]   Create a new minor release or promote an unreleased
                        section to one.
    patch [CHANGELOG]   Create a new patch release or promote an unreleased
                        section to one.
```

License
-------

The BSD 3-Clause License. See the [license file](LICENSE) for details.
npm package: @radham/eslint-config
Description: A shareable ESLint config with Stylistic.
Author: James Benner
Latest version: 13.0.0

@radham/eslint-config
=====================

A shareable [ESLint](https://eslint.org/) config with [Stylistic](https://eslint.style/).

Install
-------

```shell
npm install --save-dev @radham/eslint-config
```

Usage
-----

```javascript
import { includeIgnoreFile } from '@eslint/compat';
import radham, { radhamGfm } from '@radham/eslint-config';
import { defineConfig } from 'eslint/config';
import globals from 'globals';
import path from 'node:path';
import { fileURLToPath } from 'node:url';

const filename = fileURLToPath(import.meta.url);
const dirname = path.dirname(filename);
const gitignorePath = path.resolve(dirname, '.gitignore');

export default defineConfig([
  includeIgnoreFile(gitignorePath),
  {
    files: ['**/*.ts'],
    extends: [radham],
    languageOptions: { globals: globals.node /* or `globals.browser` */ }
  },
  {
    files: ['**/*.md'],
    extends: [radhamGfm]
  }
]);
```

License
-------

The BSD 3-Clause License. See the [license file](LICENSE) for details.
npm package: @radham/fsc
Description: A CLI app to fetch the HTTP status codes from the IANA registry.
Author: James Benner
Latest version: 0.1.1

@radham/fsc
===========

A CLI app to fetch the HTTP status codes from the [IANA](https://www.iana.org/) registry.

Features
--------

- Fetches HTTP status codes (or HTTP status code classes) from the IANA registry.
- No caching mechanisms are used, so the data is always up to date.
- Supports JSON or YAML output.
- Optionally, resolves URL redirects.

Install
-------

```sh-session
npm install @radham/fsc
```

Usage
-----

```sh-session
$ fsc --help

  Fetch the HTTP status codes from the IANA registry.

  Usage
    $ fsc [OPTIONS]

  Options
    --classes, -c            Fetch the HTTP status code classes instead of the
                             status codes.
    --help, -h               Display this message.
    --resolve-redirects, -r  Resolve URL redirects and add a section hash to the
                             URL as well if applicable. This increases total
                             operation time by approximately one second.
    --version, -v            Display the application version.
    --yaml, -y               Display the HTTP status codes (or classes) as YAML
                             instead of JSON.
```

License
-------

The BSD 3-Clause License. See the [license file](LICENSE) for details.
npm package: @radham/gitignore
Description: A .gitignore parser library.
Author: James Benner
Latest version: 0.1.0

@radham/gitignore
=================

A `.gitignore` parser library.

Install
-------

```shell
npm install @radham/gitignore
```

Usage
-----

Using the following `.gitignore` file as an example:

```gitignore
# The following are ignored.
node_modules/
.env
```

It can be parsed like so:

```typescript
import fs from 'node:fs';
import parse from '@radham/gitignore';

// Without any arguments it auto-reads the `.gitignore` in the current working direcctory and
// outputs globs.
parse(); // > ['**/node_modules/', '**/.env']

// You can manually provide the `.gitignore` contents and specify a different output format.
const source = fs.readFileSync('.gitignore').toString();
parse(source, { output: 'patterns' }); // > ['node_modules/', '.env']
```

License
-------
The BSD 3-Clause License. See the [license file](LICENSE) for details.
npm package: @radham/is-x
Description: Check if a file is executable for all.
Author: James Benner
Latest version: 0.5.1

@radham/is-x
============

Check if a file is executable for all.

Install
-------

As a system CLI tool:

```shell
npm install --global @radham/is-x
```

As a project dependency:

```shell
npm install @radham/is-x
```

Usage
-----

### CLI

```sh-session
$ is-x --help

  Check if a file is executable for all.

  Usage
    $ is-x [OPTIONS] <FILE> [ADDITIONAL FILES...]

  Options
    --help, -h     Display this message.
    --verbose, -V  Display messages pertaining to each operation.
    --version, -v  Display the application version.
```

### API

```typescript
import { isExecutable, isExecutableSync } from '@radham/is-x';

const filepath = './bin';

// Asynchronous...
await isExecutable(filepath); // > Promise<boolean>

// Synchronous...
isExecutableSync(filepath);   // > boolean
```

See Also
--------

- [@radham/plus-x](https://www.npmjs.com/package/@radham/plus-x)

License
-------
The BSD 3-Clause License. See the [license file](LICENSE) for details.
npm package: @radham/plus-x
Description: Make a file executable. A portable `chmod +x` equivalent.
Author: James Benner
Latest version: 0.6.0

@radham/plus-x
==============

Make a file executable. A portable `chmod +x` equivalent.

Install
-------

As a system CLI tool:

```shell
npm install --global @radham/plus-x
```

As a project dependency:

```shell
npm install @radham/plus-x
```

Usage
-----

### CLI

```sh-session
$ plus-x --help

  Make a file executable. A portable chmod +x equivalent.

  Usage
    $ plus-x [OPTIONS] <FILE> [ADDITIONAL FILES...]

  Options
    --exclude, -e  File or glob to exclude. Can be specified multiple times.
    --help, -h     Display this message.
    --version, -v  Display the application version.
```

### API

```typescript
import { makeExecutable, makeExecutableSync } from '@radham/plus-x';

const filepath = './bin';

// Asynchronous...
await makeExecutable(filepath); // > Promise<void>

// Synchronous...
makeExecutableSync(filepath);   // > void
```

See Also
--------

- [@radham/is-x](https://www.npmjs.com/package/@radham/is-x)

License
-------
The BSD 3-Clause License. See the [license file](LICENSE) for details.