open-index/open-npm huggingface dataset:
npm package: @radicalbit/radicalbit-design-system
Description: Building design system in dev mode ===============
Author: https://github.com/radicalbit
Latest version: 2.15.0

# Radicalbit Design System

Building design system in dev mode
===============

* Install dependencies with ```$ yarn```
* Start storybook server ```$ yarn storybook```
* Open the browser on ```http://localhost:6006```

Creating a new component
===============

- Create a new folder under `src/lib/components`, dashed-name as your component's name
- Develop your component in a file named `index.tsx`
- Integrate the styles for your component in a file named `_styles.less`
- Create some Storybook stories in a file named `<component-name>.stories.ts`
- In `src/lib/index.ts` add a new export line for the component (follow alphabetic order) `export { default as XXX } from './components/XXX';`
- In `src/styles/components.less` add a new import line for the component (follow alphabetic order) `@import 'XXX/_styles';`
npm package: @radicalcondor/commitlint-config
Description: CommitLint config for Radical Condor repositories
Author: Radical Condor
Latest version: 0.5.1

[![MIT Licensed][icon-license]][link-license]
[![NPM Version][icon-npm]][link-npm]
[![Test Coverage][icon-coverage]][link-coverage]

CommitLint config for Radical Condor repositories

## Installation

```bash
yarn add -D @radicalcondor/commitlint-config
npx install-peerdeps @radicalcondor/commitlint-config
```

## Usage

Create a `.commitlintrc.js` in your project with the following:

```js
module.exports = require('@radicalcondor/commitlint-config');
```

[icon-license]: https://img.shields.io/github/license/cubedevinc/config.svg?longCache=true&style=flat-square
[link-license]: LICENSE
[icon-npm]: https://img.shields.io/npm/v/@radicalcondor/commitlint-config.svg?longCache=true&style=flat-square
[link-npm]: https://www.npmjs.com/package/@radicalcondor/commitlint-config
[icon-coverage]: https://img.shields.io/codecov/c/github/cubedevinc/config/develop.svg?longCache=true&style=flat-square
[link-coverage]: https://codecov.io/gh/cubedevinc/config
npm package: @radicalcondor/eslint-config
Description: ESLint config for Radical Condor repositories
Author: Radical Condor
Latest version: 0.5.1

[![MIT Licensed][icon-license]][link-license]
[![NPM Version][icon-npm]][link-npm]
[![Test Coverage][icon-coverage]][link-coverage]

ESLint config for Radical Condor repositories

## Installation

```bash
yarn add -D @radicalcondor/eslint-config
npx install-peerdeps @radicalcondor/eslint-config
```

## Usage

Create an `.eslintrc` in your project with the following:

```json
{
  "extends": "@radicalcondor"
}
```

[icon-license]: https://img.shields.io/github/license/cubedevinc/config.svg?longCache=true&style=flat-square
[link-license]: LICENSE
[icon-npm]: https://img.shields.io/npm/v/@radicalcondor/eslint-config.svg?longCache=true&style=flat-square
[link-npm]: https://www.npmjs.com/package/@radicalcondor/eslint-config
[icon-coverage]: https://img.shields.io/codecov/c/github/cubedevinc/config/develop.svg?longCache=true&style=flat-square
[link-coverage]: https://codecov.io/gh/cubedevinc/config
npm package: @radicalcondor/jest-config
Description: Jest config for Radical Condor repositories
Author: Radical Condor
Latest version: 0.5.1

[![MIT Licensed][icon-license]][link-license]
[![NPM Version][icon-npm]][link-npm]
[![Test Coverage][icon-coverage]][link-coverage]

Jest config for Radical Condor repositories

## Installation

```bash
yarn add -D @radicalcondor/jest-config
npx install-peerdeps @radicalcondor/jest-config
```

## Usage

Create a `jest.config.js` in your project with the following:

```js
module.exports = require('@radicalcondor/jest-config');
```

