open-index/open-npm huggingface dataset:
npm package: @jahands/otel-cf-workers
Description: Re-packaged version of @microlabs/otel-cf-workers bundled with @opentelemetry/api to work around vitest issues
Author: Jacob Hands
Latest version: 0.1.25

# @jahands/otel-cf-workers

A bundled version of [@microlabs/otel-cf-workers](https://www.npmjs.com/package/@microlabs/otel-cf-workers) to work around issues with [@cloudflare/vitest-pool-workers](https://www.npmjs.com/package/@cloudflare/vitest-pool-workers)

- https://github.com/evanderkoogh/otel-cf-workers/issues/173
- https://github.com/cloudflare/workers-sdk/issues/6581

## IMPORTANT

Please note that this is primarily intended for my own use. You may want to copy [this package](https://github.com/jahands/workers-packages/blob/main/packages/otel-cf-workers) to your own repo rather than depending on this library directly.

## Usage

### Install

```shell
# Install using your favorite package manager:
npm install @jahands/otel-cf-workers
pnpm add @jahands/otel-cf-workers
bun add @jahands/otel-cf-workers
yarn add @jahands/otel-cf-workers
```

### Example

```ts
import { instrument, ResolveConfigFn, trace } from '@jahands/otel-cf-workers'

export interface Env {
  HONEYCOMB_API_KEY: string
  OTEL_TEST: KVNamespace
}

const handler = {
  async fetch(request: Request, env: Env, ctx: ExecutionContext): Promise<Response> {
    await fetch('https://cloudflare.com')

    const greeting = "G'day World"
    trace.getActiveSpan()?.setAttribute('greeting', greeting)
    ctx.waitUntil(fetch('https://workers.dev'))
    return new Response(`${greeting}!`)
  }
}

const config: ResolveConfigFn = (env: Env, _trigger) => {
  return {
    exporter: {
      url: 'https://api.honeycomb.io/v1/traces',
      headers: { 'x-honeycomb-team': env.HONEYCOMB_API_KEY }
    },
    service: { name: 'greetings' }
  }
}

export default instrument(handler, config)
```

For more details, refer to documentation in [@microlabs/otel-cf-workers](https://www.npmjs.com/package/@microlabs/otel-cf-workers)
npm package: @jahdaic/react-scripts
Description: Custom configuration and scripts for Create React App.
Latest version: 1.1.0

# react-scripts

This package includes scripts and configuration used by [Create React App](https://github.com/facebook/create-react-app).<br>
Please refer to its documentation:

* [Getting Started](https://github.com/facebook/create-react-app/blob/master/README.md#getting-started) – How to create a new app.
* [User Guide](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md) – How to develop apps bootstrapped with Create React App.
npm package: @jahdielvargas/platzom
Description: Traductor de idioma platzom
Author: Jahdiel Vargas
Latest version: 0.1.0

# Platzom
Platzom es un idioma inventado para el curso de
[Fundamentos de Javascript](https://www.platzi.com/js)
en [Platzi](https://www.platzi.com), el mejor lugar de
educación online.

## Descripción del idioma
- Si la palabra termina con "ar", se le quitan esas dos letras
- Si la palabra inicia con "z", se le añade "pe" al final
- Si la palabra tiene 10 o mas letras, se debe partir en dos por la mitad y unir con un guion
- Si la palabra es palindromo, obvia todas las reglas anteriores y se devuelve intercalada por mayusculas y minusculas

## Instalación

```
npm  install platzom
```
## Uso

```
import platzom from 'platzom'

platzom("Programar") // Program
platzom("Zorro") // Zorrope
platzom("Zarpar") // Zarppe
platzom("abecedario") // abece-dario
platzom("sometemos") // SoMeTeMoS
```
## Créditos
- [Jahdiel Vargas](https://twitter.com/vargas_jahdiel)

## Licencia
[MIT](https://opensource.org/licenses/MIT)
npm package: @jahed/aws-lambda-package
Description: Packages your code to be executed on AWS Lambda.
Author: Jahed Ahmed
Latest version: 1.0.4
Deprecated: This package is no longer maintained. Please look for alternatives or bring it in to your project and maintain it yourself.

# @jahed/aws-lambda-package

Packages your NodeJS code to be executed on AWS Lambda.

[![Travis](https://img.shields.io/travis/jahed/node-aws-lambda-package.svg)](https://travis-ci.org/jahed/node-aws-lambda-package)
[![npm](https://img.shields.io/npm/v/@jahed/aws-lambda-package.svg)](https://www.npmjs.com/package/@jahed/aws-lambda-package)
[![Patreon](https://img.shields.io/badge/patreon-donate-f96854.svg)](https://www.patreon.com/jahed)
[![Liberapay](https://img.shields.io/badge/liberapay-donate-d9b113.svg)](https://liberapay.com/jahed)

## Installation

```bash
yarn add -D @jahed/aws-lambda-package
```

### Workspaces

If you're using workspaces, install it at the root package.

```bash
yarn add -W -D @jahed/aws-lambda-package
```

## Usage

### Building Single Packages

Running `aws-lambda-package` will do the following:

- Run `yarn pack` to create a `tgz` similar to `yarn publish`
- Extract the `tgz` to a temporary directory
- Run `yarn install --production` on the directory
- Create a ZIP of the directory's contents on your current working directory.
- You will have to upload your ZIP to AWS Lambda or S3
  manually (or using your own script)

```bash
yarn aws-lambda-package
```

If you're using workspaces and just want to build one workspace, you can do
the following:

```bash
yarn workspaces your-package-name aws-lambda-package
```

### Building all your workspaces

You can build all of your workspaces at once by running `aws-lambda-workspaces`
at the root package.

```bash
yarn aws-lambda-workspaces
```

## Caveats

- To ensure full compatibility, you may need to run `aws-lambda-package` in an
  environment similar to AWS Lambda. Try out 
  [`docker-lambda`](https://github.com/lambci/docker-lambda) if you run into
  this issue.

## Reasoning

A lot of ZIP tools assume Windows line separators (`\`) are okay. AWS Lambda 
however doesn't support these separators. So I made this project to work
across systems and remove as many caveats as possible.

## License

[MIT](LICENSE)
npm package: @jahed/bem
Description: Functions for using BEM in CSS.
Author: Jahed Ahmed
Latest version: 1.2.12

# @jahed/bem

[![Travis](https://img.shields.io/travis/jahed/bem.svg)](https://travis-ci.org/jahed/bem)
[![npm](https://img.shields.io/npm/v/@jahed/bem.svg)](https://www.npmjs.com/package/@jahed/bem)
[![Patreon](https://img.shields.io/badge/patreon-donate-f96854.svg)](https://www.patreon.com/jahed)
[![Liberapay](https://img.shields.io/badge/liberapay-donate-d9b113.svg)](https://liberapay.com/jahed)

Functions for using BEM in CSS and CSS Modules.

- [Using CSS Modules with BEM](https://jahed.dev/2018/02/09/using-css-modules-with-bem/)
- [@jahed/bem, A Brief History](https://jahed.dev/2018/02/09/jahed-bem-a-brief-history/)

## Installation

```bash
# NPM
npm install @jahed/bem

# Yarn
yarn add @jahed/bem
```

## Usage

```js
import { bem } from '@jahed/bem'

const className = ".MyElement .MyElement--color--red .MyElement--active"
// same as
const className = bem('MyElement', {
  color: 'red',
  active: true,
  disabled: false
})
```

For more thorough examples, see the tests and blog posts linked above.

## API

For complete API documentation, [see the documentation website](https://jahed.github.io/bem/).

**`bem(block: string, modifiers: object<string, (boolean|number|string)?>): string`**

Generates BEM-compliant class names for the given `block` (or `element`) with modifiers.

[Examples](src/bemModule.test.ts)

---

**`bemModule(cssModuleLocals): bem`**

Generates a `bem`-compliant function which maps the resulting class names to the given
`cssModuleLocals` map.

[Examples](src/bemModule.test.ts)

---

**`join(...string): string`**

Joins the given `string`s with a whitespace (` `), filtering any falsy
values (such as `undefined`, `null`, `false`, `''`).

[Examples](src/join.test.ts)

---

## License

[MIT](LICENSE)
npm package: @jahed/promises
Description: Functions for Promises
Author: Jahed Ahmed
Latest version: 1.0.2

# @jahed/promises

[![Travis](https://img.shields.io/travis/jahed/promises.svg)](https://travis-ci.org/jahed/promises)
[![npm](https://img.shields.io/npm/v/@jahed/promises.svg)](https://www.npmjs.com/package/@jahed/promises)
[![Patreon](https://img.shields.io/badge/patreon-donate-f96854.svg)](https://www.patreon.com/jahed)
[![Liberapay](https://img.shields.io/badge/liberapay-donate-d9b113.svg)](https://liberapay.com/jahed)

Functions for Promises. Use Promises as control flow and worry less about
what's asynchronous and what isn't.

Changing a component from sync to async should not require a large rewrite. By
using functions, we can abstract those differences out for a more consistent and
flexible approach.

### Useful Links

- [Documentation](https://jahed.github.io/promises)

## Installation

```bash
# Yarn
yarn add @jahed/promises

# NPM
npm install @jahed/promises
```

## Usage

See the [documentation](https://jahed.github.io/promises) and
`src/[function].test.js` for usage examples.

Here's a bigger abstract example using multiple functions together.

```js
import { 
  compose, 
  relay, 
  not, 
  branch, 
  waterfall, 
  every, 
  doNothing 
} from '@jahed/promises'

const setup = waterfall(
  input => getEnvironment(input),
  relay(
    env => clear(env),
    env => make(env)
  )
)

const doSomething = compose(
  relay(
    input => not(alreadyDidIt(input))
  ),
  branch(
    compose(
      waterfall(
        input => every({
          input: input,
          env: setup(input)
        }),
        args => doSomethingBigger(args)
      ),
      branch(
        result => {
          console.log('did something big', { result })
        },
        error => {
          console.error('failed hard.', error)
          process.exit(1)
        }
      )
    ),
    doNothing()
  )
)

doSomething('input')
```

## Contributions

This package is a work-in-progress and will grow as more needs arise.

Is there a function or use-case you have that's not covered by this package?
Submit an issue or pull request with your ideas and let's discuss!

## License

See `LICENSE` file.
npm package: @jahed/sparql-engine
Description: SPARQL query engine for servers and web browsers.
Author: Jahed Ahmed
Latest version: 0.14.0

# @jahed/sparql-engine

[![npm](https://img.shields.io/npm/v/@jahed/sparql-engine.svg)](https://www.npmjs.com/package/@jahed/sparql-engine)
[![author](https://img.shields.io/badge/author-jahed-%23007fff)](https://jahed.dev/)

SPARQL query engine for servers and web browsers.

This project is a continuation of [Callidon/sparql-engine](https://github.com/Callidon/sparql-engine) which is no longer maintained. For additional history, check out that project's repository.

The aim of this project is to use newer Web APIs, language features, and make the project easier to use and maintain.

## Installation

```sh
npm install @jahed/sparql-engine sparqljs
```

Override `rdf-data-factory` to use v2 in your `package.json`.

```json
{
  "overrides": {
    "sparqljs": {
      "rdf-data-factory": "^2"
    }
  }
}
```

## Usage

```ts
import type { ExecutionContext } from "@jahed/sparql-engine/engine/context/execution-context.js";
import type { PipelineInput } from "@jahed/sparql-engine/engine/pipeline/pipeline-engine.js";
import SparqlEngineGraph from "@jahed/sparql-engine/rdf/graph.js";
import HashMapDataset from "@jahed/sparql-engine/rdf/hashmap-dataset.js";
import { RDF } from "@jahed/sparql-engine/utils/rdf.js";
import type { EngineTriple } from "@jahed/sparql-engine/types.js";
import { Parser } from "sparqljs";

export class MySparqlGraph extends SparqlEngineGraph {
  *find(
    triple: EngineTriple,
    context: ExecutionContext
  ): PipelineInput<EngineTriple> {
    yield RDF.quad(
      RDF.namedNode("subject"),
      RDF.namedNode("predicate"),
      RDF.namedNode("object")
    );
  }
  async insert(triple: EngineTriple): Promise<void> {}
  async delete(triple: EngineTriple): Promise<void> {}
  async clear(): Promise<void> {}
}

const defaultGraph = new MySparqlGraph();
const dataset = new HashMapDataset(defaultGraph);
const planner = new PlanBuilder(dataset);
const parser = new Parser({ factory: RDF });
const query = parser.parse("<sparql>");

try {
  for await (const row of planner.build(query)) {
    // row found
  }
  // query completed
} catch (error) {
  // query has errored
}
```

## Alternative Pipelines

Pipelines are used to process results. To use an alternative pipeline, change it before doing anything else with the engine.

```ts
import { Pipeline } from "@jahed/sparql-engine/engine/pipeline/pipeline.ts"
import RxjsPipeline from from "@jahed/sparql-engine/engine/pipeline/rxjs-pipeline.ts"

// Install rxjs to use the RxjsPipeline.
Pipeline.setInstance(new RxjsPipeline());
```

## License

[MIT](LICENSE).
npm package: @jahed/webpack-html-meta
Description: Meta and Favicon Generator for Webpack
Author: Jahed Ahmed
Latest version: 4.0.1
Deprecated: This package is no longer maintained. Please fork it or move to something else like https://github.com/jantimon/favicons-webpack-plugin.

# webpack-html-meta

[![Travis](https://img.shields.io/travis/jahed/webpack-html-meta.svg)](https://travis-ci.org/jahed/webpack-html-meta)
[![npm](https://img.shields.io/npm/v/@jahed/webpack-html-meta.svg)](https://www.npmjs.com/package/@jahed/webpack-html-meta)
[![Patreon](https://img.shields.io/badge/patreon-donate-f96854.svg)](https://www.patreon.com/jahed)
[![Liberapay](https://img.shields.io/badge/liberapay-donate-d9b113.svg)](https://liberapay.com/jahed)

Generate Meta tags and Favicons for your HTML as part of your Webpack build.

The Favicons are generated using [`favicons`](https://github.com/evilebottnawi/favicons) which takes one icon and
generates icons relevant to individual platforms (Android, iOS, Windows, Chrome, etc.).

## Installation

Installation depends on your package manager of choice. Ensure you have also
installed the peer dependencies. If you haven't, you'll see a warning.

### Yarn

```bash
yarn add --dev @jahed/webpack-html-meta
```


### NPM

```bash
npm install --save-dev @jahed/webpack-html-meta
```

## Example

Here's how you might use this plugin in your `webpack.config.js`:

```js
import { HtmlMetaPlugin } from '@jahed/webpack-html-meta'

// ...
plugins: [
    //...
    new HtmlMetaPlugin({
        faviconSource: './favicon.png',
        manifest: { 
            appName: 'My App',
            icons: {
                android: false
            }
        })
    })
    //...
]
//...
```

For a full list of `manifest` options, see the docs for [`favicons`](https://github.com/evilebottnawi/favicons).
npm package: @jahed/webpack-sitemap
Description: Sitemap Generator for Webpack
Author: Jahed Ahmed
Latest version: 1.0.5
Deprecated: This package is no longer maintained. Please fork it or move to something else.

# webpack-sitemap

[![Travis](https://img.shields.io/travis/jahed/webpack-sitemap.svg)](https://travis-ci.org/jahed/webpack-sitemap)
[![npm](https://img.shields.io/npm/v/@jahed/webpack-sitemap.svg)](https://www.npmjs.com/package/@jahed/webpack-sitemap)
[![Patreon](https://img.shields.io/badge/patreon-donate-f96854.svg)](https://www.patreon.com/jahed)
[![Liberapay](https://img.shields.io/badge/liberapay-donate-d9b113.svg)](https://liberapay.com/jahed)

Generate Sitemaps as part of your Webpack build.

## Installation

```bash
# Yarn
yarn add --dev @jahed/webpack-sitemap

# NPM
npm install --save-dev @jahed/webpack-sitemap
```

## Example

Here's how you might use this plugin in your `webpack.config.js`:

```js
import { SitemapPlugin } from '@jahed/webpack-sitemap'

// ...
plugins: [
    //...
    new SitemapPlugin({
        basename: 'https://example.com',
        sitemapindex: {
            'app': {
                urlset: {
                    '/some/page': {
                        priority: 0.9
                    }
                }
            }
        },
        defaults: {
            sitemap: {
                lastmod: new Date().toISOString()
            },
            url: {
                lastmod: new Date().toISOString(),
                priority: 0.5,
                changefreq: 'daily'
            }
        }
    })
    //...
]
//...
```

This will generated the following:


```xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- /sitemap.xml -->
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <sitemap>
        <loc>https://example.com/sitemaps/app.xml</loc>
        <lastmod>2017-11-29T00:39:29.258Z</lastmod>
    </sitemap>
</sitemapindex>
```

```xml
<?xml version="1.0" encoding="UTF-8"?>
<!-- /sitemaps/app.xml -->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    <url>
        <loc>https://example.com/some/page</loc>
        <lastmod>2017-11-29T00:39:29.258Z</lastmod>
        <changefreq>daily</changefreq>
        <priority>0.9</priority>
    </url>
</urlset>

```
npm package: @jahia/design-system-kit
Description: ## Author
Latest version: 1.2.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

<h1 align="center">Welcome to @jahia/design-system-kit 👋</h1>
<p>
  <img alt="Version" src="https://img.shields.io/badge/version-1.0.0-blue.svg?cacheSeconds=2592000" />
  <a href="https://github.com/intuit/auto">
    <img src="https://camo.githubusercontent.com/ef8d9d752768e40279d415d31cd5d23b30dd0894/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f72656c656173652d6175746f2e7376673f636f6c6f72413d38383838383826636f6c6f72423d394230363541266c6162656c3d6175746f" alt="Auto Release" data-canonical-src="https://img.shields.io/badge/release-auto.svg?colorA=888888&amp;colorB=9B065A&amp;label=auto" style="max-width:100%;">
  </a>
  <a href="../../LICENSE.txt" target="_blank">
    <img alt="License: JAHIA'S DUAL LICENSING" src="https://img.shields.io/badge/License-JAHIA'S DUAL LICENSING-yellow.svg" />
  </a>
  <a href="https://twitter.com/Jahia" target="_blank">
    <img alt="Twitter: Jahia" src="https://img.shields.io/twitter/follow/Jahia.svg?style=social" />
  </a>
</p>

> Old design system of Jahia Group (based on material-ui v3)

# This pakage is DEPRECATED, do not use it anymore

## Author

👤 **Jahia**

* Website: https://www.jahia.com
* Twitter: [@Jahia](https://twitter.com/Jahia)
* Github: [@Jahia](https://github.com/Jahia)

## Show your support

Give a ⭐️ if this project helped you!

## 🤝 Contributing

Contributions, issues and feature requests are welcome!<br />Feel free to check [issues page](https://jira.jahia.org/).

## 📝 License

Copyright © 2019 [Jahia](https://github.com/Jahia).<br />
This project is [JAHIA'S DUAL LICENSING](../../LICENSE.txt) licensed.

***
_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_
npm package: @jahia/icons
Description: ## Author
Latest version: 1.1.2
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

<h1 align="center">Welcome to @jahia/icons 👋</h1>
<p>
  <img alt="Version" src="https://img.shields.io/badge/version-1.0.0-blue.svg?cacheSeconds=2592000" />
  <a href="../../LICENSE.txt" target="_blank">
    <img alt="License: JAHIA'S DUAL LICENSING" src="https://img.shields.io/badge/License-JAHIA'S DUAL LICENSING-yellow.svg" />
  </a>
  <a href="https://twitter.com/Jahia" target="_blank">
    <img alt="Twitter: Jahia" src="https://img.shields.io/twitter/follow/Jahia.svg?style=social" />
  </a>
</p>

> Old icons of Jahia Group (based on material-ui/icons v3)

# This pakage is DEPRECATED, do not use it anymore

## Author

👤 **Jahia**

* Website: https://www.jahia.com
* Twitter: [@Jahia](https://twitter.com/Jahia)
* Github: [@Jahia](https://github.com/Jahia)

## 🤝 Contributing

Contributions, issues and feature requests are welcome!<br />Feel free to check [issues page](https://jira.jahia.org/).

## Show your support

Give a ⭐️ if this project helped you!

## 📝 License

Copyright © 2019 [Jahia](https://github.com/Jahia).<br />
This project is [JAHIA'S DUAL LICENSING](../../LICENSE.txt) licensed.

***
_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_
npm package: @jahia/jcontent-cypress
Description: [![CircleCI](https://circleci.com/gh/Jahia/jcontent/tree/master.svg?style=svg)](https://circleci.com/gh/Jahia/jcontent/tree/master) ![GitHub tag (latest by version)](https://img.shields.io/github/v/tag/Jahia/jContent?sort=semver) ![License](https://img.sh
Latest version: 3.6.0-tests.2

[![CircleCI](https://circleci.com/gh/Jahia/jcontent/tree/master.svg?style=svg)](https://circleci.com/gh/Jahia/jcontent/tree/master)
![GitHub tag (latest by version)](https://img.shields.io/github/v/tag/Jahia/jContent?sort=semver)
![License](https://img.shields.io/github/license/jahia/jcontent)

<a href="https://www.jahia.com/">
    <img src="https://www.jahia.com/modules/jahiacom-templates/images/jahia-3x.png" alt="Jahia logo" title="Jahia" align="right" height="60" />
</a>

# jContent test module

Contains cypress page objects and utils for implementing jContent-related tests in cypress.

### Publishing test module

Trigger `Publish tests module to NPM registry` workflow [here](https://github.com/Jahia/jcontent/actions/workflows/release-tests-module.ymlhttps:/). This will:

- Increment current version and use this as the release version
  - If publishing test module first time after release, the `SNAPSHOT` prerelease identifier will be automatically reset back to `tests.0`
- Create a tag, then push version change commit and tag to the branch where workflow is initiated.
- Publish module to [NPM registry](https://www.npmjs.com/package/@jahia/jcontent-cypress)

> [!IMPORTANT]
> Option to trigger a dry-run in the workflow is also available, which does all the above steps except for the actual publishing step. This includes creating a tag and committing the version change, so it's important to run the dry-run worfklow on a separate branch.
npm package: @jahia/js-server-core
Description: Javascript Library for NPM Javascript Module Engine
Latest version: 0.0.17
Deprecated: Package no longer supported. Now use @jahia/javascript-modules-library

# js-server-core
Javascript Library for NPM Javascript Module Engine

## Generated types

This library contains types generated from Java source code. The types are generated using a tool called java-ts-bind
that was forked here : https://github.com/Jahia/java-ts-bind/tree/finer-excludes . You don't need to checkout this 
repository as the scripts will automatically do that for you but we mention it in case you need to make modifications
to it.

By default, the generated types are committed in this project, but if you need to rebuild/update them, you can do so by
using the following steps:

1. Change to the project directory :

    `cd types/generated`

2. Launch the script that will clone the java-ts-bind repository and build it from source code (it has never been released) :

    `./build.sh`

3. Update the classes and methods declared in [types/generated/package.json](types/generated/package.json) in case you added/removed classes or methods.

4. Launch the script that will download all the required source code and JARs for the type generation and that will
also compile the source to generated the required symbols JARs. Then it will generate the types, and finally apply
some post-processing to the generated types to make  usable :

    `./generate.sh`

Note that the generation will take some time on the initial build as it needs to download all the required source code
and JARs, and build the projects from the source code.

Once completed, the generated types will be in the following directory : 

    types/generated/build/types