open-index/open-npm huggingface dataset:
npm package: @oncarbon/git-changelog-generator-for-slack
Description: Generate a slack message JSON from git commits
Author: Oncarbon
Latest version: 1.2.1

# Git changelog generator for slack

Generate a slack message (JSON) from Git commits.

## Usage as a library

The message JSON is returned as a JS object.

```ts
import generateSlackMsg from "@oncarbon/git-changelog-generator-for-slack";

const msg = generateSlackMsg({
  from: "sha1",
  to: "HEAD",
  formatting: {
    // Optional github user and repo, used to create links to the commits
    // in the changelog message
    user: "oncarbon",
    repo: "git-changelog-generator-for-slack",
    // Optional texts for the message
    header: "New release",
    preCommitsMsg: "Following changes are now out:",
  },
});
```

## Usage as an executable

The message JSON is printed into stdout. Parameters can be given using either as arguments

```bash
npm i --save @oncarbon/git-changelog-generator-for-slack

npx git-changelog-generator-for-slack \
  --user="oncarbon" \
  --repo="git-changelog-generator-for-slack" \
  --header="New release"
  --preCommitsMsg="Following changes are now out:" \
  sha1 HEAD
```

or as env variables

```bash
npm i --save @oncarbon/git-changelog-generator-for-slack

SLACK_MSG_GH_USER="oncarbon" \
SLACK_MSG_GH_REPO="git-changelog-generator-for-slack" \
SLACK_MSG_HEADER="New release" \
SLACK_MSG_PRECOMMITS_MSG="Following changes are now out:" \
npx git-changelog-generator-for-slack sha1 HEAD
```

## Publishing a new release

```bash
npx np
```
npm package: @oncarbon/ui-components
Description: Oncarbon UI components
Author: Oncarbon
Latest version: 1.7.0

# @oncarbon/ui-components

