open-index/open-npm huggingface dataset:
npm package: @rsellis/eslint-config
Description: A comprehensive ESLint configuration package with built-in support for TypeScript, React, Next.js, and Prettier.
Latest version: 1.0.1

# @ellis/eslint-config

A comprehensive ESLint configuration package with built-in support for TypeScript, React, Next.js, and Prettier.

## Features

- **Base ESLint Rules** - Foundation linting rules for all projects
- **TypeScript Support** - Full TypeScript configuration with type-aware rules
- **React & Hooks** - React and React Hooks best practices
- **Next.js Integration** - Next.js-specific configurations
- **Prettier Integration** - Seamless code formatting with Prettier

## Installation

```bash
npm install --save-dev @ellis/eslint-config eslint prettier
```

Or with pnpm:

```bash
pnpm add -D @ellis/eslint-config eslint prettier
```

## Usage

Create an `eslint.config.js` file in your project root:

```javascript
import config from '@ellis/eslint-config';

export default config;
```

## Configuration

This package exports a flat ESLint configuration that includes:

- Base linting rules
- TypeScript and type-aware rules
- React and React Hooks configuration
- Next.js specific settings
- Prettier formatting rules

### Peer Dependencies

Ensure you have the required peer dependencies installed:

- eslint >= 9
- @typescript-eslint/parser >= 8
- @typescript-eslint/eslint-plugin >= 8
- eslint-config-prettier >= 9
- eslint-plugin-prettier >= 5
- eslint-plugin-react >= 7
- eslint-plugin-react-hooks >= 4
- eslint-plugin-jsx-a11y >= 6
- eslint-plugin-import >= 2
- eslint-config-next >= 14
- prettier >= 3

## License

MIT
npm package: @rsf/restream
Description: minimal pull streams in rescript
Latest version: 1.0.3

# ReStream

Minimal pull-stream library written in [Rescript](https://rescript-lang.org/)

[![npm](https://img.shields.io/npm/v/@rsf/restream.svg)](https://npmjs.org/@rsf/restream)

## Installation

```shell
npm install @rsf/restream
```
or
```shell
yarn add @rsf/restream
```
Then add rescript-nodejs to `bsconfig.json`:
```
  "bs-dependencies": [
    "@rsf/restream"
  ],
```

## Usage

```rescript
module S = ReStream

S.fromArray([1, 2, 3, 4])
-> S.map(v => "#" ++ Int.toString(v) )
-> S.collect(res => {
  switch res {
    | Ok(arr) => Console.log(arr)
    | Error(msg) => Console.log(msg)
  }
})
// #1
// #2
// #3
// #4
```

## API

[fromArray](tests/Test_sources.res#L8)  
[fromIterable](tests/Test_sources.res#L27)  
[fromWebStreamReadable](tests/Test_sources.res#L89)  

[actionable](tests/Test_actionable.res#L26)  
[observable](tests/Test_observable.res)  
[abortable](tests/Test_abortable.res)  

[log](src/ReStream_Through.res#27)  
[tap](src/ReStream_Through.res#20)  
[take](src/ReStream_Through.res#29)  

[debounce](tests/Test_debounce.res)  
[throttle](tests/Test_throttle.res)  
[timeout](src/ReStream_Through.res#83)  


[map](tests/Test_map.res#L4)  
[asyncMap](tests/Test_asyncMap.res#L4)  
[promiseMap](tests/Test_promiseMap.res#L4)  
[flatMap](tests/Test_flatMap.res#L4)  
[asyncFlatMap](tests/Test_flatMap.res#L24)  
[paraMap](tests/Test_paraMap.res)  

[filter](tests/Test_filter.res#4)  
[asyncFilter](tests/Test_filter.res#30)  
[filterMap](tests/Test_filter.res#58)  
[asyncFilterMap](tests/Test_filter.res#90)  

[group](tests/Test_group.res)  
[buffer](tests/Test_buffer.res)  

[mix](tests/Test_mix.res)  
[flatten](tests/Test_mix.res#107)  

[combineLatest](tests/Test_combineLatest.res)  
[zip](tests/Test_zip.res)  

[drain](src/ReStream_Sink.res#6)  
[abortableDrain](src/ReStream_Sink.res#28)  
[drainToPromise](src/ReStream_Sink.res#35)  
[collect](src/ReStream_Sink.res#47)  
[collectToPromise](src/ReStream_Sink.res#61)  
[toWebStreamReadable](tests/Test_sources.res#L71)