open-index/open-npm huggingface dataset:
npm package: @kemu/less-vars-loader
Description: Make less vars available in JavaScript.
Latest version: 1.0.0

# less-vars-loader

Make less vars available in JavaScript.

## Usage

```javascript
// Output with camalcase format
import vars from '@kemu/less-vars-loader?!./theme.less';
// vars = { colorBrand: 'blue', red: '#D0021B' };

// Disable camelcase output
import vars from '@kemu/less-vars-loader?camelCase=false!./theme.less';
// vars = { 'color-brand': 'blue', red: '#D0021B' };
```

## Options

| Name | Type | Default | Description |
|------|------|---------|-------------|
| camelCase | boolean | true | Enable/Disable camelcase |
npm package: @kemuridama/storybook-addon-github
Description: A Storybook addon that allows you to link a source code of your story on GitHub.
Author: Ryo Ochiai
Latest version: 2.0.0

# storybook-addon-github

A Storybook addon that allows you to link a source code of your story on GitHub.

## Installation

```
npm i -D @kemuridama/storybook-addon-github
```

## Configuration

Add the following to your `.storybook/main.js`:

```
export default {
  addons: ['@kemuridama/storybook-addon-github'],
}
```

Then, add the following to your `.storybook/preview.js`:

```
export default {
  parameters: {
    github: {
      baseURL: "<GitHub Enterprise Server URL (optional)>",
      repository: "<repository name>",
      branch: "<branch name>",
    }
  }
}
```
npm package: @kemuscorp/schema-validator
Description: A validation middleware of schema for routing on express
Author: Diesan Romero
Latest version: 0.0.1

# @kemuscorp/schema-validator

