open-index/open-npm huggingface dataset:
npm package: @hangar55/dtm
Description: An NPM package to handle date and time Converts between ms epoch time and human date; Adds/Remove seconds, minutes, hours or days to a given date; Checks if a given date is between an interval, before or after a given date
Author: Hangar55
Latest version: 1.3.4

# @hangar55/dtm

> An NPM package to handle date and time <br>
> Converts between ms epoch time and human date <br>
> Adds/Remove seconds, minutes, hours or days to a given date <br>
> Checks if a given date is between an interval, before or after a given date


[![NPM Version][npm-image]][npm-url]
[![Coverage Status][coveralls-image]][coveralls-url]

## Install

```bash
npm i @hangar55/dtm
```


## Methods

* convert(string/number): changes between epoch/unix time and human readable date
* string format: dd-mm-yyyy hh:mm:ss
* changeDay(time, +/- days): adds or subtracts days to a given time. Time can be either human or epoch format.
* changeHour(time, +/- hours): adds or subtracts hours to a given time. Time can be either human or epoch format.
* changeMinute(time, +/- minutes): adds or subtracts minutes to a given time. Time can be either human or epoch format.
* changeSecond(time, +/- seconds): adds or subtracts seconds to a given time. Time can be either human or epoch format.
* isBetween(date, initial date, final date): Will return true if date is between the initial and final dates. Dates must be in human format.
* isBefore(date, reference date): Will return true if date is before reference date. Dates must be in human format.
* isAfter(date, reference date): Will return true if date is after reference date. Dates must be in human format.

## Usage
```bash
const dtm = require("@hangar55/dtm");
console.log(dtm.convert(1234567890000));
prints 13-02-2009 23:31:30
console.log(dtm.convert("13-02-2009 23:31:30");
prints 1234567890000

console.log(`Now TimeZone -03:30: ${dtm.nowTimeZone("-03:30")}`);
const nowBrazil = dtm.nowTimeZone("-03:00");
console.log(`Now Brazil: ${nowBrazil}`);
console.log(`Change 2 days: ${dtm.changeDay(nowBrazil,2)}`);
console.log(`Change 2 hours: ${dtm.changeHour(nowBrazil,2)}`);
console.log(`Change 2 minutes: ${dtm.changeMinute(nowBrazil,2)}`);
console.log(`Change 2 seconds: ${dtm.changeSeconds(nowBrazil,2)}`);
console.log(dtm.isBetween("28-02-2000 23:59:59","01-01-1999 00:00:01", "29-02-2000 00:00:01"));
console.log(dtm.isAfter("28-02-2000 23:59:59", "01-01-1945 00:00:01"));
console.log(dtm.isBefore("28-02-1934 23:59:59", "01-01-1945 00:00:01"));
```

## License