[icon-license]: https://img.shields.io/github/license/cubedevinc/config.svg?longCache=true&style=flat-square
[link-license]: LICENSE
[icon-npm]: https://img.shields.io/npm/v/@radicalcondor/jest-config.svg?longCache=true&style=flat-square
[link-npm]: https://www.npmjs.com/package/@radicalcondor/jest-config
[icon-coverage]: https://img.shields.io/codecov/c/github/cubedevinc/config/develop.svg?longCache=true&style=flat-square
[link-coverage]: https://codecov.io/gh/cubedevinc/config
npm package: @radicalcondor/lintstaged-config
Description: Lint Staged config for Radical Condor repositories
Author: Radical Condor
Latest version: 0.5.1

[![MIT Licensed][icon-license]][link-license]
[![NPM Version][icon-npm]][link-npm]
[![Test Coverage][icon-coverage]][link-coverage]

Lint-Staged config for Radical Condor repositories

## Installation

```bash
yarn add -D @radicalcondor/lintstaged-config
npx install-peerdeps @radicalcondor/lintstaged-config
```

## Usage

Create a `.lintstagedrc.js` in your project with the following:

```js
module.exports = require('@radicalcondor/lintstaged-config');
```

[icon-license]: https://img.shields.io/github/license/cubedevinc/config.svg?longCache=true&style=flat-square
[link-license]: LICENSE
[icon-npm]: https://img.shields.io/npm/v/@radicalcondor/lintstaged-config.svg?longCache=true&style=flat-square
[link-npm]: https://www.npmjs.com/package/@radicalcondor/lintstaged-config
[icon-coverage]: https://img.shields.io/codecov/c/github/cubedevinc/config/develop.svg?longCache=true&style=flat-square
[link-coverage]: https://codecov.io/gh/cubedevinc/config
npm package: @radicalcondor/npmlint-public-config
Description: NPM Package JSON Lint config for Radical Condor public repositories
Author: Radical Condor
Latest version: 0.5.1

[![MIT Licensed][icon-license]][link-license]
[![NPM Version][icon-npm]][link-npm]
[![Test Coverage][icon-coverage]][link-coverage]

NPM Package JSON Lint config for Radical Condor public repositories

## Installation

```bash
yarn add -D @radicalcondor/npmlint-public-config
npx install-peerdeps @radicalcondor/npmlint-public-config
```

## Usage

Create a `.npmpackagejsonlintrc` in your project with the following:

```json
{
  "extends": "@radicalcondor/npmlint-public-config"
}
```

[icon-license]:
  https://img.shields.io/github/license/cubedevinc/config.svg?longCache=true&style=flat-square
[link-license]: LICENSE
[icon-npm]:
  https://img.shields.io/npm/v/@radicalcondor/npmlint-public-config.svg?longCache=true&style=flat-square
[link-npm]: https://www.npmjs.com/package/@radicalcondor/npmlint-public-config
[icon-coverage]:
  https://img.shields.io/codecov/c/github/cubedevinc/config/develop.svg?longCache=true&style=flat-square
[link-coverage]: https://codecov.io/gh/cubedevinc/config
npm package: @radicalcondor/prettier-config
Description: Prettier config for Radical Condor repositories
Author: Radical Condor
Latest version: 0.5.1

[![MIT Licensed][icon-license]][link-license]
[![NPM Version][icon-npm]][link-npm]
[![Test Coverage][icon-coverage]][link-coverage]

Prettier config for Radical Condor repositories

## Installation

```bash
yarn add -D @radicalcondor/prettier-config
npx install-peerdeps @radicalcondor/prettier-config
```

## Usage

Create a `.prettierrc.js` in your project with the following:

```js
module.exports = require('@radicalcondor/prettier-config');
```

