open-index/open-npm huggingface dataset:
npm package: @jbouduin/holidays
Description: This is a wrapper around `@jbouduin/holidays-lib`, using file system access to read the configuration files.
Author: Johan Bouduin
Latest version: 0.0.1

# @jbouduin/holidays

This is a wrapper around `@jbouduin/holidays-lib`, using file system access to read the configuration files.

## Usage
Using the default language (en):
```typescript
const holidays = new Holidays('assetsroot');
// retrieve the supported languages
const supportedLanguages = await holidays.getSupportedLanguages();
// retrieve the hierarchies
const hierarchies = await holidays.getHierarchyTree();
// retrieve the holidays in 2022 for a munich in bavaria in germany
const holidaysForMunich = await  holidays.getHolidays('de/by/mu', 2022, false);
// retrieve the holidays in 2022 for bavaria in germany, including all local holidays
const holidaysForBavaria = await holidays.getHolidays('de/by', 2022, true);
// retrieve the holidays in 2022 for germany, leaving out all regional and local holidays
const holidaysForGermany = await holidays.getHolidays('de', 2022, false);
```

In order to retrieve the data in another language (e.g. German), use the language parameter when instantiating Holidays:
```typescript
const holidays = new Holidays('../../holidays-lib/lib/assets', 'de');
```

