open-index/open-npm huggingface dataset:
npm package: @kisameholmes/horizon_node
Description: High-performance observability and logging for Node.js
Author: Horizon
Latest version: 1.0.3

# Horizon Node.js SDK

High-performance observability and logging for Node.js.

## Installation

```bash
npm install @kisameholmes/horizon_node
```

## Features

- **Class-based Client**: Easy to use manual logging.
- **Batching**: Logs are buffered and sent in batches to minimize HTTP overhead.
- **Resilience**: Automatic exponential backoff for 5xx errors.
- **Transports**: Native support for Pino and Winston.
- **Middlewares**: One-line integration for Fastify and Express.
- **Error Watchdog**: Automatically catches uncaught exceptions and rejections.

## Core Usage

```typescript
import { HorizonClient } from '@kisameholmes/horizon_node';

const horizon = new HorizonClient({
  apiKey: 'YOUR_API_KEY',
  environment: 'production'
});

// Capture manual logs
horizon.captureLog('info', 'Process started', { version: '1.2.0' });

// Auto-capture global errors
horizon.autoCaptureErrors();
```

## Framework Integration

### Fastify

```typescript
import Fastify from 'fastify';
import { fastifyHorizonMiddleware } from '@kisameholmes/horizon_node';

const app = Fastify();
app.addHook('onRequest', fastifyHorizonMiddleware(horizon));
```

### Express

```typescript
import express from 'express';
import { expressHorizonMiddleware } from '@kisameholmes/horizon_node';

const app = express();
app.use(expressHorizonMiddleware(horizon));
```

## Transports

### Pino

```typescript
const logger = pino({
  transport: {
    target: '@kisameholmes/horizon_node/pino',
    options: { apiKey: '...' }
  }
});
```

### Winston

```typescript
import { HorizonWinstonTransport } from '@kisameholmes/horizon_node/winston';

const logger = winston.createLogger({
  transports: [
    new HorizonWinstonTransport({ apiKey: '...' })
  ]
});
```

## Configuration Options

| Option | Type | Default | Description |
| --- | --- | --- | --- |
| `apiKey` | string | **Required** | Your environment API key. |
| `ingestUrl` | string | `https://horizon-api.bylinee.com/v1/ingest` | Horizon ingestion endpoint. |
| `environment` | string | `production` | Deployment environment name. |
| `batchSize` | number | `50` | Maximum logs per batch. |
| `flushInterval` | number | `2000` | Max wait time (ms) before flushing. |
| `maxRetries` | number | `3` | Number of retry attempts for 5xx errors. |
npm package: @kisaragi-hiu/cached-fetch
Description: A cache in OS tmpdir useful for fetch()
Author: Kisaragi Hiu
Latest version: 0.3.0

# @kisaragi-hiu/cached-fetch

A caching function designed for caching fetch GET responses on disk in a command line program.

I keep rewriting this logic in multiple projects, so I'm making it a package.

## Usage

```typescript
import { cached } from "@kisaragi-hiu/cached-fetch";

const text = await cached(
  "myCacheKey",
  () => fetch("https://example.com")
)
```

This persists the text response in `os.tmpdir` and should stay around until the next reboot.

Arguments:

```typescript
/**
 * The key of the value.
 * Subsequent calls with the same key will return the cached value.
 */
key: string,
/**
 * A fetcher function, called when the value isn't cached.
 *
 * Should return a promise, which resolves to an object whose text key is a
 * Promise<string> --- usually a Response, but the ProcessPromise from the
 * zx library are also supported.
 */
fetcher: () => Promise<{ text: () => Promise<string> }>
```

## Bonus usage

This also works:

```typescript
import { $ } from "zx";
import { cached } from "@kisaragi-hiu/cached-fetch";

const text = await cached(
  "myCacheKey",
  () => $`sleep 1 && echo "demo for a slow process"`
)
```
npm package: @kisbox/browser
Description: A collection of web-related utilities
Author: MisterTicot
Latest version: 1.0.0-beta.21