This library is on Beta.  A validation middleware of schema for routing on express. This library uses [Joi](https://github.com/sideway/joi) to validate schemas. Please do not use it on production.

## How to install it

`$ npm install @kemuscorp/schema-validator`

## How to use it

```js
const express = require('express')
const validate = require('@kemuscorp/schema-validator')

const Router = express.Router()
const schema = require('path-to-your-schema')

Router.post('/admin', validate(schema, 'params'), (req, res, next) => {
  // your code
})

```

Take in mind you need to declare your schema with your properties using [Joi](https://github.com/sideway/joi). In LTS releases, you will be able to create schemas using this module.
npm package: @kemuslabs/opera-db
Description: Kemus Labs Opera Project - DB Module
Author: Diesan Romero
Latest version: 1.0.4

# Opera - DB Module

## Usage

```js
const setupDatabase = require('@kemuslabs/opera-db')

setupDatabase(config)
  .then(db => { User, Authentication, Demographics } = db)
  .catch(error => console.error(error))
```
npm package: @kemvark/eslint-config-k
Description: eslint config for Kemvark
Author: Kemvark
Latest version: 1.0.0

# eslint-config-k

## Description

eslint-config-k is a configuration package for ESLint, a popular JavaScript linter. It provides a set of rules and configurations to enforce code quality and maintainability in Kemvark projects.

## Installation

To install eslint-config-k, you can use npm or yarn:

```
npm i @kemvark/eslint-config-k
```
npm package: @ken-bekov/react-components
Description: This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
Author: Saken Sultanbekov
Latest version: 0.7.0

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `npm start`

Runs the app in the development mode.<br />
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.<br />
You will also see any lint errors in the console.

### `npm test`

Launches the test runner in the interactive watch mode.<br />
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `npm run build`

Builds the app for production to the `build` folder.<br />
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.<br />
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `npm run eject`

**Note: this is a one-way operation. Once you `eject`, you can’t go back!**

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).

### Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

### Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

### Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

### Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

### Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

### `npm run build` fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify
npm package: @ken0x0a/babel
Description: Examples of babel configuration
Latest version: 1.0.10

## Usage

```ts
module.exports = {
  presets: [
    'module:metro-react-native-babel-preset',
    // do this
    [
      require('@ken0x0a/babel/preset/react-native'),
      { moduleResolver: { extensions: ['.ts', '.tsx'] } },
    ],
    // or
    [
      '@ken0x0a/babel/preset/react-native',
      { moduleResolver: { extensions: ['.ts', '.tsx'], root: ['.'] } },
    ],
  ],
}
```
npm package: @ken0x0a/commit-config
Description: ```js // commitlint.config.js module.exports = {   extends: ['@ken0x0a/commit-config/commitlint'], } ```
Latest version: 2.0.1

## Examples

```js
// commitlint.config.js
module.exports = {
  extends: ['@ken0x0a/commit-config/commitlint'],
}
```

```json
// package.json
{
  // ...
  "config": {
    "commitizen": {
      "path": "./node_modules/@ken0x0a/commit-config"
      // "path": "@ken0x0a/commit-config" // this works only with `yarn commit (git-cz called by yarn scripts)`, otherwise cannot resolve
    }
  }
}
```

## References
- https://github.com/commitizen/cz-cli
- https://github.com/commitizen/cz-conventional-changelog
- https://github.com/commitizen/conventional-commit-types/blob/master/index.json
npm package: @ken0x0a/configs
Description: Meta package for configurations to manage versions for multiple packages easily
Latest version: 2.8.5

## Install

```sh
yarn add @ken0x0a/configs

# if you use `react` configuration for eslint, also need to install `@ken0x0a/eslint-config-react-deps`
yarn add @ken0x0a/configs @ken0x0a/eslint-config-react-deps # optional
```

## Usage

Following command will:

- modify `package.json`;
- create config files from templates;

```sh
yarn init-config
```
npm package: @ken0x0a/eslint-config
Description: Examples of eslint configuration
Latest version: 8.2.5


## Install

```sh
yarn add @ken0x0a/eslint-config

# if you use `react` configuration, also need to install `@ken0x0a/eslint-config-react-deps`
yarn add @ken0x0a/eslint-config @ken0x0a/eslint-config-react-deps # optional
```


## Usage

```js
module.exports = require('@ken0x0a/eslint-config')

module.exports = {
  extends: ['@ken0x0a/eslint-config'],
}
module.exports = {
  extends: ['@ken0x0a/eslint-config', '@ken0x0a/eslint-config/autofix'],
}

// or if you prefer to pick only what you want ( the following is default )
module.exports = {
  /**
   * NOTE: The **order is important**, to properly override rules by later one
   */
  extends: [
    '@ken0x0a/eslint-config/base',
    '@ken0x0a/eslint-config/import',
    '@ken0x0a/eslint-config/jest',
    // '@ken0x0a/eslint-config/autofix', // DO NOT USE WITH TypeScript, as it doesn't care about `interface` & `type` and remove them.
    // '@ken0x0a/eslint-config/graphql', // requires to install `eslint-plugin-graphql`
    /**
     * if you need to use `react` related configs like following,
     * you need to install optional dependency "@ken0x0a/eslint-config-react-deps" by
     * `yarn add -D "@ken0x0a/eslint-config-react-deps"`
     */
    '@ken0x0a/eslint-config/react',
    // '@ken0x0a/eslint-config/react-native',
    '@ken0x0a/eslint-config/expo', // extends "./react-native"
    '@ken0x0a/eslint-config/typescript',
  ],
}
```

## Command

https://eslint.org/docs/user-guide/command-line-interface

```bash
yarn --silent eslint -c .eslintrc.js --ext .ts,.tsx .
yarn --silent eslint --ext .ts,.tsx .
yarn --silent eslint --ext .ts,.tsx --report-unused-disable-directives .
# "--no-error-on-unmatched-pattern" from 3.8.0
yarn --silent eslint --ext .ts,.tsx --report-unused-disable-directives --no-error-on-unmatched-pattern .
yarn --silent eslint --ext .ts,.tsx --ignore-pattern '**/*.d.ts' --report-unused-disable-directives
yarn --silent eslint '**/*.ts{,x}'
yarn --silent eslint '*.ts{,x}'
yarn --silent eslint --report-unused-disable-directives '*.ts'
yarn --silent eslint --cache '*.ts'
yarn --silent eslint --no-inline-config some-file.ts
```

## husky config
```js
module.exports = {
  '*.{ts,tsx}': [
    /**
     * https://eslint.org/docs/user-guide/command-line-interface#--ignore-pattern
     */
    "eslint --fix --ext .ts,.tsx --ignore-pattern '**/*.d.ts' --report-unused-disable-directives",
    'git add',
  ],
}
```

## NOTE

`eslint-plugin-autofix` doesn't care `interface` & `type`. Thus, really useless with TypeScript
npm package: @ken0x0a/expo-postpublish-slack-notifier
Description: An util to notify to discord using expo post-publish hook
Latest version: 1.0.0

## Usage

```json
    "hooks": {
      "postPublish": [
        {
          "file": "@ken0x0a/expo-postpublish-slack-notifier",
          "config": {
            "WEBHOOK_URL": "https://hooks.slack.com/services/rF%g6wg7/hGwegw&/hiH89h",
            "username": "Expo CLI",
            "channel": "my-channel"
          }
        }
      ]
    },
```

### Config fallback

| required | config      | env var           |
| :------: | ----------- | ----------------- |
|    🚨    | WEBHOOK_URL | SLACK_WEBHOOK_URL |
|          | username    | SLACK_USERNAME    |
|          | channel     | SLACK_CHANNEL     |

## Requirements

### Slack Webhook URL

- https://__your-url-scheme__.slack.com/apps/manage/custom-integrations
- https://api.slack.com/incoming-webhooks
npm package: @ken0x0a/prettier-config
Description: An example of prettier configuration
Latest version: 4.2.1

## References

- https://prettier.io/docs/en/configuration.html

## Setup

```jsonc
// package.josn
{
  // ...
  "prettier": "@ken0x0a/prettier-config",
  // ...
}
```

```js
// .prettierrc.json | prettier.config.js
module.exports = require("@ken0x0a/prettier-config")
// or, if need to override
module.exports = {
  ...require("@ken0x0a/prettier-config")
  printWidth: 120,
  semi: true,
  singleQuote: false,
}
```
npm package: @ken0x0a/tsconfig
Description: Set of configurations for typescript.
Latest version: 3.0.2

## Example

```jsonc
{
  "extends": "@ken0x0a/tsconfig",
  // "extends": "@ken0x0a/tsconfig/base", // base configuration
  // "extends": "@ken0x0a/tsconfig/bob", // use with "bob"
  // "extends": "@ken0x0a/tsconfig/commonjs", // to compile to "commonjs"
  // "extends": "@ken0x0a/tsconfig/js", // use for eslint "overrides.parserOptions.project": "@ken0x0a/tsconfig/js"
  // "extends": "@ken0x0a/tsconfig/node", // to run by "node"
  // "extends": "@ken0x0a/tsconfig/react-native",
  "compilerOptions": {
    // override some configurations
    "target": "esnext",
    "module": "esnext",
    "lib": [ "es2015", "es2018", "esnext" ],
    "jsx": "react-native",
    "noEmit": true,
  },
  "include": ["**/*.ts"],
  "exclude": ["__test__/**"]
}
```

```js
// .eslintrc.js
module.exports = {
  // ...
  overrides: {
    parserOptions: {
      project:: '@ken0x0a/tsconfig/js',
    }
  }
}
```
npm package: @ken0x0a/tslint-config
Description: An example of tslint configuration.
Currently moving to eslint, but some rules are incompatible yet.
Latest version: 1.5.15
Deprecated: Please use "@ken0x0a/eslint-config" instead


This package is deprecated, as tslint is deprecated.

Please use eslint instead.

There is a tslint configuration converter
https://github.com/typescript-eslint/tslint-to-eslint-config


## Example Config

```yaml
extends:
  - "@ken0x0a/tslint-config"
  - "@ken0x0a/tslint-config/tslint.etc.yml"
# https://palantir.github.io/tslint/rules/
rules:
  no-implicit-dependencies: [false, [
    # react-navigation
    "react-native-safe-area-view",

    # Expo
    "expo-linear-gradient",
    "react-native-svg",
    "react-native-maps",
    "react-native-vector-icons",
    "react-native-gesture-handler",
    "react-native-screens",
    "react-native-reanimated",
    "react-native-linear-gradient",

    # react
    "hoist-non-react-statics",
  ]]
  no-submodule-imports: [true,
    "moment",
    "numeral",
    "react-native",
    "react-native-vector-icons",
    "react-native-gesture-handler",
    "@storybook",
    "@story",
    "@assets",
    "@src",
  ]
```
npm package: @ken0x0a/types-extends
Description: Set of useful types.
Latest version: 1.0.5

set of useful types

## Status

WIP

currently, you need to do something like following, in order to use this type definition.
not useful actually.

```json
{
  "include": ["src", "node_modules/@ken0x0a/types-extends", "../../node_modules/@ken0x0a/types-extends"]
}
```