[icon-license]: https://img.shields.io/github/license/cubedevinc/config.svg?longCache=true&style=flat-square
[link-license]: LICENSE
[icon-npm]: https://img.shields.io/npm/v/@radicalcondor/prettier-config.svg?longCache=true&style=flat-square
[link-npm]: https://www.npmjs.com/package/@radicalcondor/prettier-config
[icon-coverage]: https://img.shields.io/codecov/c/github/cubedevinc/config/develop.svg?longCache=true&style=flat-square
[link-coverage]: https://codecov.io/gh/cubedevinc/config
npm package: @radicalcondor/tsconfig
Description: TypeScript config for Radical Condor repositories
Author: Radical Condor
Latest version: 0.5.1

[![MIT Licensed][icon-license]][link-license]
[![NPM Version][icon-npm]][link-npm]
[![Test Coverage][icon-coverage]][link-coverage]

`tsconfig.json` for Radical Condor repositories

## Installation

```bash
yarn add -D @radicalcondor/tsconfig
npx install-peerdeps @radicalcondor/tsconfig
```

## Usage

Create a `tsconfig.json` in your project with the following:

```json
{
  "extends": "@radicalcondor/tsconfig",
  "compilerOptions": {
    "outDir": "dist",
    "target": "es2018",
    "lib": [
      "es2018"
    ]
  }
}
```

[icon-license]: https://img.shields.io/github/license/cubedevinc/config.svg?longCache=true&style=flat-square
[link-license]: LICENSE
[icon-npm]: https://img.shields.io/npm/v/@radicalcondor/tsconfig.svg?longCache=true&style=flat-square
[link-npm]: https://www.npmjs.com/package/@radicalcondor/tsconfig
[icon-coverage]: https://img.shields.io/codecov/c/github/cubedevinc/config/develop.svg?longCache=true&style=flat-square
[link-coverage]: https://codecov.io/gh/cubedevinc/config
npm package: @radicalimaging/ecg-dicom
Description: Basic DICOM ECG Viewer
Author: Bill Wallace
Latest version: 3.19.1

# ecg-dicom 
## Description 
Basic DICOM ECG Viewer for inclusion in OHIF.  To include in OHIF, add:
```js
extensions: ["@radicalimaging/ecg-dicom"],
modes: ["@ohif/mode-longitudinal", "@radicalimaging/ecg-dicom"],
``` 
to your configuration file, and add the dependency to the viewer/package.json file.

## Author 
Bill Wallace, Radical Imaging
## License 
MIT
npm package: @radicalimaging/hp-mode
Description: Apply hanging protocols to longitudinal mode
Author: Bill Wallace and Radical Imaging
Latest version: 3.15.0

# Hanging Protocol Mode
The hanging protocol mode adds a number of hanging protocols to better display some studies, mostly as a demonstration
of the capabilities of hanging protocols.  These protocols are NOT intended for clinical use, in particular, the MG
layout is extremely basic and fails to do some of the required hanging of the studies, and is insufficient for real usage.