[MIT](http://vjpr.mit-license.org)

[npm-image]: https://img.shields.io/npm/v/@hangar55/dtm
[npm-url]: https://www.npmjs.com/package/@hangar55/dtm
[travis-image]: https://img.shields.io/travis/live-js/@hangar55/dtm
[travis-url]: https://travis-ci.org/live-js/@hangar55/dtm
[coveralls-image]: https://coveralls.io/repos/github/calencastro/dtm/badge.svg?branch=master
[coveralls-url]: https://coveralls.io/github/calencastro/dtm?branch=master
npm package: @hangarlabs/web-prerender
Description: Works as a middleware to prerender JS generated websites built on React.js or Angular.js.
Author: Hangar
Latest version: 0.0.5

﻿  

# web-prerender

This package caches a pre-rendered version of an URL using [Puppeteer ](https://github.com/GoogleChrome/puppeteer) and Redis.

Nowadays we have websites  that are JS generated and the search engine crawling bots cannot fetch the metadata causing bad SEO results, so with this package you can serve a pre-rendered version of the websites with all required metadata.

# Requirements

 1. Node v10.16.3 LTS or higher [https://nodejs.org/en/](https://nodejs.org/en/).
 2. TypeScript [https://www.typescriptlang.org/](https://www.typescriptlang.org/).
 3. TS Lint [https://palantir.github.io/tslint/](https://palantir.github.io/tslint/).
 4. Redis Client [https://www.npmjs.com/package/redis](https://www.npmjs.com/package/redis).

# How to install the package

Check the required Node.js version with

    nvm use

Install with NPM or Yarn

    npm install or yarn install

# Usage TypeScript

Usage with NPM or Yarn

    npm install @hangarlabs/web-prerender --save
    or
    yarn add @hangarlabs/web-prerender

	import { IOptionsPreRenderQueue, Ssr } from  "web";

      const prerender  =  new  Ssr({
        redisDatabase:  parseInt(env.redis.db, 10),
        redisHost :  env.redis.host,
        redisPort :  env.redis.port  as  number,
        } as  IOptionsPreRenderQueue);
	
	Create a RedisClient ...
	[https://www.npmjs.com/package/redis](https://www.npmjs.com/package/redis)

    prerender
    .setRedisCache(RedisClient)
    .initHandlerBull()
    .preRender()
	const url = "https://www.google.com";
	const {html, ttRenderMs} =  await  prerender.ssr(url);

	Using Express.js you can something like this:
	if (html) {

    response.set("Server-Timing", `Prerender;dur=${ttRenderMs};desc="Headless 				render time (ms)"`);
    return  response.status(200)
    .send(html);

}
# Develop

Develop with NPM or Yarn

    npm run dev yarn dev

# Build

  Build with NPM or Yarn

    npm run build or yarn build

# Test

  Build with NPM or Yarn

    npm run test or yarn test

# Contact

Hangar Corporate Team
corporate@thehangar.cr
Report any issue here: [https://github.com/hangarlabs/web-prerender/issues](https://github.com/hangarlabs/web-prerender/issues)
npm package: @hangglidersrule/openclaw-azure-image-gen
Description: OpenClaw image generation provider for Azure OpenAI (gpt-image-1) and FLUX models (FLUX.2-pro, FLUX.2-flex, FLUX.1-Kontext-pro) via Azure AI Foundry. Reads endpoint + key from environment variables.
Author: hangglidersrule
Latest version: 1.0.5

# @hangglidersrule/openclaw-azure-image-gen

OpenClaw image generation provider for Azure AI Foundry.

## Supported models
- `gpt-image-1` — via Azure OpenAI deployment
- `FLUX.2-pro`, `FLUX.2-flex`, `FLUX.1-Kontext-pro`, `FLUX-1.1-pro` — via Black Forest Labs (BFL) endpoint on Azure

## Setup

Set these environment variables (e.g. in your OpenClaw gateway LaunchAgent plist):

```
AZURE_OPENAI_ENDPOINT=https://your-resource.services.ai.azure.com
AZURE_OPENAI_API_KEY=your-key
```

## Install

```bash
openclaw plugins install @hangglidersrule/openclaw-azure-image-gen
```

Then set your image generation model:

```
agents.defaults.imageGenerationModel.primary: "azure-openai/FLUX.2-pro"
```
npm package: @hangox/adb-logcat
Description: ADB Logcat 日志守护与查询系统 — 自动记录 Android 设备日志，支持多维查询
Author: hangox
Latest version: 0.3.0

# @hangox/adb-logcat

ADB Logcat 日志守护与查询系统 — 自动记录 Android 设备日志，支持多维历史查询。

## 安装

```bash
npm install -g @hangox/adb-logcat
```

## 快速开始

```bash
# 启动守护进程（前台）
adb-logcat daemon start

# 注册开机自启
adb-logcat daemon install

# 查询日志
adb-logcat query --since "30m ago" --level E
adb-logcat query --grep "crash|ANR" --since "1h ago"
adb-logcat query --tag ActivityManager --json

# 查看设备
adb-logcat devices

# 查看存储
adb-logcat storage
```

## 功能

- **自动录制**: 守护进程自动检测 USB/WiFi 设备，持续录制 logcat
- **毫秒级响应**: 基于 adb track-devices TCP 协议，设备插拔即时感知
- **多维查询**: 按 tag、级别、时间、正则、PID、包名过滤
- **日志轮转**: 按天切分，自动清理过期日志
- **开机自启**: 集成 macOS launchd
- **JSON 输出**: 支持结构化输出，便于管道处理

## 命令

| 命令 | 说明 |
|------|------|
| `daemon start` | 前台启动守护进程 |
| `daemon stop` | 停止守护进程 |
| `daemon status` | 查看运行状态 |
| `daemon install` | 注册 launchd 开机自启 |
| `daemon uninstall` | 卸载 launchd 服务 |
| `query` | 查询历史日志 |
| `devices` | 列出已记录设备 |
| `storage` | 查看存储用量 |
| `clean` | 手动清理日志 |
| `config show/set` | 配置管理 |

## 查询参数

| 参数 | 说明 | 示例 |
|------|------|------|
| `-d, --device` | 设备 serial | `-d ZY22CX8RS5` |
| `-t, --tag` | 按 tag 过滤 | `-t ActivityManager,WindowManager` |
| `-l, --level` | 最低级别 | `-l E` (V/D/I/W/E/F) |
| `--since` | 起始时间 | `--since "1h ago"` |
| `--until` | 结束时间 | `--until "2026-03-31 14:00"` |
| `-g, --grep` | 正则搜索 | `-g "crash\|ANR"` |
| `--pid` | 进程 ID | `--pid 1234` |
| `--package` | 包名 | `--package com.example` |
| `-n, --limit` | 最大行数 | `-n 1000` (默认 500) |
| `--no-color` | 禁用颜色 | |
| `--json` | JSON 输出 | |

## License

MIT