**browser /**
[Readme](https://github.com/kisbox/browser/blob/master/README.md)
• [Changelog](https://github.com/kisbox/browser/blob/master/CHANGELOG.md)

# Readme

![Licence](https://img.shields.io/github/license/kisbox/browser.svg)
[![Dependencies](https://badgen.net/david/dep/kisbox/browser)](https://david-dm.org/kisbox/browser)
![Vulnerabilities](https://snyk.io/test/npm/@kisbox/browser/badge.svg)

A collection of web-related utilities.

## Installation

### NPM/Yarn

- NPM: `npm install @kisbox/browser`
- Yarn: `yarn add @kisbox/browser`

In your script: `const browser = require("@kisbox/browser")`
npm package: @kisbox/browserslist-config
Description: A well-balanced browserslist configuration
Author: MisterTicot
Latest version: 1.0.0-beta.21

**browserslist-config /**
[Readme](https://github.com/kisbox/browserslist-config/blob/master/README.md)
• [Contributing](https://github.com/kisbox/browserslist-config/blob/master/CONTRIBUTING.md)
• [Changelog](https://github.com/kisbox/browserslist-config/blob/master/CHANGELOG.md)

# Readme

![Licence](https://img.shields.io/github/license/kisbox/browserslist-config.svg)
[![Dependencies](https://badgen.net/david/dep/kisbox/browserslist-config)](https://david-dm.org/kisbox/browserslist-config)
![Vulnerabilities](https://snyk.io/test/npm/@kisbox/browserslist-config/badge.svg)

A well-balanced browserslist configuration.

## Installation

### NPM/Yarn

- NPM: `npm install @kisbox/browserslist-config`
- Yarn: `yarn add @kisbox/browserslist-config`

In your script: `const browserslistConfig = require("@kisbox/browserslist-config")`
npm package: @kisbox/helpers
Description: Kisbox extensible helpers module
Author: MisterTicot
Latest version: 1.0.0-beta.21

**helpers /**
[Readme](https://github.com/kisbox/helpers/blob/master/README.md)
• [Changelog](https://github.com/kisbox/helpers/blob/master/CHANGELOG.md)

# Readme

![Licence](https://img.shields.io/github/license/kisbox/helpers.svg)
[![Dependencies](https://badgen.net/david/dep/kisbox/helpers)](https://david-dm.org/kisbox/helpers)
![Vulnerabilities](https://snyk.io/test/npm/@kisbox/helpers/badge.svg)

Kisbox extensible helpers module.

## Installation

### NPM/Yarn

- NPM: `npm install @kisbox/helpers`
- Yarn: `yarn add @kisbox/helpers`

In your script: `const helpers = require("@kisbox/helpers")`
npm package: @kisbox/model
Description: Kisbox model
Author: MisterTicot
Latest version: 1.0.0-beta.21

**model /**
[Readme](https://github.com/kisbox/model/blob/master/README.md)
• [Changelog](https://github.com/kisbox/model/blob/master/CHANGELOG.md)

# Readme

![Licence](https://img.shields.io/github/license/kisbox/model.svg)
[![Dependencies](https://badgen.net/david/dep/kisbox/model)](https://david-dm.org/kisbox/model)
![Vulnerabilities](https://snyk.io/test/npm/@kisbox/model/badge.svg)

Kisbox model.

## Installation

### NPM/Yarn

- NPM: `npm install @kisbox/model`
- Yarn: `yarn add @kisbox/model`

In your script: `const model = require("@kisbox/model")`
npm package: @kisbox/service-worker
Description: Generic service worker class
Author: MisterTicot
Latest version: 1.0.0-beta.10

**service-worker /**
[Readme](https://github.com/kisbox/service-worker/blob/master/README.md)
• [Changelog](https://github.com/kisbox/service-worker/blob/master/CHANGELOG.md)

# Readme

![Licence](https://img.shields.io/github/license/kisbox/service-worker.svg)
[![Dependencies](https://badgen.net/david/dep/kisbox/service-worker)](https://david-dm.org/kisbox/service-worker)
![Vulnerabilities](https://snyk.io/test/npm/@kisbox/service-worker/badge.svg)

Generic service worker class.

## Installation

### NPM/Yarn

- NPM: `npm install @kisbox/service-worker`
- Yarn: `yarn add @kisbox/service-worker`

In your script: `const ServiceWorker = require("@kisbox/service-worker")`
npm package: @kisbox/utils
Description: Various JavaScript utilities Kisbox relies on
Author: MisterTicot
Latest version: 1.0.0-beta.21

**utils /**
[Readme](https://github.com/kisbox/utils/blob/master/README.md)
• [Changelog](https://github.com/kisbox/utils/blob/master/CHANGELOG.md)

# Readme

![Licence](https://img.shields.io/github/license/kisbox/utils.svg)
[![Dependencies](https://badgen.net/david/dep/kisbox/utils)](https://david-dm.org/kisbox/utils)
![Vulnerabilities](https://snyk.io/test/npm/@kisbox/utils/badge.svg)

Various JavaScript utilities Kisbox relies on.

## Installation

### NPM/Yarn

- NPM: `npm install @kisbox/utils`
- Yarn: `yarn add @kisbox/utils`

In your script: `const utils = require("@kisbox/utils")`
npm package: @kiserit/fuset
Description: Web server middleware to combine assets
Author: Kiser IT
Latest version: 0.0.4

  
# Fuset

Fuset combines multiple files together and returns them in the web response. Fuset will combine the files once at startup and the content in memory for faster responses. 

## Installation
This is a Node.js module available through the npm registry. Installation is done using the npm install command:

```
npm install @kiserit/fuset
```

## Get started

Here's a sample Express app that uses Fuset:

```javascript
const express = require("express");
const cachet = require('@kiserit/fuset');
const UglifyJS = require("uglify-js");

// optionally minify your code
const uglyMinifier = (content) => {
  const result = UglifyJS.minify(content);
  return result?.code || content;
}

const app = express();

app.get('/sample.js', fuset({
    files: [
      './public/sample1.js',
      './public/sample2.js',
      './public/sample3.js'
    ],
    cache: 'max-age=10800',
    mime: 'javascript/text',
    minifier: uglyMinifier,
  })
)

app.listen(3000);
```


You can also `import fuset from '@kiserit/fuset'` if you prefer.



## Options

`path`

A relative or absolute path in which all files in the path will be combined.

`files`

An array of files to combine. These can be relative or absolute paths.

 
`cache`

This is the [Cache-Control](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Cache-Control#no-store) header to use when returning the file content. 


`mime`

This is the [Content-Type](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type) header to use when returning the file content. This will be used exactly as specified, but should be the mime type.


`minifier`

This is a function that takes one string parameter and returns a string. The function will be passed the raw content of the combined files. The result of the function will be used when returning the response content.
npm package: @kisey/gotta
Description: time-breaking prog
Author: kisey
Latest version: 1.0.2

# Gotta
Breaking-time prog

## Requires

1. [node.js](https://nodejs.org/en/)
2. [eog](https://en.opensuse.org/Eye_of_GNOME)
3. [totem](https://wiki.gnome.org/Apps/Videos)
3. 'gotta.jpg' picture in your root dir.
4. 'gotta.wav' music in your root dir.
npm package: @kishanm360/smart-cache-layer
Description: A dynamic smart cache with TTL and persistence (File/S3) support
Author: Kishan Maurya
Latest version: 1.0.1

# Smart Cache Layer

[![npm version](https://img.shields.io/npm/v/smart-cache-layer.svg)](https://www.npmjs.com/package/smart-cache-layer)
[![npm downloads](https://img.shields.io/npm/dm/smart-cache-layer.svg)](https://www.npmjs.com/package/smart-cache-layer)
[![GitHub issues](https://img.shields.io/github/issues/your-username/smart-cache-layer)](https://github.com/your-username/smart-cache-layer/issues)
[![GitHub stars](https://img.shields.io/github/stars/your-username/smart-cache-layer)](https://github.com/your-username/smart-cache-layer/stargazers)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

A **dynamic, in-memory cache** for Node.js with:
- Per-key **TTL (Time-To-Live)**
- **Automatic cleanup** of expired keys
- **Persistence** (File system or S3)
- Simple and production-ready API

---

## ✨ Features
- ⏱️ Per-key TTL support  
- 🗑️ Automatic cleanup of expired items  
- 💾 Persistence with local JSON file  
- ☁️ Optional AWS S3 persistence for distributed apps  
- ⚡ Zero dependencies (only requires AWS SDK if S3 is used)  

---

## 📦 Installation

```bash
npm install smart-cache-layer