open-index/open-npm huggingface dataset:
npm package: @ilihub/year-to-hour
Description: TypeScript functions for converting year to hour.
Author: ilihub
Latest version: 1.0.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @ilihub/year-to-hour

TypeScript functions for converting year to hour.

![NPM Version](https://img.shields.io/npm/v/%40ilihub%2Fyear-to-hour?color=33cd56&logo=npm)
![NPM](https://img.shields.io/npm/l/%40ilihub%2Fyear-to-hour)
[![CodeFactor](https://www.codefactor.io/repository/github/ilihub/npm/badge)](https://www.codefactor.io/repository/github/ilihub/npm)
[![Socket Badge](https://socket.dev/api/badge/npm/package/@ilihub/year-to-hour)](https://socket.dev/npm/package/@ilihub/year-to-hour)

## Installation

```bash
# if you're using pnpm
pnpm add @ilihub/year-to-hour

# or, if you're using npm
npm install @ilihub/year-to-hour

# or, if you're using yarn
yarn add @ilihub/year-to-hour
```

## Usage

```javascript
import { YearToHour } from "@ilihub/year-to-hour";

const year = 1;

const hour = YearToHour(year);
console.log(hour); // 8760
```

---

## 🛠️ Online Tool ⚡

You can use this npm package as an online tool by clicking on the link provided [👉🏻 here 👈🏻](https://ilihub.tech/tools/year-to-hour)

---

<!-- sponsors_and_backers_section_start -->

<!-- Please do not edit/update this section manually, it is automatically generated by the `sponsors.yml` workflow -->

## Sponsors & Backers

Support the development of new open-source projects from ilihub through crowdfunding.

The core of ilihub is our crowd-funded open-source projects, licensed under the permissive MIT license. Sponsorship increases the rate of bug fixes, documentation improvements, and feature development.

![Sponsors](https://raw.githubusercontent.com/ilihub/sponsors/sponsors/sponsors.svg)

<!-- sponsors_and_backers_section_end -->

---
npm package: @ilihub/year-to-millisecond
Description: TypeScript functions for converting year to millisecond.
Author: ilihub
Latest version: 1.0.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @ilihub/year-to-millisecond

TypeScript functions for converting year to millisecond.

![NPM Version](https://img.shields.io/npm/v/%40ilihub%2Fyear-to-millisecond?color=33cd56&logo=npm)
![NPM](https://img.shields.io/npm/l/%40ilihub%2Fyear-to-millisecond)
[![CodeFactor](https://www.codefactor.io/repository/github/ilihub/npm/badge)](https://www.codefactor.io/repository/github/ilihub/npm)
[![Socket Badge](https://socket.dev/api/badge/npm/package/@ilihub/year-to-millisecond)](https://socket.dev/npm/package/@ilihub/year-to-millisecond)

## Installation

```bash
# if you're using pnpm
pnpm add @ilihub/year-to-millisecond

# or, if you're using npm
npm install @ilihub/year-to-millisecond

# or, if you're using yarn
yarn add @ilihub/year-to-millisecond
```

## Usage

```javascript
import { YearToMillisecond } from "@ilihub/year-to-millisecond";

const year = 1;

const millisecond = YearToMillisecond(year);
console.log(millisecond); // 31536000000
```

---

## 🛠️ Online Tool ⚡

You can use this npm package as an online tool by clicking on the link provided [👉🏻 here 👈🏻](https://ilihub.tech/tools/year-to-millisecond)

---

<!-- sponsors_and_backers_section_start -->

<!-- Please do not edit/update this section manually, it is automatically generated by the `sponsors.yml` workflow -->

## Sponsors & Backers

Support the development of new open-source projects from ilihub through crowdfunding.

The core of ilihub is our crowd-funded open-source projects, licensed under the permissive MIT license. Sponsorship increases the rate of bug fixes, documentation improvements, and feature development.

![Sponsors](https://raw.githubusercontent.com/ilihub/sponsors/sponsors/sponsors.svg)

<!-- sponsors_and_backers_section_end -->

---
npm package: @ilihub/year-to-minute
Description: TypeScript functions for converting year to minute.
Author: ilihub
Latest version: 1.0.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @ilihub/year-to-minute

TypeScript functions for converting year to minute.

![NPM Version](https://img.shields.io/npm/v/%40ilihub%2Fyear-to-minute?color=33cd56&logo=npm)
![NPM](https://img.shields.io/npm/l/%40ilihub%2Fyear-to-minute)
[![CodeFactor](https://www.codefactor.io/repository/github/ilihub/npm/badge)](https://www.codefactor.io/repository/github/ilihub/npm)
[![Socket Badge](https://socket.dev/api/badge/npm/package/@ilihub/year-to-minute)](https://socket.dev/npm/package/@ilihub/year-to-minute)

## Installation

```bash
# if you're using pnpm
pnpm add @ilihub/year-to-minute

# or, if you're using npm
npm install @ilihub/year-to-minute

# or, if you're using yarn
yarn add @ilihub/year-to-minute
```

## Usage

```javascript
import { YearToMinute } from "@ilihub/year-to-minute";

const year = 1;

const minute = YearToMinute(year);
console.log(minute); // 525600
```

---

## 🛠️ Online Tool ⚡

You can use this npm package as an online tool by clicking on the link provided [👉🏻 here 👈🏻](https://ilihub.tech/tools/year-to-minute)

---

<!-- sponsors_and_backers_section_start -->

<!-- Please do not edit/update this section manually, it is automatically generated by the `sponsors.yml` workflow -->

## Sponsors & Backers

Support the development of new open-source projects from ilihub through crowdfunding.

The core of ilihub is our crowd-funded open-source projects, licensed under the permissive MIT license. Sponsorship increases the rate of bug fixes, documentation improvements, and feature development.

![Sponsors](https://raw.githubusercontent.com/ilihub/sponsors/sponsors/sponsors.svg)

<!-- sponsors_and_backers_section_end -->

---
npm package: @ilihub/year-to-month
Description: TypeScript functions for converting year to month.
Author: ilihub
Latest version: 1.0.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @ilihub/year-to-month

TypeScript functions for converting year to month.

![NPM Version](https://img.shields.io/npm/v/%40ilihub%2Fyear-to-month?color=33cd56&logo=npm)
![NPM](https://img.shields.io/npm/l/%40ilihub%2Fyear-to-month)
[![CodeFactor](https://www.codefactor.io/repository/github/ilihub/npm/badge)](https://www.codefactor.io/repository/github/ilihub/npm)
[![Socket Badge](https://socket.dev/api/badge/npm/package/@ilihub/year-to-month)](https://socket.dev/npm/package/@ilihub/year-to-month)

## Installation

```bash
# if you're using pnpm
pnpm add @ilihub/year-to-month

# or, if you're using npm
npm install @ilihub/year-to-month

# or, if you're using yarn
yarn add @ilihub/year-to-month
```

## Usage

```javascript
import { YearToMonth } from "@ilihub/year-to-month";

const year = 1;

const month = YearToMonth(year);
console.log(month); // 12
```

---

## 🛠️ Online Tool ⚡

You can use this npm package as an online tool by clicking on the link provided [👉🏻 here 👈🏻](https://ilihub.tech/tools/year-to-month)

---

<!-- sponsors_and_backers_section_start -->

<!-- Please do not edit/update this section manually, it is automatically generated by the `sponsors.yml` workflow -->

## Sponsors & Backers

Support the development of new open-source projects from ilihub through crowdfunding.

The core of ilihub is our crowd-funded open-source projects, licensed under the permissive MIT license. Sponsorship increases the rate of bug fixes, documentation improvements, and feature development.

![Sponsors](https://raw.githubusercontent.com/ilihub/sponsors/sponsors/sponsors.svg)

<!-- sponsors_and_backers_section_end -->

---
npm package: @ilihub/year-to-second
Description: TypeScript functions for converting year to second.
Author: ilihub
Latest version: 1.0.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @ilihub/year-to-second

TypeScript functions for converting year to second.

![NPM Version](https://img.shields.io/npm/v/%40ilihub%2Fyear-to-second?color=33cd56&logo=npm)
![NPM](https://img.shields.io/npm/l/%40ilihub%2Fyear-to-second)
[![CodeFactor](https://www.codefactor.io/repository/github/ilihub/npm/badge)](https://www.codefactor.io/repository/github/ilihub/npm)
[![Socket Badge](https://socket.dev/api/badge/npm/package/@ilihub/year-to-second)](https://socket.dev/npm/package/@ilihub/year-to-second)

## Installation

```bash
# if you're using pnpm
pnpm add @ilihub/year-to-second

# or, if you're using npm
npm install @ilihub/year-to-second

# or, if you're using yarn
yarn add @ilihub/year-to-second
```

## Usage

```javascript
import { YearToSecond } from "@ilihub/year-to-second";

const year = 1;

const second = YearToSecond(year);
console.log(second); // 31536000
```

---

## 🛠️ Online Tool ⚡

You can use this npm package as an online tool by clicking on the link provided [👉🏻 here 👈🏻](https://ilihub.tech/tools/year-to-second)

---

<!-- sponsors_and_backers_section_start -->

<!-- Please do not edit/update this section manually, it is automatically generated by the `sponsors.yml` workflow -->

## Sponsors & Backers

Support the development of new open-source projects from ilihub through crowdfunding.

The core of ilihub is our crowd-funded open-source projects, licensed under the permissive MIT license. Sponsorship increases the rate of bug fixes, documentation improvements, and feature development.

![Sponsors](https://raw.githubusercontent.com/ilihub/sponsors/sponsors/sponsors.svg)

<!-- sponsors_and_backers_section_end -->

---
npm package: @ilihub/year-to-week
Description: TypeScript functions for converting year to week.
Author: ilihub
Latest version: 1.0.1
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @ilihub/year-to-week

TypeScript functions for converting year to week.

![NPM Version](https://img.shields.io/npm/v/%40ilihub%2Fyear-to-week?color=33cd56&logo=npm)
![NPM](https://img.shields.io/npm/l/%40ilihub%2Fyear-to-week)
[![CodeFactor](https://www.codefactor.io/repository/github/ilihub/npm/badge)](https://www.codefactor.io/repository/github/ilihub/npm)
[![Socket Badge](https://socket.dev/api/badge/npm/package/@ilihub/year-to-week)](https://socket.dev/npm/package/@ilihub/year-to-week)

## Installation

```bash
# if you're using pnpm
pnpm add @ilihub/year-to-week

# or, if you're using npm
npm install @ilihub/year-to-week

# or, if you're using yarn
yarn add @ilihub/year-to-week
```

## Usage

```javascript
import { YearToWeek } from "@ilihub/year-to-week";

const year = 1;

const week = YearToWeek(year);
console.log(week); // 52
```

---

## 🛠️ Online Tool ⚡

You can use this npm package as an online tool by clicking on the link provided [👉🏻 here 👈🏻](https://ilihub.tech/tools/year-to-week)

---

<!-- sponsors_and_backers_section_start -->

<!-- Please do not edit/update this section manually, it is automatically generated by the `sponsors.yml` workflow -->

## Sponsors & Backers

Support the development of new open-source projects from ilihub through crowdfunding.

The core of ilihub is our crowd-funded open-source projects, licensed under the permissive MIT license. Sponsorship increases the rate of bug fixes, documentation improvements, and feature development.

![Sponsors](https://raw.githubusercontent.com/ilihub/sponsors/sponsors/sponsors.svg)

<!-- sponsors_and_backers_section_end -->

---
npm package: @ilijanl/graphql-ws-graphqless
Description: Coherent, zero-dependency, lazy, simple, based on graphql websocket protocol, compliant server and client
Author: Denis Badurina
Latest version: 5.14.1

# Graphql-Ws-gqless

## Getting started

#### Install

```shell
yarn add @ilijanl/graphql-ws-graphqless
```

A fork of graphql-ws. This package is meant to be used for custom executions based on graphql-transport-ws protocol. If used for graphql, go with original graphql-ws package.

All credits go to @enisdenjo

## Create own subscription server

```ts
import { WebSocketServer } from 'ws'; // yarn add ws
// import ws from 'ws'; yarn add ws@7
// const WebSocketServer = ws.Server;
import { useServer } from '@ilijanl/graphql-ws-graphqless/lib/use/ws';
import { schema } from './previous-step';

const server = new WebSocketServer({
  port: 4000,
  path: '/path',
});

useServer(
  {
    createSubscription: () => {
      const iter = (async function* () {
        for (const hi of ['Hi', 'Bonjour', 'Hola', 'Ciao', 'Zdravo']) {
          yield { greetings: hi };
        }
      })();

      return {
        start: async function (emit) {
          for await (const l of iter) {
            await emit({ data: { greetings: l } });
          }
        },
        stop: () => {
          iter.return(undefined);
        },
      };
    },
  },
  server,
);

console.log('Listening to port 4000');
```