open-index/open-npm huggingface dataset:
npm package: @henriette-einstein/asciidoctor-loader
Description: A Webpack loader that converts Asciidoctr files to HTML
Author: Armin Pfarr
Latest version: 0.9.1

# asciidoctor-loader

[![Build](https://github.com/henriette-einstein/asciidoctor-loader/workflows/Build/badge.svg)](https://github.com/henriette-einstein/asciidoctor-loader/actions?query=workflow%3ABuild)
[![npm](https://badgen.net/npm/v/@henriette-einstein/asciidoctor-loader)](https://www.npmjs.com/package/@henriette-einstein/asciidoctor-loader)

A Webpack loader that supports Asciidoctor files. The loader returns

- The Asciidoctor file as HTML

The Asciidoctor file `test.adoc`:

```
# Testdocument

## Chapter 1
This is a paragraph
```

can be loaded with

```js
import test from "test.adoc";
```
npm package: @henriette-einstein/asciidoctor-nuxt-module
Description: A Nuxt module that integrates Asciidoctor via webpack
Author: Armin Pfarr
Latest version: 0.9.0

# Asciidoctor-Nuxt-Module

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![Github Actions CI][github-actions-ci-src]][github-actions-ci-href]

> This project implements a Nuxt module that allows to use Asciidoctor files as Vue components.

## Setup

1. Add `@henriette-einstein/asciidoctor-nuxt-module` dependency to your project

```bash
yarn add @henriette-einstein/asciidoctor-nuxt-module
```
or

```bash
npm install @henriette-einstein/asciidoctor-nuxt-module
```

2. Add `@henriette-einstein/asciidoctor-nuxt-module` to the `modules` section of `nuxt.config.js`

```js
{
  modules: [
    // Simple usage
    '@henriette-einstein/asciidoctor-nuxt-module',

    // With options
    ['@henriette-einstein/asciidoctor-nuxt-module', { /* module options */ }]
  ]
}
```

## Development

1. Clone this repository
2. Install dependencies using `yarn install` or `npm install`

## License

[MIT License](./LICENSE)

Copyright (c) Armin Pfarr <arp@henriette-einstein.com>

<!-- Badges -->
[npm-version-src]: https://img.shields.io/npm/v/@henriette-einstein/asciidoctor-nuxt-module/latest.svg
[npm-version-href]: https://npmjs.com/package/@henriette-einstein/asciidoctor-nuxt-module

[npm-downloads-src]: https://img.shields.io/npm/dt/@henriette-einstein/asciidoctor-nuxt-module.svg
[npm-downloads-href]: https://npmjs.com/package/@henriette-einstein/asciidoctor-nuxt-module

[github-actions-ci-src]: https://github.com/henriette-einstein/asciidoctor-nuxt-module/workflows/ci/badge.svg
[github-actions-ci-href]: https://github.com/henriette-einstein/asciidoctor-nuxt-module/actions?query=workflow%3Aci
npm package: @henriette-einstein/gridsome-transformer-asciidoc
Description: An AsciiDoc Converter for Gridsome
Author: Armin Pfarr
Latest version: 0.9.4

# @henriette-einstein/gridsome-transformer-asciidoc

> An AsciiDoc converter for Gridsom

Parses Asciidoc files using the [Asciidoctor.js](https://asciidoctor.org/docs/asciidoctor.js/) converter.

## Install

You can either use npm or yarn. Pick the corresponding command

- `yarn add @henriette-einstein/gridsome-transformer-asciidoc`
- `npm install  @henriette-einstein/gridsome-transformer-asciidoc`

## Usage

The transformer is automatically used if installed in your project. Custom transformer options can either be set for each source plugin or globally.

```js
//gridsome.config.js
module.exports = {
  plugins: [
    {
      use: '@gridsome/source-filesystem',
      options: {
        path: 'blog/**/*.adoc',
        typeName: 'Post',
        asciidoc: {
          // asciidoc options
        }
      }
    }
  ],
  transformers: {
    asciidoc: {
      // global asciidoc options
    }
  }
}
```

## Transformer Options

- `attributeNamePrefix`

  Defaults to `['data-', 'doc']`. Defines the prefixes for the Asciidoc attributes that
  should be included in the GraphQL node. Each attribute that starts with one of the
  given prefixes will be added under `attributes`

- `attributes`

  Defaults to `attributes: { idprefix: 'id_' }`. Defines the attributes passed to the underlying asciidoctor converter. A full list of the converters options can be found here:

  [Asciidoctor's converter options](https://asciidoctor-docs.netlify.com/asciidoctor.js/processor/convert-options/)
npm package: @henriette-einstein/gulp-asciidoctor
Description: Gulp Asciidoctor plugin
Latest version: 2.2.2

# gulp-asciidoctor

[![Build](https://github.com/asciidoctor/gulp-asciidoctor/workflows/Build/badge.svg)](https://github.com/asciidoctor/gulp-asciidoctor/actions?query=workflow%3ABuild)
[![npm version](https://img.shields.io/npm/v/gulp-asciidoctor.svg)](https://www.npmjs.org/package/@asciidoctor/gulp-asciidoctor)

A [gulp](https://gulpjs.com) plugin to support Asciidoctor processing in gulp tasks.

## Installation

### Requirements

You need [Node](https://nodejs.org) installed on your machine to install and run the gulp-asciidoctor plugin.

You need [gulp](https://gulpjs.com) installed globally or in your project directory.

### Install gulp-asciidoctor via npm

```
$ npm install @asciidoctor/gulp-asciidoctor --save
```

### Install gulp-asciidoctor via yarn

```
$ yarn add @asciidoctor/gulp-asciidoctor
```

## Compatibility

The following table shows the compatibility of the gulp-asciidoctor releases with the
underlying Asciidoctor releases.

| gulp-asciidoctor release | Asciidoctor.js release |
| ------------------------ | ---------------------- |
| v1.0.6                   | v1.5.2 or higher       |
| v2.2.1                   | v2.2.0 or higher       |

## Documentation

More information can be found in the [documentation](./docs/modules/ROOT/pages/index.adoc) on Github.
npm package: @henrik-dmg/swifty-array-helpers
Description: A set of convenience methods that extends Array's capabilities, inspired by Swift
Author: Henrik Panhans
Latest version: 2.1.0

# Array Helpers for JavaScript

![npm](https://img.shields.io/npm/v/@henrik-dmg/swifty-array-helpers?logo=npm)
![npm](https://img.shields.io/npm/dm/@henrik-dmg/swifty-array-helpers?logo=npm)

## What is this?

A collection of functions for working with arrays inspired by the methods that are available in Swift

## Usage

### Import

You need to import the methods first. Example:

```js
// ES6 module
import '@henrik-dmg/swifty-array-helpers'

// node.js
require('@henrik-dmg/swifty-array-helpers')
```

### firstIndex

Finds the index of the first element matching the predicate.
Example:

```js
const array = [5, 3, 7, 12]
const index = firstIndex(array, x => x <= 4) // 1
```

### firstWhere

Finds the first element matching the predicate (similar to `firstIndex`).
Example:

```js
const array = [5, 3, 7, 12]
const firstElementMatchingPredicate = firstWhere(array, x => x <= 4) // 3
```

### compactMap

Maps all values, filtering `null` or `undefined` values out
Example:

```js
const array = [
  { name: 'Henrik' },
  { name: 'Henrik', lastName: 'Panhans' },
  { name: 'Henrik' },
  { name: 'Henrik' }
]
const lastNames = compactMap(array, value => value.lastName) // ["Panhans"]
```