open-index/open-npm huggingface dataset:
npm package: @kiwikilian/eslint-config
Description: My unified ESLint config.
Author: Kilian Finger
Latest version: 1.1.0

# @kiwikilian/eslint-config

My unified ESLint config.

## Getting started in 3 Steps

Applying the ruleset to a project is quick and easy. Install the package, then create an `.eslintrc.js` file
and select an appropriate project profile.

### 1. Install the Package

```sh
npm install --save-dev eslint
npm install --save-dev typescript # Only for TypeScript profiles/projects
npm install --save-dev @kiwikilian/eslint-config
```

### 2. Choose one Profile

The ruleset currently supports three different "profile" strings, which select lint rules applicable for
your project:

- `@kiwikilian/eslint-config/profile/react` - This profile enables lint rules intended for a frontend React project with TypeScript.

- `@kiwikilian/eslint-config/profile/nestjs` - This profile enables lint rules intended for a backend NestJS project with TypeScript.

After choosing a profile, create an `.eslintrc.js` config file. If you use a TypeScript profile provide the `__dirname` context. Add your profile string in the `extends` field, as shown below for React:

```ts
require('@kiwikilian/eslint-config/patch/modern-module-resolution');

module.exports = {
  extends: ['@kiwikilian/eslint-config/profile/react'],
  parserOptions: { tsconfigRootDir: __dirname },
};
```

### 3. Add `@kiwikilian/prettier-config`