[Oncarbon](https://oncarbon.app) UI components is a UI component library containing components to display and visualize data from the Oncarbon APIs.

These components are designed to be used in traditional frontend view libraries/frameworks (such as [Stencil](https://stenciljs.com/), React, Angular, or Vue), or on their own through traditional JavaScript in the browser.

## Features

- Tiny, highly optimized components built with [Stencil](https://stenciljs.com/)
- No build or compiling required
- Simply add the static files to any project
- Lazy-loaded components without configuration

## Components

The package consists of following components:

- [`onc-flight-itinerary-info`](./src/components/flight-itinerary-info/readme.md)
- [`onc-flight-itinerary-info-popover`](./src/components/flight-itinerary-info-popover/readme.md)

## How to use

### Vanilla HTML

Easiest way to start using the components is by adding a script tag to the CDN:

```html
<script
  type="module"
  src="https://cdn.jsdelivr.net/npm/@oncarbon/ui-components/dist/oncarbon/oncarbon.esm.js"
></script>
<script
  nomodule
  src="https://cdn.jsdelivr.net/npm/@oncarbon/ui-components/dist/oncarbon/oncarbon.js"
></script>
```

Any Oncarbon UI component added to the webpage will automatically load. This includes writing the component tag directly in HTML, or using JavaScript such as `document.createElement('onc-flight-itinerary-info')`.

Additionally, within this package is a `dist/oncarbon.js` file and accompanying `dist/oncarbon/` directory. These are the same files which are used by the CDN, and they're available in this package so they can be apart of an app's local development.

### Framework Bindings

The `@oncarbon/ui-components` package can be used in simple HTML, or by vanilla JavaScript without any framework at all. Framework specific packages that make it easier to integrate into a framework's traditional ecosystem and patterns are coming soon.

In the meantime, the components can be used with any framework by importing and running the loader before the components are used, and then use them as regular HTML elements:

```ts
// main.js/ts
import { defineCustomElements } from "@oncarbon/ui-components/loader";

defineCustomElements();

// Initialize the application

// some-component.js/ts
render() {
  return (
    <div>
      <onc-flight-itinerary-info-popover itinerary-oncarbon-id="1234">
    </div>
  );
}
```
npm package: @oncarbon/ui-components-angular
Description: Angular specific wrappers for @oncarbon/ui-components
Author: Oncarbon
Latest version: 1.7.0

# @oncarbon/ui-components-angular

[Oncarbon](https://oncarbon.app) Angular specific UI components on top of [@oncarbon/ui-components](https://www.npmjs.com/package/@oncarbon/ui-components) components.

## How to use

The components are exported as an angular module.

```tsx
// my-app.module.ts
import { OncarbonModule } from "@oncarbon/ui-components-angular";

@NgModule({
  imports: [OncarbonModule],
})
export class MyAppModule {}

// my-app.component.html
<onc-flight-itinerary-info-popover itinerary-oncarbon-id="1234">
  <button>Trigger the popover</button>
</onc-flight-itinerary-info-popover>;
```

## Related

- [Oncarbon UI Components](https://www.npmjs.com/package/@oncarbon/ui-components)

## License

- [MIT](https://raw.githubusercontent.com/Oncarbon/ui-components/main/LICENSE)
npm package: @oncarbon/ui-components-react
Description: React specific wrappers for @oncarbon/ui-components
Author: Oncarbon
Latest version: 1.7.0

# @oncarbon/ui-components-react

[Oncarbon](https://oncarbon.app) React specific UI components on top of [@oncarbon/ui-components](https://www.npmjs.com/package/@oncarbon/ui-components) components.

## How to use

The components are exported as an react module.

```tsx
import { OncFlightItineraryInfoPopover } from "@oncarbon/ui-components-react";

<OncFlightItineraryInfoPopover itineraryOncarbonId="1234">
  <button>Trigger the popover</button>
</OncFlightItineraryInfoPopover>;
```

## Related

- [Oncarbon UI Components](https://www.npmjs.com/package/@oncarbon/ui-components)
- [Oncarbon Angular UI Components](https://www.npmjs.com/package/@oncarbon/ui-components-angular)

## License

- [MIT](https://raw.githubusercontent.com/Oncarbon/ui-components/main/LICENSE)
npm package: @once-ui-system/core
Description: Once UI for Next.js NPM package
Author: Once UI
Latest version: 1.6.4

<br/>

<div align="center">
  <picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://docs.once-ui.com/trademarks/icon-dark.svg" width="64" height="64">
    <source media="(prefers-color-scheme: light)" srcset="https://docs.once-ui.com/trademarks/icon-light.svg" width="64" height="64">
    <img alt="Once UI Logo" src="https://docs.once-ui.com/trademarks/icon-dark.svg" width="64" height="64">
  </picture><picture>
    <source media="(prefers-color-scheme: dark)" srcset="https://docs.once-ui.com/trademarks/type-dark.svg" width="200" height="64">
    <source media="(prefers-color-scheme: light)" srcset="https://docs.once-ui.com/trademarks/type-light.svg" width="200" height="64">
    <img alt="Once UI Wordmark" src="https://docs.once-ui.com/trademarks/type-dark.svg" width="200" height="64">
  </picture>

  <br/>

  The indie design system for Next.js apps

  [![npm version](https://img.shields.io/npm/v/@once-ui-system/core.svg)](https://www.npmjs.com/package/@once-ui-system/core)
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](./LICENSE.md)
  [![npm downloads](https://img.shields.io/npm/dm/@once-ui-system/core.svg)](https://www.npmjs.com/package/@once-ui-system/core)
  [![Discord](https://img.shields.io/discord/1083398120035074148?color=7289da&logo=discord&logoColor=white)](https://discord.com/invite/5EyAQ4eNdS)
</div>



<br/>

## Documentation

Learn how to set up and build with Once UI at [docs.once-ui.com](https://docs.once-ui.com/once-ui/quick-start).

## Installation

```bash
npm install @once-ui-system/core
```

## Authors

Built and maintained by [**Lorant One**](https://lorant.one).

## Community

Join the [Design Engineers Club](https://discord.com/invite/5EyAQ4eNdS) for help, support and discussion.

Found a bug? Report it [here](https://github.com/once-ui-system/core/issues/new?labels=bug&template=bug_report.md). Got a feature request? Submit it [here](https://github.com/once-ui-system/core/issues/new?labels=feature%20request&template=feature_request.md).

## Contributing

Please read our [CONTRIBUTING.md](https://github.com/once-ui-system/core/blob/main/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to Once UI.

## Sponsors

Once UI is an indie project. [Sponsor us](https://github.com/sponsors/once-ui-system) and get featured on our site!
npm package: @once-upon/ui-kit
Description: Once Upon's UI kit.
Latest version: 0.0.4

# ui-kit

Once Upon's UI kit.

## Usage

```bash
npm i -S @once-upon/ui-kit

```

```tsx
import { ContextSummary } from "@once-upon/ui-kit";

// Then render...
export default const MyComponent = (tx) => <ContextSummary size="large" tx={tx}>;
```
npm package: @onceforall/webpack-utils-plugin
Description: Bibliothèque de plugins Webpack utilitaires pour les projets OFA
Author: Pascal
Latest version: 2.0.2

# @onceforall/webpack-utils-plugin


Webpack utility plugins library for OFA projects.

Currently includes:
- **VersionJsonPlugin**: Generates a `version.json` file with build info (date, git hash, version, branch).

## Installation

```bash
# Via GitHub (recommended for internal projects)
npm install github:AttestationLegale/webpack-utils-plugin#v1.0.0

# Or via npm if published
npm install @onceforall/webpack-utils-plugin
```


## Available plugins

### VersionJsonPlugin

Automatically generates a `version.json` file containing build information:

- `buildDate`: ISO string of the build date
- `hash`: current git commit hash (or 'unknown' if not available)
- `version`: from your `package.json` (or '0.0.0' if not found)
- `branch`: current git branch (or 'unknown' if not available)

#### Usage

```js
const { VersionJsonPlugin } = require('@onceforall/webpack-utils-plugin');

module.exports = {
  plugins: [
    new VersionJsonPlugin(),
    // ...other plugins
  ]
};
```

#### Available options

You can override detected values by passing options if you already have them:

| Option   | Type   | Default         | Description                        |
|----------|--------|-----------------|------------------------------------|
| `hash`   | string | auto-detected   | Git commit hash                    |
| `version`| string | from package.json| Project version                    |
| `branch` | string | auto-detected   | Git branch name                    |

#### Example with custom values

```js
new VersionJsonPlugin({
  hash: 'custom-hash',
  version: '1.2.3',
  branch: 'main'
})
```

## Output format

The generated `version.json` will look like:

```json
{
  "buildDate": "2025-12-15T12:34:56.000Z",
  "hash": "abc123def456",
  "version": "1.5.4",
  "branch": "feature/simplify-version-json-plugin"
}
```


## Extensibility

This library is ready to include more utility plugins in the future. You can import them from the same package as they are added.


## Publishing and deployment

You can install via GitHub (recommended for internal projects):

```bash
npm install github:AttestationLegale/webpack-utils-plugin#v1.0.0
```

Or add to your `package.json`:

```json
{
  "devDependencies": {
    "@onceforall/webpack-utils-plugin": "github:AttestationLegale/webpack-utils-plugin#v1.0.0"
  }
}
```


## Compatibility

- ✅ Webpack 4+
- ✅ Webpack 5
- ✅ Single-SPA
- ✅ React
- ✅ All types of JavaScript projects
npm package: @oncehub/eslint-config
Description: ESLint configuration for micro-services built using Node.js and TypeScript
Author: Rajat Saxena
Latest version: 5.0.4

# eslint-config-oncehub

[![Build status](https://github.com/scheduleonce/eslint-config-oncehub/actions/workflows/node.js.yml/badge.svg)](https://github.com/scheduleonce/eslint-config-oncehub/actions) [![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)

> ESLint configuration for services built with Node.js and TypeScript.

The configuration exports and extends `@typescript-eslint/recommended`, `eslint-plugin-sonarjs`, `prettier` ESLint configurations.

It is compatible with ESlint >= v9 configuration format (flat config).

## Installation

To install this module, run the following command:

```sh
$ npm install --save-dev @oncehub/eslint-config
```

Note that it requires ESlint v9 and above.

## Usage

Import the package inside of an `eslint.config.js` file and add it into the exported array, like this:

```js
// eslint.config.js
import oncehub from "@oncehub/eslint-config";

export default [...oncehub];
```

## Development

### Tests

Run tests via `npm test`.
The tests are comparing the eslint configuration against a previously saved snapshot of the rules so if you are adding or removing any rule, make sure to update the tests.

As a byproduct, the tests are also checking that the configuration is valid and all is okay with it.
You can also further debug the config via:

```sh
$ npx eslint --debug -c index.js index.js
```

To generate a new rules snapshot file:

```sh
$ npx eslint --print-config index.js -c index.js > output.json
```

Copy the rules from the output file into `test/rules-snapshot.json`

### Deployment

Package is automatically published to npm when [creating a new release](.github/workflows/npm-publish.yml) on Github. Check out the release section in the repo. Read more about releases [here](https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository).

## License

This module is licensed under the MIT License. See the LICENSE file for details.
npm package: @oncehub/markdown-safe
Description: Markdown parser and sanitizer
Latest version: 1.0.0

# markdown-safe

[![Build status](https://github.com/scheduleonce/markdown-safe/actions/workflows/node.js.yml/badge.svg)](https://github.com/scheduleonce/markdown-safe/actions) [![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)

> Thin wrapper for markdown parsing and output sanitization

## Installation

To install this module, run the following command:

```sh
$ npm install --save @oncehub/markdown-safe
```

## Usage

```ts
import { renderMarkdown } from "@oncehub/markdown-safe";

const markdown = `

# This is a heading

This is some **bold** text, and here's a [link](https://example.com).
`;

const safeHtml = renderMarkdown(markdown);

// Now you can use 'safeHtml' (e.g., set it as the innerHTML of an element)
console.log(safeHtml);
```

## Development

### Tests

Run tests via `npm test`.

### Deployment

Package is automatically published to npm when [creating a new release](.github/workflows/npm-publish.yml) on Github. Check out the release section in the repo. Read more about releases [here](https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository).

## License

This module is licensed under the MIT License. See the LICENSE file for details.
npm package: @oncehub/n8n-nodes-oncehub
Description: OnceHub n8n community node package for integration
Author: OnceHub Dev
Latest version: 1.0.4

# n8n-nodes-oncehub

This is an n8n community node. It lets you use OnceHub in your n8n workflows.

OnceHub is a scheduling platform that enables businesses to automate meeting scheduling, manage bookings, and streamline customer interactions.

[n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/reference/license/) workflow automation platform.

[Installation](#installation)  
[Operations](#operations)  
[Credentials](#credentials)  
[Compatibility](#compatibility)  
[Resources](#resources)  

## Installation

Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.

## Operations

The OnceHub Trigger node supports the following webhook events:

| Event | Description |
|-------|-------------|
| **Booking Scheduled** | Triggers when a new booking is scheduled |
| **Booking Canceled** | Triggers when an existing booking is cancelled |
| **Booking Rescheduled** | Triggers when a booking is rescheduled |
| **Booking Reassigned** | Triggers when a booking calendar booking is reassigned |
| **Booking Completed** | Triggers when the date and time for a booking has passed |
| **Booking No-Show** | Triggers when the status of a booking is set to "No-show" |
| **Booking Reschedule Requested** | Triggers when a user requests a guest to reschedule |

## Credentials

To use this node, you need to authenticate with OnceHub using an API key of the OnceHub account.

### Prerequisites

1. Sign up for a [OnceHub](https://www.oncehub.com/) account
2. Navigate to your OnceHub integrations settings

### Setting up API Key Authentication

1. In OnceHub, go to **Integrations** > **API & Webhooks**
2. Generate or copy your API key
3. In n8n, create new OnceHub API credentials
4. Paste your API key into the **API Key** field

## Compatibility

This node was developed and tested with n8n version 2.13.3 and above.

## Resources

* [n8n community nodes documentation](https://docs.n8n.io/integrations/#community-nodes)
* [OnceHub API Documentation](https://developers.oncehub.com/)
* [OnceHub Website](https://www.oncehub.com/)


## License

This project is licensed under the terms of the MIT open source license. Please refer to [MIT](LICENSE) for the full terms.

## Support

- **Documentation**: [OnceHub API Docs](https://developers.oncehub.com)
- **Issues**: [GitHub Issues](https://github.com/scheduleonce/n8n-nodes-oncehub/issues)
- **Community**: [n8n Community Forum](https://community.n8n.io)

## Acknowledgments

- [n8n](https://n8n.io/) - For creating an amazing workflow automation platform
- [OnceHub](https://www.oncehub.com/) - For providing comprehensive API documentation and developer resources
- [n8n Community](https://community.n8n.io/) - For feedback, contributions, and support
- All contributors who help improve this node

---

**Made by the Oncehub team**
npm package: @oncehub/relative-luminance
Description: Relative luminance formula
Latest version: 2.1.6

# relative-luminance

[![Build status](https://github.com/scheduleonce/relative-luminance/actions/workflows/node.js.yml/badge.svg)](https://github.com/scheduleonce/relative-luminance/actions) [![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)

> Calculate the luminance of a given hex color code

[Relative luminance](https://www.w3.org/WAI/GL/wiki/Relative_luminance) is a measure of the brightness of a color that is useful in determining the contrast between two colors. For example, if you want to apply a background color to a button, you would want to calculate the luminance of the color to ensure that the text on the button is readable. If the background color is too light, you would not want to put light text on it, and vice versa. This is especially important for accessibility reasons, as it ensures that people with visual impairments can read the text on your buttons and other UI elements.

### Installation

To install this module, run the following command:

```sh
$ npm install @oncehub/relative-luminance
```

### Usage

To use this module, simply require it in your Node.js application and call the relativeLuminance function with a hex color code as its argument. The function will return either "dark" or "light" depending on the luminance of the color.

```js
import luminance from "@oncehub/relative-luminance";
console.log(luminance("#000000")); // "dark"
console.log(luminance("#ffffff")); // "light"
```

If the input is invalid, the function will throw either "Please provide a hex color code" or "Please provide a valid hex code".

```js
console.log(luminance()); // "Please provide a hex color code"
console.log(luminance("#12345")); // "Please provide a valid hex code"
```

### Development

1. Storybook is [automatically deployed](.github/workflows/deploy.yml) to Github Pages when pushing to main.
2. Package is automatically pushed to npm when [creating a new release](.github/workflows/npm-publish.yml) on Github. Check out the release section in the repo. Read more about releases [here](https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository).

### License

This module is licensed under the MIT License. See the LICENSE file for details.