A sample implementation can be found [here](https://github.com/jbouduin/holiday-server)

## Prerequisites
The implementation of the file provider expects a directory structure like this below the assetsroot.

```text
│   configurations.json
│   languages.json
├───configurations
│       ae.json
│       ...
│       za.json
└───translations
        hierarchy.de.json
        hierarchy.en.json
        hierarchy.fr.json
        hierarchy.json
        hierarchy.nl.json
        hierarchy.pt.json
        holiday.de.json
        holiday.en.json
        holiday.fr.json
        holiday.json
        holiday.nl.json
        holiday.pt.json
        holiday.sv.json
```
npm package: @jbouduin/holidays-http
Description: This is a wrapper around `@jbouduin/holidays-lib`, using http calls (Axios) to fetch the configuration files.
Author: Johan Bouduin
Latest version: 0.0.1

# @jbouduin/holidays

This is a wrapper around `@jbouduin/holidays-lib`, using http calls (Axios) to fetch the configuration files.

## Usage

Using the default language (en):
```typescript
// instantiate the wrapper
const holidays = new HolidaysHttp('https://jbouduin.github.io/holiday-site/', 'assets/holidays');
// retrieve the supported languages
const supportedLanguages = await holidays.getSupportedLanguages();
// retrieve retrieve the hierarchies
const hierarchies = await holidays.getHierarchyTree();
// retrieve the holidays in 2022 for a munich in bavaria in germany
const holidaysForMunich = await holidays.getHolidays('de/by/mu', 2022, false);
// retrieve the holidays in 2022 for bavaria in germany, including all local holidays
const holidaysForBavaria = await holidays.getHolidays('de/by', 2022, true);
// retrieve the holidays in 2022 for germany, leaving out all regional and local holidays
const holidaysForGermany = await holidays.getHolidays('de', 2022, false);
```

In order to retrieve the data in another language (e.g. German), use the language parameter when instantiating Holidays:
```typescript
const holidays = new Holidays('https://jbouduin.github.io/holiday-site/', 'assets/holidays', 'de');
```

A sample implementation can be found [here](https://github.com/jbouduin/holiday-server)

## Prerequisites
The implementation of the file provider expects a directory structure like this below the assetsroot on the host.

```text
│   configurations.json
│   languages.json
├───configurations
│       ae.json
│       ...
│       za.json
└───translations
        hierarchy.de.json
        hierarchy.en.json
        hierarchy.fr.json
        hierarchy.json
        hierarchy.nl.json
        hierarchy.pt.json
        holiday.de.json
        holiday.en.json
        holiday.fr.json
        holiday.json
        holiday.nl.json
        holiday.pt.json
        holiday.sv.json
```
npm package: @jbouduin/holidays-lib
Description: Get World-Wide Holidays
Author: Johan Bouduin
Latest version: 0.0.1

# @jbouduin/holidays

[![Travis (.org)](https://img.shields.io/travis/jbouduin/holiday)](https://travis-ci.org/github/jbouduin/holiday)
[![Coverage Status](https://coveralls.io/repos/github/jbouduin/holiday/badge.svg?branch=master)](https://coveralls.io/github/jbouduin/holiday?branch=master)
[![Open issues](https://img.shields.io/github/issues/jbouduin/holiday)](https://github.com/jbouduin/holiday/issues)
[![license](https://img.shields.io/github/license/jbouduin/holiday)](/LICENSE)
[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lerna.js.org/)

This library gives you a list of holidays for a given year and location. The definitions for calculating the holidays are stored in [configuration files](/docs/configuration/configuration.md).

The original idea comes from [Jollyday](https://github.com/svendiedrichsen/jollyday), a Java project offering the same functionality.

## Status
Following [types of holidays](https://github.com/jbouduin/holiday/blob/master/packages/holidays-lib/src/configuration/types/holiday-type.ts) are planned/implemented

| Enum value             | Description                                              | Implementation status |
| ---------------------- | -------------------------------------------------------- | :-------------------: |
| CHRISTIAN              | [Details](/docs/configuration/christian.md)              | :white_check_mark:    |
| ETHIOPIAN_ORTHODOX     | [Details](/docs/configuration/ethiopian-orthodox.md)     | :x:                   |
| FIXED_DATE             | [Details](/docs/configuration/fixed-date.md)             | :white_check_mark:    |
| FIXED_WEEKDAY          | [Details](/docs/configuration/fixed-weekday.md)          | :white_check_mark:    |
| HEBREW                 | [Details](/docs/configuration/hebrew.md)                 | :x:                   |
| ISLAMIC                | [Details](/docs/configuration/islamic.md)                | :x:                   |
| RELATIVE_BETWEEN_FIXED | [Details](/docs/configuration/relative-between-fixed.md) | :white_check_mark:    |
| RELATIVE_TO_DATE       | [Details](/docs/configuration/relative-to-date.md)       | :white_check_mark:    |
| RELATIVE_TO_WEEKDAY    |  [Details](/docs/configuration/relative-to-weekday.md)   | :white_check_mark:    |

## Demo Site
Source: [holiday-site](https://github.jbouduin/holiday-site)

Demo: [here](https://jbouduin.github.io/holiday-site/)

![demo](/docs/images/demo.jpg)

## Demo Service Implementation
Source [holiday-server](https://github.com/jbouduin/holiday-server)

![call](/docs/images/api-server.jpg)
npm package: @jboxman/asciidoc-aware-link-check
Description: Test the links in your Asciidoc files.
Author: Jason Boxman
Latest version: 2.0.0

Why
====

I need to be able to validate external links that might be derived from attributes.

With this application, you can validate any `link` directive that references a URL with either an HTTP or HTTPS method.

Installation
====

To install the application, complete the following steps:

1. `npm i -g @jboxman/asciidoc-aware-link-check`

Usage
====

To learn about supported options, enter the following command:

```
$ asciidoc-aware-link-check --help
Usage: asciidoc-aware-link-check [options]

Options:
  -a, --attributes [attributes...]  Optional: Attributes such as "product-version=1".
  --csv                             Output to stdout in CSV format. Outputs BROKEN_LINK,MODULE,LINE_NUM. This option
                                    implies --no-progress and --quiet.
  -n, --dry                         Dry run.
  --no-progress                     Hide progress bar.
  -q, --quiet                       Display errors only.
  --stdin                           Read file list from stdin instead of a _topic_map.yml file. (default: false)
  --topic <path>                    Optional: Path to ascii_binder _topic_map.yml file.
  -h, --help                        display help for command
```

To validate links, enter the following command. Replace `<ASSEMBLY_FILE>` with the file name that includes any `include` statements needed to successfully build your documentation.

```
$ echo <ASSEMBLY_FILE> | asciidoc-aware-link-check --stdin
```

To validate links for your entire documentation set, you might enter the following the command. Replace `<ASSEMBLY_DIR>` with the directory where you save your assembly files.

```
$ find <ASSEMBLY_DIR> -type f -name '*.adoc' | asciidoc-aware-link-check --stdin
```

Known issues
====

* A `HTTP/1.1 301 Moved Permanently` is considered a broken link.
* Any links within a listing block are ignored.

TODO
====

* Finish tests

Credits
====

This work is based on the [asciidoc-link-check](https://github.com/gaurav-nelson/asciidoc-link-check/) module.
npm package: @jboxman/asciidoc-validate-yaml
Description: Validate the YAML in your code listing blocks.
Author: Jason Boxman
Latest version: 1.0.1

# asciidoc-validate-yaml

This tool validates the syntax of YAML in AsciiDoc files.

## Motivation

When writing documentation, it is vital that any YAML samples presented to a user are valid.
Because AsciiDoc is a structured, plain text documentation format, it is possible to extract and validate YAML.

## Prerequisites

- [Node.js](https://nodejs.org/en/download/) >= 10.x

Or you might want to install Node.js using [nvm](https://github.com/nvm-sh/nvm/blob/master/README.md) or some other version manager.

## Installation

To install the application, complete the following step:

- `npm i -g @jboxman/asciidoc-validate-yaml`

## Requirements

The YAML source must be placed within a listing block with `yaml` syntax highlighting.

```
[source,yaml]
----
key1:
- alpha
- delta
key2:
  key3: true
  key4: abc
----
```

Each YAML block can use call outs if necessary.

```
[source,yaml]
----
bigKey: some text <1>
----
<1> This describes the key
```

## Usage

The help output describes the available options.

```
Usage: asciidoc-validate-yaml [options]

Validate YAML listing blocks in Asciidoc files

Options:
  -a, --attributes [attributes...]  Optional: Attributes such as product-version=1
  --pass                            Always succeed regardless of any validation failures (default: false)
  --stdin                           Read file list from stdin instead of _topic_map.yml (default: false)
  --topic <path>                    Optional: Path to ascii_binder _topic_map.yml file
  -h, --help                        display help for command
```

For example, the following is the most common usage:

```
$ find . -type f -name '*.adoc' | asciidoc-validate-yaml --stdin
```

Example output:

```
Scanning .../networking/configuring-ipfailover.adoc
modules/nw-ipfailover-configuring-vrrp-preemption.adoc [18]: OK
modules/nw-ipfailover-configuring-more-than-254.adoc [28]: OK
modules/nw-ipfailover-configuration.adoc [40]: OK
modules/nw-ipfailover-configuring-check-notify-scripts.adoc [76]: OK
Scanning .../networking/multiple_networks/assigning-a-secondary-network-to-a-vrf.adoc
modules/cnf-assigning-a-secondary-network-to-a-vrf.adoc [39]: OK
Scanning .../networking/multiple_networks/edit-additional-network.adoc
Scanning .../networking/multiple_networks/configuring-multi-network-policy.adoc
modules/nw-multi-network-policy-differences.adoc [6]: OK
modules/nw-multi-network-policy-differences.adoc [16]: OK
```

## Alternatives

You can use the AsciiDoc `include` directive to include YAML files instead of including
YAML content directly in an AsciiDoc file. In such cases, you can validate the YAML
directly without having to parse the AsciiDoc first.

## Known issues

For known issues, see [GitHub](https://github.com/jboxman/asciidoc-validate-yaml/issues).
npm package: @jbpartin/react-carousel
Description: A simple react component that allows you to easily make a carousel slider.
Author: JBPartin
Latest version: 1.0.4

# react-carousel

> A simple react component that allows you to easily make a carousel slider.

[![NPM](https://img.shields.io/npm/v/react-carousel.svg)](https://www.npmjs.com/package/react-carousel) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install @jbpartin/react-carousel
```

## Usage

```jsx
import React, { Component } from 'react'
import Carousel from '@jbpartin/react-carousel'
import ' @jbpartin/react-carousel/dist/index.css'

class Example extends Component {
  render() {
    return (
      <Carousel
        responsive={{
          large: {
            toShow: 5,
            toSlide: 5
          },
          desktop: {
            toShow: 4,
            toSlide: 4
          },
          ipad: {
            toShow: 3,
            toSlide: 3
          },
          mobile: {
            toShow: 2,
            toSlide: 2
          }
        }}
      >
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </Carousel>
    )
  }
}
```

## License

MIT © [JBPartin](https://github.com/JBPartin)
npm package: @jbpionnier/ddd
Description: Domain-Driven Design TypeScript
Author: Jean-Baptiste Pionnier
Latest version: 1.2.4

# ts-ddd

[![npm version](https://badge.fury.io/js/%40jbpionnier%2Fddd.svg)](https://badge.fury.io/js/%40jbpionnier%2Fddd)
[![Build Status](https://travis-ci.org/jbpionnier/ts-ddd.svg?branch=master)](https://travis-ci.org/jbpionnier/ts-ddd)
[![npm](https://img.shields.io/npm/dm/%40jbpionnier%2Fddd.svg)](https://npm-stat.com/charts.html?package=%40jbpionnier%2Fddd)

Utilities types for Domain-Driven Design in TypeScript

> [!WARNING]
> Work in progress.

## Installation

```bash
npm install @jbpionnier/ddd
```

## Usage

 - ICommandBus / Command / CommandHandler
 - IQueryBus / Query / QueryHandler
 - IEventBus / Event / EventHandler
 - AggregateRoot
 - DomainEvent / DomainEventStream
 - Entity / ValueObject
 - Repository
 - EventStream / Saga
 - EventStore

### ICommandBus / Command / CommandHandler

```typescript
import { ICommandBus, ICommandHandler, Command } from '@jbpionnier/ddd'

class MyCommand implements Command {
  constructor(public readonly id: string) {}
}

@CommandHandler(MyCommand)
class MyCommandHandler implements ICommandHandler<ImportMediaCommand> {
  handle(command: MyCommand): void {
    console.log('Handling command', command)
  }
}
// Create the command bus
const commandBus: ICommandBus = new CommandBus()
commandBus.register(new MyCommandHandler())

// Execute the command
commandBus.execute(new MyCommand('123'))
```
npm package: @jbpionnier/eslint-config-node
Description: ESLint/TSLint Sharable Config
Author: Jean-Baptiste Pionnier
Latest version: 1.7.9

# :house: eslint-config-node

[![npm version](https://badge.fury.io/js/%40jbpionnier%2Feslint-config-node.svg)](https://badge.fury.io/js/%40jbpionnier%2Feslint-config-node)

> A linter Shareable Config for [ESlint](http://eslint.org/docs/developer-guide/shareable-configs) and [TSLint](https://palantir.github.io/tslint/usage/configuration/)


`npm install --save-dev @jbpionnier/eslint-config-node`

## :smiley_cat: ESLint

We export three [ESLint](http://eslint.org/) configurations for your usage.

Create a file named `.eslintrc` in your project:

```js
{
  "extends": "@jbpionnier/eslint-config-node"
  // Your overrides...
}
```

### :frog: eslint-config-node

Our default export contains all of our ESLint rules, including ECMAScript 6+.


### :ok_woman: eslint-config-node/flow (deprecated)

Lints ECMAScript 6+ with [Flow](https://flowtype.org/) support. Requires `babel-eslint` and [`eslint-plugin-flowtype`](https://github.com/gajus/eslint-plugin-flowtype)

### :hospital: eslint-config-node/legacy

Lints ES5 and below.

See [ESlint config docs](http://eslint.org/docs/user-guide/configuring#extending-configuration-files)
for more information.


## :lollipop: TSLint

_WTF ? tslint config in eslint config module ? :persevere:_

We export two [TSLint](https://palantir.github.io/tslint/) configurations for your usage.

Create a file named `tslint.json` in your project:

```js
{
  "extends": "@jbpionnier/eslint-config-node/tslint-strict"
  // Your overrides...
}

```

### :guardsman: eslint-config-node/tslint-strict

Lints Typescript with [type check](https://palantir.github.io/tslint/usage/type-checking/)

Use the --type-check flag to make sure your program has no type errors.

```json
{
  "lint": "tslint -p . 'src/**/*.ts'"
}
```

### :v: eslint-config-node/tslint-immutable

Lints Typescript with immutable rules with : 
 - [tslint-immutable](https://github.com/jonaskello/tslint-immutable)
 - [tslint-consistent-codestyle](https://github.com/ajafff/tslint-consistent-codestyle)
 - [SonarTS](https://github.com/SonarSource/SonarTS/)


## :memo: License

[MIT](http://opensource.org/licenses/MIT)