open-index/open-npm huggingface dataset:
npm package: @levakorg/eslint-config
Description: Eslint config levakorg org's
Author: levakorg authors
Latest version: 1.0.1

# @levakorg/eslint-config

Eslint config levakorg org's

### Setup

**1. Installation**

```
npm install --save-dev eslint prettier @levakorg/eslint-config
```

or

```
yarn add --dev eslint prettier @levakorg/eslint-config
```

**2. Configuration**

package.json

```JSON
{
  "eslintConfig": {
    "extends": ["@levakorg/eslint-config"]
  }
}
```

.eslintrc | .eslintrc.json

```JSON
{
  "extends": ["@levakorg/eslint-config"]
}
```

.eslintrc.js

```JS
module.exports = {
  extends: ['@levakorg/eslint-config']
}
```

**3. Add scripts**

```JSON
{
  "eslint": "eslint . --ext .json,.cjs,.mjs,.js,.ts,.jsx,.tsx,.vue,.svelte",
  "eslint:fix": "eslint . --ext .json,.cjs,.mjs,.js,.ts,.jsx,.tsx,.vue,.svelte --fix",
}
```

**4. Using scripts**

```
npm run eslint
```

```
npm run eslint:fix
```

or

```
yarn eslint
```

```
yarn eslint:fix
```

### Notes

**1. Using library or frameworks**

```
@levakorg/eslint-config/typescript
```

```
@levakorg/eslint-config/node
```

```
@levakorg/eslint-config/react
```

```
@levakorg/eslint-config/react-typescript
```

```
@levakorg/eslint-config/angular
```

```
@levakorg/eslint-config/vue
```

```
@levakorg/eslint-config/svelte
```

**2. Config / Performance**

- [ ] javascript
- [ ] typescript
- [ ] node
- [ ] react
- [ ] react-typescript
- [ ] angular
- [ ] vue
- [ ] svelte
npm package: @levakorg/init
Description: File environment levakorg org's
Author: levakorg authors
Latest version: 1.0.0

# @levakorg/init

File environment levakorg org's

**1. Using script**

```
npx @levakorg/init templateName templateDescription
```

**2. Other arguments**

- **templateName**, **templateDescription** - `required first arguments`
  - string
- **--use-package**
  - "script" | "package" | "project" or boolean
  - default - `"project"`
- **--use-license**
  - boolean
  - default `true` on "script" & "package", default `false` on "project"
- **--use-readme**
  - boolean
  - default `true` on "script" & "package", default `false` on "project"
- **--use-todo**
  - boolean
  - default `true` on "script" & "package", default `false` on "project"
- **--use-changelog**
  - boolean
  - default `true` on "script" & "package", default `false` on "project"
- **--use-env**
  - boolean
  - default `true` on "project", default `false` on "script" & "package"
- **--use-gitignore**
  - boolean
  - default `true` on "script" & "package" & "project"
- **--use-editorconfig**
  - boolean
  - default `true` on "script" & "package" & "project"
- **--use-prettier**
  - boolean
  - default `true` on "script" & "package" & "project"
- **--use-stylelint**
  - "css" | "less" | "scss" | "sass" | "stylus" | "styled-components" | "total" or boolean
  - default `css` on "project", default `false` on "script" & "package"
- **--use-eslint**
  - "javascript" | "typescript" | "node" | "react" | "react-native" | "angular" | "vue" | "svelte" or boolean
  - default `javascrip` on "script" & "package" & "project"
npm package: @levakorg/prettier-config
Description: Prettier config levakorg org's
Author: levakorg authors
Latest version: 1.0.2

# @levakorg/prettier-config

Prettier config levakorg org's

### Setup

**1. Installation**

```
npm install --save-dev prettier @levakorg/prettier-config
```

or

```
yarn add --dev prettier @levakorg/prettier-config
```

**2. Configuration**

package.json

```JSON
{
  "prettier": "@levakorg/prettier-config"
}
```

.prettierrc | .prettierrc.json

```JSON
"@levakorg/prettier-config"
```

.prettierrc.js

```JS
module.exports = require("@levakorg/prettier-config")
```
```JS
export { default } from '@levakorg/prettier-config'
```

**3. Add scripts**

```JSON
{
  "format": "prettier --write \"./**/*.{md,html,css,json,cjs,mjs,js,ts,jsx,tsx,vue,svelte}\"",
}
```

**4. Using scripts**

```
npm run format
```

or

```
yarn format
```

### Notes

