open-index/open-npm huggingface dataset:
npm package: @head.js/analytics.js-obj-case
Description: Work with objects of different cased keys
Author: Segmentio
Latest version: 0.2.1-1

[@segmentio/obj-case](https://github.com/segmentio/obj-case)
==

This project follows the `package.json/version` convention. But will not be published to `npmjs.org`.

See [@head/h5a](https://github.com/head/h5a) for a production ready solution.
npm package: @head.js/analytics.js-store
Description: A localStorage wrapper for all browsers without using cookies or flash. Uses localStorage, globalStorage, and userData behavior under the hood
Author: Marcus Westin
Latest version: 1.3.20-1

[store](https://github.com/marcuswestin/store.js)

This project follows the `package.json/version` convention. But will not be published to `npmjs.org`.

See [@head/h5a](https://github.com/head-js/h5a) for a production ready solution.
npm package: @head.js/snippet
Description: @head.js/snippet-*
Author: Albert Hbrls
Latest version: 0.5.9

@head.js/snippet
==

The only script in your `<head>`.

```html
<html>
  <head>
    <script>
    /* @head.js/snippet-init 0.0.0 */
    head = {};
    /* @head.js/snippet-env 0.0.0 */
    head.env = { mode: '', profile: '' };
    /* @head.js/snippet-profile 0.0.0 */
    head.profile = { svc: {} };
    </script>
  </head>
  <body>
    <div id="root"></div>

    <script>
    /* @head.js/snippet-emitter 0.0.0 */
    head.emitter.on = (evt: String, fn: Function) => {};
    head.emitter.emit = (evt: String, payload: Json) => {};
    /* @head.js/snippet-require 0.0.0 */
    head.require = (assets: Array<String>, done: Function) => {};
    /* @head.js/snippet-bridge 0.0.0 */
    head.bridge.register = (name: String, register: Function) => {};
    head.bridge.initialize = async (name: String): Sdk => {};
    </script>

    <script>
    /* @head.js/snippet-container 0.0.0 */
    </script>

    <script src="app.js">
      head.require([ 'http://cdn.example.com/a.css', 'http://cdn.example.com/b.js' ], () => {});

      head.bridge.register('com.example.sdk@1.0.0', (register) => {
        head.require([ 'http://cdn.example.com/sdk-1.0.0.css', 'http://cdn.example.com/sdk-1.0.0.js' ], () => {
          const { SdkFactory } = window;
          const sdk = new SdkFactory();
          register(sdk);
        });
      });
    </script>
    <script src="chunk-1.js">
      const [ sdk ] = await head.bridge.initialize(['com.example.sdk@1.0.0']);
      sdk.do();
    </script>

    <script src="config-2.js">
      const id = 'c-id';

      function onClick(evt) { console.log(evt); }
      head.container.script(id, 'onClick', onClick);

      function onSelect(evt) { throw new Error('NotImplementedException'); }
      head.container.script(id, 'onSelect', onSelect);
    </script>
    <script src="component-2.js">
      import { on } from '@head/container';
      const id = 'c-id';
      <Button onClick={on(options.id, 'onClick')}>Click</Button>
    </script>
  </body>
</html>
```
npm package: @head/cli
Description: $ npm install -g --upgrade @head/cli
Author: 理斯特
Latest version: 0.0.0-1

@head/cli
==

0.0.0-1
==

```bash
$ head-cli serverless --package midway
```

``` bash
$ npm install -g --upgrade @head/cli
```

Development Setup
==

``` bash
npm link
```

MIT License
==
npm package: @head/edge
Description: @head/edge
Latest version: 0.4.1

@head/edge
==

```javascript
// service.js
import Application from '@head/edge';
import $rpc from '/path/to/user-rpc';

const { router, client } = new Application();

router.verb('GET', '/api/users', async (ctx, next) => {
  const data = await $rpc.doPost('/path-to/userService');
  ctx.body = data;
  next();
});

export default client;

// store.js
import $client from './service';

async function init() {
  const data = await $client.get('/api/users');
  state.users = data;
}
```

[delegates @1.0.0 / 2015-12-14](https://github.com/tj/node-delegates)
--

[path-to-regexp @8.2.0 / 2024-09-26](https://github.com/pillarjs/path-to-regexp)
--

[Koa @2.16.3 / 2025-10-18](https://github.com/koajs/koa)
--

[Koa Compose @4.2.0 / 2020-09-11](https://github.com/koajs/compose)
--

[Koa Router @14.0.0 / 2025-08-03](https://github.com/koajs/router)
--
npm package: @head/http
Description: $http
Author: hbrls
Latest version: 0.7.0

@head/http
==

```javascript
$http.get(endpoint);
$http.get(endpoint, params);
$http.get(endpoint, params, headers);
$http.get(endpoint, null, headers);
$http.get(endpoint, params, headers, options);

$http.post(endpoint);
$http.post(endpoint, params, data);
$http.post(endpoint, null, data);
$http.post(endpoint, params, data, headers);
$http.post(endpoint, params, data, headers, options);
```

CHANGELOG
==

0.7.1
--

*BREAKING CHANGE*

0.6.1
--

1. 升级 axiox@1.3.6

0.5.1
--

1. 默认使用 `jaeger` 格式 `uber-trace-id`，暂时不提供开关
npm package: @head/node
Description: Node
Author: 理斯特
Latest version: 0.0.3

# @head/node

# TreeNode

```
{ id: String, parent: String, label: String, level: Integer, order: Integer }
```

```javascript
const node = new TreeNode(id, parent, label, order);
const pool = [node1, node2, node3];
TreeNode node = TreeNode.fromPool(pool);
```
npm package: @headband/cli
Description: CLI tool for setting up Headband search in any project
Latest version: 0.1.0

# @headband/cli

Interactive CLI for setting up [Headband](https://headband.dev) search in any project.

## Usage

```bash
npx @headband/cli init
```

This will:

1. Ask for your Headband URL (default: `https://headband.dev`)
2. Ask for your search API key (`hb_src_...` or `hb_adm_...`)
3. Ask for your default search index (e.g. `products`, `movies`)
4. Detect your package manager (npm, pnpm, yarn, or bun)
5. Install `@headband/react`
6. Create `headband.config.ts` with your settings
7. Create an example `<HeadbandSearch />` component

## Options

```bash
npx @headband/cli init --yes   # Skip prompts, use defaults
npx @headband/cli --help       # Show help
```

## What gets created

**`headband.config.ts`** -- Search configuration that reads from `NEXT_PUBLIC_HEADBAND_KEY` env var with a fallback:

```typescript
export const headbandConfig = {
  url: "https://headband.dev",
  searchKey: process.env.NEXT_PUBLIC_HEADBAND_KEY || "hb_src_...",
  defaultIndex: "products",
};
```

**`components/headband-search.tsx`** (or `src/components/` if your project uses a `src/` directory) -- A ready-to-use search component:

```tsx
"use client";

import {
  headband,
  HeadbandProvider,
  SearchBox,
  Hits,
  Stats,
} from "@headband/react";
import { headbandConfig } from "../headband.config";

const client = headband(headbandConfig.url, headbandConfig.searchKey);

export function HeadbandSearch() {
  return (
    <HeadbandProvider client={client} index={headbandConfig.defaultIndex}>
      <SearchBox placeholder={`Search products...`} />
      <Stats />
      <Hits />
    </HeadbandProvider>
  );
}
```

## License

MIT
npm package: @headcastle/nestjs-http
Description: Nestjs Module for HTTP
Author: John Head
Latest version: 0.9.1

# nestjs-http

<a href="https://www.npmjs.com/~headcastle"><img src="https://img.shields.io/npm/v/@headcastle/nestjs-http.svg" alt="NPM Version" /></a>
<a href="https://www.npmjs.com/~headcastle"><img src="https://img.shields.io/npm/l/@headcastle/nestjs-http.svg" alt="Package License" /></a>
[![pipeline status](https://gitlab.com/headcastle/nestjs-http/badges/main/pipeline.svg)](https://gitlab.com/headcastle/nestjs-http/commits/main)
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=headcastle_nestjs-http&metric=security_rating)](https://sonarcloud.io/dashboard?id=headcastle_nestjs-http)
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=headcastle_nestjs-http&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=headcastle_nestjs-http)
[![coverage report](https://gitlab.com/headcastle/nestjs-http/badges/main/coverage.svg)](https://gitlab.com/headcastle/nestjs-http/-/commits/main)


## Description

[Axios](https://www.npmjs.com/package/axios) module for [Nest](https://github.com/nestjs/nest). Designed to be a thin wrapper around [Axios](https://github.com/axios/axios) utilizing promises instead of observables.

## Installation

```bash
$ npm i --save @headcastle/nestjs-http
```

## Quick Start

[Overview & Tutorial](https://docs.nestjs.com/techniques/http-module)

## Support

## Stay in touch

## License

Nestjs-http is [MIT licensed](LICENSE).