The `@kiwikilian/eslint-config` ruleset is intended to be used with the Prettier code formatter, see [`@kiwikilian/prettier-config`](https://github.com/KiwiKilian/prettier-config).
npm package: @kiwikilian/prettier-config
Description: My unified Prettier config.
Author: Kilian Finger
Latest version: 1.0.1

# @kiwikilian/prettier-config

My unified Prettier config.

## Getting started in 2 Steps

Applying the ruleset to a project is quick and easy. Install the package, then set the `prettier` field in your `package.json`.

### 1. Install the Package

```shell
npm install --save-dev prettier
npm install --save-dev @kiwikilian/prettier-config
```

### 2. Add `prettier` Field to `package.json`

Apply the Prettier config by adding a `prettier` field pointing to `@kiwikilian/prettier-config` in the `package.json` as shown:

```json
{
  "name": "package-name",
  "prettier": "@kiwikilian/prettier-config"
}
```
npm package: @kiwilan/filesystem
Description: Node module to improve native filesystem with Laravel like helpers.
Author: Ewilan Rivière
Latest version: 0.0.20

# Kiwilan's Node filesystem

![Banner with monitor with IDE in background and Kiwilan's Node filesystem title](docs/banner.jpg)

[![node][node-version-src]][node-version-href]
[![version][version-src]][version-href]
[![downloads][downloads-src]][downloads-href]
[![license][license-src]][license-href]
[![tests][tests-src]][tests-href]
[![codecov][codecov-src]][codecov-href]

Node package built to improve [native filesystem](https://nodejs.org/api/fs.html) with [Laravel](https://laravel.com/) like helpers.

## Installation

```bash
npm add @kiwilan/filesystem
```

Or with [pnpm](https://pnpm.js.org/):

```bash
pnpm add @kiwilan/filesystem
```

## Usage

```ts
const path = FsPath.root("tests/test.md");
const exists = await FsFile.exists(path);

if (exists) {
  const content = await FsFile.get(path);
}
```

## Build locally

```bash
pnpm package
```

Add to your project:

```json
{
  "dependencies": {
    "@kiwilan/filesystem": "file:~/kiwilan-filesystem-*.tgz"
  }
}
```

[<img src="https://user-images.githubusercontent.com/48261459/201463225-0a5a084e-df15-4b11-b1d2-40fafd3555cf.svg" height="120rem" width="100%" />](https://github.com/kiwilan)

[version-src]: https://img.shields.io/npm/v/@kiwilan/filesystem.svg?style=flat-square&colorA=18181B&colorB=339933
[version-href]: https://www.npmjs.com/package/@kiwilan/filesystem
[node-version-src]: https://img.shields.io/static/v1?style=flat-square&label=Node.js&message=v16&color=339933&logo=node&logoColor=ffffff&labelColor=18181b
[node-version-href]: https://www.php.net/
[downloads-src]: https://img.shields.io/npm/dt/@kiwilan/filesystem.svg?style=flat-square&colorA=18181B&colorB=339933
[downloads-href]: https://www.npmjs.com/package/@kiwilan/filesystem
[license-src]: https://img.shields.io/github/license/kiwilan/node-filesystem.svg?style=flat-square&colorA=18181B&colorB=339933
[license-href]: https://github.com/kiwilan/node-filesystem/blob/main/README.md
[tests-src]: https://img.shields.io/github/actions/workflow/status/kiwilan/node-filesystem/run-tests.yml?branch=main&label=tests&style=flat-square&colorA=18181B
[tests-href]: https://github.com/kiwilan/node-filesystem/actions/workflows/run-tests.yml
[codecov-src]: https://codecov.io/gh/kiwilan/node-filesystem/branch/main/graph/badge.svg?token=SHQV8D60YV
[codecov-href]: https://codecov.io/gh/kiwilan/node-filesystem
npm package: @kiwilan/steward-laravel
Description: Plugin for kiwilan/steward-laravel.
Author: Ewilan Rivière
Latest version: 0.1.20

# @kiwilan/steward-laravel

Refer to [steward-laravel](https://github.com/kiwilan/steward-laravel).

## Installation

```bash
npm install @kiwilan/steward-laravel --save-dev
```

Or

```bash
pnpm add @kiwilan/steward-laravel -D
```

## Usage

//

## Local

```json
{
  "devDependencies": {
    "@kiwilan/steward-laravel": "file:~/kiwilan-steward-laravel.tgz"
  }
}
```
npm package: @kiwilan/vite-plugin-steward-laravel
Description: Vite plugin for steward-laravel.
Author: Ewilan Rivière
Latest version: 0.1.0

# @kiwilan/vite-plugin-steward-laravel

Refer to [steward-laravel](https://github.com/kiwilan/steward-laravel).

## Installation

[Typescriptable Laravel](https://github.com/kiwilan/typescriptable-laravel) is required.

You can only install [Steward Laravel](https://github.com/kiwilan/steward-laravel), Typescriptable Laravel is included in this package. Just note that Steward Laravel is not required for this plugin.

```bash
npm install @kiwilan/vite-plugin-steward-laravel --save-dev
```

Or

```bash
pnpm add @kiwilan/vite-plugin-steward-laravel -D
```

## Usage

In your `vite.config.js`:

```js
import { defineConfig } from "vite";
import { Steward } from "@kiwilan/vite-plugin-steward-laravel";

export default defineConfig({
  plugins: [
    Steward({
      // Options
    }),
  ],
});
```

### Inertia

In your `resources/js/app.ts`, load `InertiaTyped` Vue plugin. You could use some helper like `appResolve` and `appTitle` to setup Inertia.

```ts
import "./bootstrap";
import "../css/app.css";

import { Head, Link, createInertiaApp, router } from "@inertiajs/vue3";
import {
  InertiaTyped,
  appResolve,
  appTitle,
} from "@kiwilan/vite-plugin-steward-laravel/vue";

createInertiaApp({
  title: (title) => appTitle(title),
  resolve: (name) =>
    appResolve(name, import.meta.glob("./Pages/**/*.vue", { eager: true })),
  setup({ el, App, props, plugin }) {
    const app = createApp({ render: () => h(App, props) })
      .use(plugin)
      .component("Head", Head)
      .component("InertiaLink", Link)
      .use(InertiaTyped, { router });

    app.mount(el);
  },
});
```

In Vue component, you could use `useInertia` to get useful Inertia methods.

```vue
<script setup lang="ts">
import { useInertia } from "@kiwilan/vite-plugin-steward-laravel/vue";

const { router, route, isRoute, currentRoute } = useInertia();
</script>
```

You have access to global methods injected into templates.

```vue
<template>
  <div>
    <h1>Current route is: {{ $currentRoute }}</h1>
    <InertiaLink
      :href="$route('typed-laravel-route')"
      :class="{{'bg-gray-100': $isRoute('typed-laravel-route')}}"
    >
      A Link
    </InertiaLink>
    <InertiaLink :href="$route('typed-laravel-route', { slug: 'model-slug' })">
      Another Link
    </InertiaLink>
  </div>
</template>
```