![image](https://user-images.githubusercontent.com/27778909/185164866-c3a3dcb7-a95c-4ba2-8b3e-1f0c8e1c2453.png)

## Description 
The hanging protocol extension defines hanging protocols for a general 2x2 and 2x1 mode, as well as
a layout for MR heart images and a very basic layout for screening MG images.  This allows demonstrating a 
variety of features of hanging protocols:

* Matching display set information as part of the decision to apply the HP
* Matching more than one display set from a single series
* Applying initial image display offsets
* Edge aligning some images (MG image edge alignment - not quite chest wall alignment)

Try it out [hp-mode](https://d23m9u81yn8vwa.cloudfront.net/hp?StudyInstanceUIDs=1.3.6.1.4.1.53684.1.1.2.4037847388.7016.1636643714.1136392)

## Author 
Bill Wallace, Radical Imaging 

## License 
MIT
npm package: @radicalimaging/microscopy-mode
Description: Microscopy Viewing Mode, based on the older dicom-microscopy-viewer library.  See Slim for a newer library.
Author: Bill Wallace, Radical Imaging
Latest version: 4.0.0

# mode-microscopy 
## Description 
Microscopy Viewing Mode 
## Author 
Bill Wallace, Radical Imaging 
## License 
MIT
npm package: @radicalimaging/mode-ecg
Description: Display ECGs
Author: Bill Wallace, Radical Imaging
Latest version: 3.19.1

# ECG Viewer Mode

## Description

A workflow mode for OHIF v3 which enables rendering of the ECG data.

![image](https://user-images.githubusercontent.com/7490180/184719965-12c1f409-28b0-4ec7-89c1-6ca5e397a048.png)

## Try it out

[here](https://d3t6nz73ql33tx.cloudfront.net/ecg?StudyInstanceUIDs=1.3.76.13.65829.2.20130125082826.1072139.2)

## Author

Bill Wallace, @Radical Imaging

## License

MIT
npm package: @radicalimaging/volume-mode
Description: Volume Viewer Mode
Author: Bill Wallace, Radical Imaging
Latest version: 3.9.1

# Volume Viewer Mode
This mode will launch studies containing a display set with at least 10 images in it into
a volume viewer 2x2 layout with the 3 basic views and a full-depth MIP view.

![image](https://user-images.githubusercontent.com/27778909/185163934-7b8aefb9-acba-4b3b-b0e2-83229b925b29.png)

## Description 
Basic example of the volume viewing mode.

[Volume](https://d23m9u81yn8vwa.cloudfront.net/volume?StudyInstanceUIDs=1.3.6.1.4.1.53684.1.1.2.4037847388.7016.1636643714.1136392)

## Author 
Bill Wallace, Radical Imaging 
## License 
MIT
npm package: @radically-straightforward/examples
Description: 🥸 Example data for testing
Author: Leandro Facchinetti
Latest version: 1.0.1

# Radically Straightforward · Examples

**🥸 Example data for testing**

## Installation

```console
$ npm install @radically-straightforward/examples
```

## Usage

```typescript
import * as examples from "./index.mjs";
```

<!-- DOCUMENTATION START: ./source/index.mts -->

### `name()`

```typescript
export function name(): string;
```

Examples of names of people.

**Sources**

- **First names:** https://www.ssa.gov/oact/babynames/decades/century.html
- **Last names:** https://www.thoughtco.com/most-common-us-surnames-1422656

### `text()`

```typescript
export function text({
  model = textModel,
  length = 10,
}: {
  model?: {
    [predecessor: string]: {
      [successor: string]: {
        count: number;
        percentile: number;
      };
    };
  };
  length?: number;
} = {}): string;
```

Example text.

If the `length` is `0`, then the text is short and may not contain punctuation, which is suitable, for example, for the title of a conversation.

The default `model` mostly talks about food. You may train your own `model` on other subjects by following these steps:

1. Create a file called `urls.json` with a list of Wikipedia articles on subjects that the `model` should talk about, for example:

   `urls.json`

   ```json
   [
     "https://en.wikipedia.org/wiki/Maple_syrup",
     "https://en.wikipedia.org/wiki/Chocolate_chip"
   ]
   ```

2. Run the binary that comes with `@radically-straightforward/examples` to collect those Wikipedia articles:

   ```console
   $ npx examples collect
   ```

3. A file called `corpus.json` is created with the collected Wikipedia articles, and the `urls.json` file is updated with more Wikipedia articles.

   Select the articles that you consider relevant in `urls.json`, return to step 1, and repeat until enough enough Wikipedia articles have been collected. A bigger corpus yields a richer model with more diverse example texts, but it also produces bigger files and risks going off-topic.

4. Train the `model` with the binary that comes with `@radically-straightforward/examples`:

   ```console
   $ npx examples train
   ```

   This produces a file called `model.json` which includes the model, and its contents can be provided to `text()` as the `model`.

   At this point you may delete the files `urls.json` and `corpus.json` if you wish.

**References**

- https://healeycodes.com/generating-text-with-markov-chains
- https://www.youtube.com/watch?v=eGFJ8vugIWA

<!-- DOCUMENTATION END: ./source/index.mts -->

### Avatars

The folder `avatars/` contains 263 examples of faces.

These people don’t exist, the faces were collected from https://github.com/NVlabs/stylegan2 / https://drive.google.com/drive/folders/1mTeo3J3Jo6aYImBshLM6XRl_Ua8fqgVW and resized to 256×256px with `avatars/index.mjs`.

## Related Work

### [Faker](https://www.npmjs.com/package/@faker-js/faker), [casual](https://www.npmjs.com/package/casual), and so forth

These other libraries don’t include text that can be trained on arbitrary topics and avatars.
npm package: @radically-straightforward/ffmpeg
Description: 🎞️ Install FFmpeg as an npm package
Author: Leandro Facchinetti
Latest version: 1.0.0

# Radically Straightforward · FFmpeg

**🎞️ Install [FFmpeg](https://ffmpeg.org/) as an npm package**

## Installation

```console
$ npm install @radically-straightforward/ffmpeg
```

> **Note:** For quick-and-easy testing you may run FFmpeg from the command line with `npx` instead of installing it explicitly:
>
> ```console
> $ npx @radically-straightforward/ffmpeg
> ```

> **Note:** By default the latest version of FFmpeg is installed. You may specify a version in `package.json` with a `ffmpeg` property, for example:
>
> `package.json`
>
> ```json
> {
>   "ffmpeg": "7.1.1"
> }
> ```

## Usage

```console
$ npx ffmpeg
```

> **Note:** If the command above doesn’t work, which may happen in particular on Windows, use the path to the binary instead of `npx`:
>
> ```console
> > .\node_modules\.bin\ffmpeg
> ```

## Related Work

### [`ffmpeg-static`](https://www.npmjs.com/package/ffmpeg-static)

Only supports specific versions of FFmpeg and requires an update to the package itself when a new version of FFmpeg is released. At the time of this writing (2025-06-09) the latest supported version is FFmpeg 6.0 from 2023-02-28.

`@radically-straightforward/ffmpeg`, on the other hand, supports new versions of FFmpeg as soon as they’re released.

## Sources

- https://github.com/BtbN/FFmpeg-Builds/releases/tag/autobuild-2025-06-08-14-00
  - https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2025-06-08-14-00/ffmpeg-n7.1.1-22-g0f1fe3d153-linux64-gpl-7.1.tar.xz
  - https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2025-06-08-14-00/ffmpeg-n7.1.1-22-g0f1fe3d153-linuxarm64-gpl-7.1.tar.xz
  - https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2025-06-08-14-00/ffmpeg-n7.1.1-22-g0f1fe3d153-win64-gpl-7.1.zip
  - https://github.com/BtbN/FFmpeg-Builds/releases/download/autobuild-2025-06-08-14-00/ffmpeg-n7.1.1-22-g0f1fe3d153-winarm64-gpl-7.1.zip
- https://osxexperts.net/
  - https://www.osxexperts.net/ffmpeg71intel.zip
  - https://www.osxexperts.net/ffmpeg711arm.zip
npm package: @radically-straightforward/tsconfig
Description: ✅ TypeScript configuration
Author: Leandro Facchinetti
Latest version: 1.0.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# Radically Straightforward · TSConfig

**✅ TypeScript configuration**

## Installation

```console
$ npm install --save-dev @radically-straightforward/tsconfig
```

## Usage

`tsconfig.json`

```json
{
  "extends": "@radically-straightforward/tsconfig",
  "compilerOptions": {
    "rootDir": "./source/",
    "outDir": "./build/"
  }
}
```

## Related Work

### [`@sindresorhus/tsconfig`](https://www.npmjs.com/package/@sindresorhus/tsconfig)

Similar in spirit, but we make fewer decisions in terms of syntax (`noImplicitReturns`, `noImplicitOverride`, and so forth), we enable `isolatedModules` for [esbuild’s benefit](https://esbuild.github.io/content-types/#isolated-modules), and so forth.
npm package: @radically-straightforward/typescript
Description: ✅ TypeScript configuration
Author: Leandro Facchinetti
Latest version: 1.0.1

# Radically Straightforward · TypeScript

**✅ TypeScript configuration**

## Installation

```console
$ npm install --save-dev @radically-straightforward/typescript
```

## Usage

`tsconfig.json`

```json
{
  "extends": "@radically-straightforward/typescript",
  "include": ["source/**/*"],
  "compilerOptions": {
    "rootDir": "./source/",
    "outDir": "./build/"
  }
}
```

> **Note:** The installation of `@radically-straightforward/typescript` should create `tsconfig.json` in the appropriate location.

## Related Work

### [`@sindresorhus/tsconfig`](https://www.npmjs.com/package/@sindresorhus/tsconfig)

Similar in spirit, but we make fewer decisions in terms of syntax (`noImplicitReturns`, `noImplicitOverride`, and so forth), we enable `isolatedModules` for [esbuild’s benefit](https://esbuild.github.io/content-types/#isolated-modules), and so forth.
npm package: @radicalresearch/cookie-report
Description: Capture reports of cookies being set by third-party scripts
Author: Sam Greenhalgh
Latest version: 0.0.5

# Cookie Report

**Notice:** _This service is currently experimental. It should not be considered
production-ready._

Capture reports of cookies being set by third-party scripts.

A plethora of different third-party and first-party javascript now commonly runs
on most websites. Each of these scripts having their own motivations for
persisting values in cookies. The cumulative effect of these cookies all being
set on the same domain can have deleterious effects. The size of the cookies
build up over time and can result in bloated HTTP request headers.

With ad-networks and tag managers often loading scripts indirectly from any
number of other sources it can be difficult get a clear view of what scripts are
responsible for setting what cookies, and consequently make decisions about how
to control these cookies.

This is an experimental solution to getting a clearer view of what scripts are
setting cookies. It may also provide a potential mechanism for proactively
mitigating the problem of bloated use of cookies.

### How it works

Javascript patches the `document.cookie` property used by other scripts to set
cookies. It then intercepts assignments of cookies to gathers a reports of the
size, name and the javascript file that was responsible for setting the cookie.
These reports are sent using the sendBeacon API when the user navigates away
from the page. The reports can then be collected in a central location and
reviewed to determine what action should be taken to address the scripts that
are responsible for setting unwanted cookies.

## Installation and Usage

To install you can include the client script as part of your page so it runs
before cookies are set by other scripts.

Install the NPM package

```bash
npm install --save @radical-research/cookie-report
```

Setup the client script

```javascript
// Reference the client script - This defines the cookieReport function in global scope
require("@radical-research/cookie-report");

// Start capturing cookies
cookieReport();
```
npm package: @radicalwebdesign/stylelint-config-scss
Description: A shareable stylelint config for SCSS used at Radical
Author: Radical Web Design
Latest version: 1.0.0

# stylelint-config-scss

> A shareable stylelint config for SCSS used at Radical

## Installation

```bash
yarn add @radicalwebdesign/stylelint-config-scss --dev
```

## Usage

If you've installed `@radicalwebdesign/stylelint-config-scss` locally within your project, just set your `stylelint` config to:

```json
{
  "extends": "@radicalwebdesign/stylelint-config-scss"
}
```

### Extending the config

Simply add a `"rules"` key to your config, then add your overrides and additions there.

For example, to add the `unit-whitelist` rule:

```json
{
  "extends": "@radicalwebdesign/stylelint-config-scss",
  "rules": {
    "unit-whitelist": ["em", "rem", "s"]
  }
}
```

## License

Licensed under the [MIT license](http://opensource.org/licenses/MIT).