**[Config](https://github.com/levakorg/prettier-config/blob/master/.prettierrc.js)**
npm package: @levakorg/stylelint-config
Description: Stylelint config levakorg org's
Author: levakorg authors
Latest version: 1.0.0

# @levakorg/stylelint-config

Stylelint config levakorg org's

### Setup

**1. Installation**

```
npm install --save-dev stylelint @levakorg/stylelint-config
```

or

```
yarn add --dev stylelint @levakorg/stylelint-config
```

**2. Configuration**

package.json

```JSON
{
  "stylelint": {
    "extends": ["@levakorg/stylelint-config"]
  }
}
```

.stylelintrc | .stylelintrc.json

```JSON
{
  "extends": ["@levakorg/stylelint-config"]
}
```

.stylelintrc.js

```JS
module.exports = {
  extends: ['@levakorg/stylelint-config']
}
```

**3. Add scripts**

```
"stylelint": "stylelint {**/*,*}.{css,less,scss,sass,styl,stylus,styled.js,styled.ts}",
"stylelint:fix": "stylelint {**/*,*}.{css,less,scss,sass,styl,stylus,styled.js,styled.ts} --fix",
```

**4. Using scripts**

```
npm run stylelint
```

```
npm run stylelint:fix
```

or

```
yarn stylelint
```

```
yarn stylelint:fix
```

### Notes

**1. Using preprocessors**

```
@levakorg/stylelint-config/less
```

```
@levakorg/stylelint-config/scss
```

```
@levakorg/stylelint-config/sass
```

```
@levakorg/stylelint-config/stylus
```

```
@levakorg/stylelint-config/styled-components
```

or use a total config

```
@levakorg/stylelint-config/total
```

**2. Config / Performance**

- [x] **[css](https://github.com/levakorg/stylelint-config/blob/master/.stylelintrc.js)**
- [x] **[less](https://github.com/levakorg/stylelint-config/blob/master/less/.stylelintrc.js)**
  - May not recover the first time
- [x] **[scss](https://github.com/levakorg/stylelint-config/blob/master/scss/.stylelintrc.js)**
  - May not recover the first time
- [x] **[sass](https://github.com/levakorg/stylelint-config/blob/master/sass/.stylelintrc.js)**
  - Disabled prettier config
- [x] **[stylus](https://github.com/levakorg/stylelint-config/blob/master/stylus/.stylelintrc.js)**
  - Disabled prettier config
- [x] **[styled-components](https://github.com/levakorg/stylelint-config/blob/master/styled-components/.stylelintrc.js)**
  - Requires `.styled.js / .styled.ts` extension
  - Does not declare ignored properties
- [x] **[total](https://github.com/levakorg/stylelint-config/blob/master/total/.stylelintrc.js)**
npm package: @levakorg/typescript-config
Description: Typescript config levakorg org's
Author: levakorg authors
Latest version: 1.0.0

# @levakorg/typescript-config

Typescript config levakorg org's

### Setup

**1. Installation**

```BASH
npm install --save-dev typescript @levakorg/typescript-config
```

or

```BASH
yarn add --dev typescript @levakorg/typescript-config
```

**2. Configuration**

tsconfig.json
```JSON
{
  "extends": "@levakorg/typescript-config"
}
```

### Notes

**[Config](https://github.com/levakorg/typescript-config/blob/master/tsconfig.json)**
npm package: @levana-protocol/ui
Description: A collection of components for Levana applications.
Latest version: 0.1.29

# Levana UI

A collection of components for Levana applications.

The Levana UI library uses [Joy UI](https://mui.com/joy-ui/getting-started/) as a base layer. If you're looking for a component that doesn't exist here, check the components in Joy UI.

## Setup

To work with Levana UI, just include the `ThemeProvider` at the root of the application.

```ts
import ThemeProvider from "@levana-protocol/ui/ThemeProvider"

const Main = () => {
  return (
    <ThemeProvider variant="levana">
      ...
    </ThemeProvider>
  )
}
```

## Slots and SlotProps

Here's some helpful tips when creating new components.

### Accessing inherited props from the parent SlotProps

Add the component type to the type map to make the components props accessible from the slot props.

<!-- TODO: This also adds the inherited components props as callable props to the child component -->

#### Example

```ts
interface FirstComponentProps {
  one?: string
}

interface OtherComponentTypeMap<
  P = object,
  D extends React.ElementType = typeof FirstComponent,
> {
  props: P & OtherComponentSlotsAndSlotProps & {
    sx?: SxProps
  }
  defaultComponent: D
}

interface OtherComponentProps {
  a: string
  b: string
  c?: string
}

interface MyComponentTypeMap<
  P = object,
  D extends React.ElementType = typeof OtherComponent,
> {
  props: P & MyComponentSlotsAndSlotProps & {
    sx?: SxProps
  }
  defaultComponent: D
}

const Main = () => {
  return (
    <MyComponent slotProps={{
      other: { 
        one: "" // Only accessible through the type map default component
       }
    }} />
  )
}
```

### Omit required props from the parent SlotProps

When defining a `CreateSlotsAndSlotProps` type, the slot props generic record should omit required props. Without doing this, calling the `slotProps` of this component will force all required props to be defined. The props can be omitted by using the `OmitComponentProps` type.

#### Example

```ts
interface OtherComponentProps {
  a: string
  b: string
  c?: string
}

type MyComponentSlotsAndSlotProps = CreateSlotsAndSlotProps<
  MyComponentSlots,
  {
    root: SlotProps<"div", object, MyComponentOwnerState>
    other: SlotProps<
      OmitComponentProps<typeof OtherComponent, "a" | "b">,
      object,
      MyComponentOwnerState
    >
  }
>

const Main = () => {
  return (
    <MyComponent slotProps={{
      other: { 
        // If `OmitComponentProps` was not removing `a` and `b`, this would error
       }
    }} />
  )
}
```
npm package: @levankvirkvelia/page-state
Description: My awesome module
Author: YOUR NAME
Latest version: 0.0.11

# node-module-boilerplate

> Boilerplate to kickstart creating a Node.js module

This is what I use for [my own modules](https://www.npmjs.com/~sindresorhus).

Also check out [`node-cli-boilerplate`](https://github.com/sindresorhus/node-cli-boilerplate).

## Getting started

**Click the "Use this template" button.**

Alternatively, create a new directory and then run:

```
$ curl -fsSL https://github.com/sindresorhus/node-module-boilerplate/archive/main.tar.gz | tar -xz --strip-components=1
```

There's also a [Yeoman generator](https://github.com/sindresorhus/generator-nm).

---

**Remove everything from here and above**

---

# unicorn-fun

> My awesome module

## Install

```
$ npm install unicorn-fun
```

## Usage

```js
import unicornFun from 'unicorn-fun';

unicornFun('unicorns');
//=> 'unicorns & rainbows'
```

## API

### unicornFun(input, options?)

#### input

Type: `string`

Lorem ipsum.

#### options

Type: `object`

##### postfix

Type: `string`\
Default: `rainbows`

Lorem ipsum.
npm package: @levarberry/gqlgen
Description: GraphQL code generator for schema file templates. Generates scaffolding for .graphql files. Supports custom path and type generation.
Author: Levar Berry
Latest version: 1.1.0

🛠️ gqlgen CLI
============

A lightweight CLI tool for generating GraphQL schema file scaffolds for your Node.js / Nuxt.js projects.  
Inspired by Angular's `ng generate`, this tool helps you quickly scaffold out boilerplate files for new GraphQL entities.

---

🚀 Features
-----------

- Creates 4 scaffold files per entity:
  - `*.entity.graphql`
  - `*.inputs.graphql`
  - `*.queries.graphql`
  - `*.mutations.graphql`
- Organizes files in a clean folder structure
- Supports custom output paths
- Easy to install and use locally or globally

---

📦 Installation
---------------

### Option 1: Use Locally (recommended for internal projects)

    npm install -g @levarberry/gqlgen


---

🧪 Usage
--------

### Basic Usage

    gqlgen User

This will generate:

    src/schema/types/User/
      User.entity.graphql
      User.inputs.graphql
      User.queries.graphql
      User.mutations.graphql

---

### With Custom Output Path

    gqlgen Product --path=src/modules/product/graphql

This will generate:

    src/modules/product/graphql/Product/
      Product.entity.graphql
      Product.inputs.graphql
      Product.queries.graphql
      Product.mutations.graphql

---

📁 File Descriptions
--------------------

| File Name                   | Purpose                                  |
|----------------------------|------------------------------------------|
| `*.entity.graphql`         | GraphQL type definition for the entity   |
| `*.inputs.graphql`         | Input types for create/update mutations  |
| `*.mutations.graphql`      | Mutation definitions for the entity      |
| `*.queries.graphql`        | Query definitions for the entity         |

---

🧰 Example Output (for `User`)
------------------------------

    # User.entity.graphql
    type User {
      id: ID!
      name: String!
      createdAt: String
    }

    # User.inputs.graphql
    input CreateUserInput {
      name: String!
    }

    input UpdateUserInput {
      id: ID!
      name: String
    }

    # User.queries.graphql
    extend type Query {
      getUser(id: ID!): User
      listUsers: [User]
    }

    # User.mutations.graphql
    extend type Mutation {
      createUser(input: CreateUserInput!): User
      updateUser(input: UpdateUserInput!): User
      deleteUser(id: ID!): Boolean
    }

---

👩‍💻 Contributing
-----------------

Feel free to fork, contribute, or submit issues.

1. Clone the repo
2. Make your changes
3. Test locally using `npm link`
4. Open a PR!

---

📃 License
----------

RLB License,  R. Levar Berry gives you the power :)

---

🙌 Credits
----------

Created with ❤️ by Levar Berry for faster GraphQL dev.