open-index/open-npm huggingface dataset:
npm package: @jvanderen1/compare-versions
Description: Compare semver version strings to find greater, equal or lesser.
Latest version: 1.0.1

![Build](https://github.com/jvanderen1/compare-versions/actions/workflows/build.yml/badge.svg?branch=main&event=push)
![Test](https://github.com/jvanderen1/compare-versions/actions/workflows/test.yml/badge.svg?branch=main&event=push)
[![Coverage Status](https://coveralls.io/repos/github/jvanderen1/compare-versions/badge.svg?branch=main)](https://coveralls.io/github/jvanderen1/compare-versions?branch=main)
[![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/@jvanderen1/compare-versions.svg)](https://bundlephobia.com/package/@jvanderen1/compare-versions)

Compare [semver](https://semver.org/) version strings to find greater, equal or lesser.

- Runs in any Javascript environment.
- No dependencies.
- Tiny build size.

Supports the full semver specification including versions with different number of digits like `1.0.0`, `1.0`, `1` and pre-releases like `1.0.0-alpha`. Additionally supports the following variations:

- Wildcards for minor and patch version like `1.0.x` or `1.0.*`.
- [Chromium version numbers](https://www.chromium.org/developers/version-numbers) with 4 parts, e.g. version `25.0.1364.126`.
- Any leading `v` is ignored, e.g. `v1.0` is interpreted as `1.0`.
- Leading zero is ignored, e.g. `1.01.1` is interpreted as `1.1.1`.

## ⬇️ Install

```shell
npm install @jvanderen1/compare-versions
```

## 📕 Documentation

Please visit https://jvanderen1.github.io/compare-versions/

## 🤝 Compatability

The following bundles are generated:

| Module Type | File Name               |
| ----------- | ----------------------- |
| ESM         | compare-versions.mjs    |
| CommonJS    | compare-versions.cjs    |
| UMD         | compare-versions.umd.js |

## 🙌 Acknowledgment

This project would not be possible without the original [`compare-versions`](https://github.com/omichelsen/compare-versions) project! Thank you.
npm package: @jvb-corp/alloy-editor-lib
Description: Customize Alloy Editor to reuse
Author: trinhnv
Latest version: 2.14.10

# Alloy Editor Lib

This library base on [AlloyEditor of Liferay](https://github.com/liferay/alloy-editor)

## How to use

- Declare it into your script

```js
window.CKEDITORLIBLIB_BASEPATH = 'your-path';
window.ALLOYEDITOR_BASEPATH = 'your-path';
const AlloyEditor = require("@jvb-corp/alloy-editor-lib");
return AlloyEditor;
```

- In your css, add

```css
@import "~@jvb-corp/alloy-editor-lib/assets/alloy-editor-ocean-min.css";
```
npm package: @jvbjs/eslint-config
Description: ESLint config
Author: luyj
Latest version: 1.0.9

# @jvbjs/eslint-config

Quickly format your JavaScript files with this easy to install and use Prettier configuration.

## Purpose

[Prettier](https://prettier.io/) is an opinionated code formatter easy to configure and integrate with Code Editors. This configuration aims to quickly install and config JavaScript projects for consistent code style standards.

This package can be used as a stand-alone config or integrated with any linter. If you look to integrate with [Prettier](https://prettier.io/) for Vue3 projects take a look at our configuration [eslint-config-vue](https://github.com/jvbf2e/eslint-config) using this Prettier config
npm package: @jvbjs/prettier-config
Description: Prettier config
Author: luyj
Latest version: 1.0.9

# @jvbf2e/prettier-config

Quickly format your JavaScript files with this easy to install and use Prettier configuration. This configuration is used on our ESLint React configuration, take a look at [eslint-config](https://github.com/jvbf2e/eslint-config)

## Purpose

[Prettier](https://prettier.io/) is an opinionated code formatter easy to configure and integrate with Code Editors. This configuration aims to quickly install and config JavaScript projects for consistent code style standards.

This package can be used as a stand-alone config or integrated with any linter. If you look to integrate with [ESLint](https://eslint.org/) for React projects take a look at our configuration [eslint-config](https://github.com/jvbf2e/eslint-config) using this Prettier config


## Config

```javascript
module.exports = {
  trailingComma: "es5", // 默认值在 v2.0.0 中从 更改none为es5，"es5":在 ES5 中有效的尾随逗号（对象、数组等）"none"- 没有尾随逗号。"all"- 尽可能使用尾随逗号
  printWidth: 80, // 编辑器展示代码最长距离，超过换行，单位字符。
  tabWidth: 2, // 指定每个缩进级别的空格数。
  useTabs: false, // 使用tab键缩进而不是空格缩进。
  semi: false, // 在语句的末尾打印分号。
  singleQuote: true, // 使用单引号而不是双引号。
  bracketSpacing: true, // 在对象文字中的括号之间打印空格。true- 示例：{ foo: bar }。false- 示例：{foo: bar}。
  bracketSameLine: false, // 多行元素是否能和属性同行（不适用于自闭合元素），默认是 false
  quoteProps: "as-needed", // 对象中的属性使用引号，"as-needed" 只对需要的属性加引号，"consistent" 同一对象中属性引号保持统一，有福同享，有难同当，"preserve" 强制使用引号。默认为 as-needed
  arrowParens: "always", // "always"- 始终包括括号。例子：(x) => x, "avoid"- 尽可能省略括号。例子：x => x
  endOfLine: "lf", // 换行符 "auto" "lf" "crlf"
  requirePragma: false, // 声明格式文件，开启后，仅头部声明的文件进行格式化。用来过度之前没有使用格式化的文件。
  jsxSingleQuote: false, // 在 JSX 中使用单引号而不是双引号。
  jsxBracketSameLine: false, // 在 JSX 中多行元素是否能和属性同行，默认是 false
  embeddedLanguageFormatting: "auto", // "auto"- 如果 Prettier 可以自动识别嵌入代码，请格式化它。"off"- 永远不要自动格式化嵌入代码。
};
```

## How to install

```
npm install prettier @jvbf2e/prettier-config -D
```

## How to use

In your `package.json` add:

```
"prettier": "@jvbf2e/prettier-config"
```

Under script objects

```
"format": "prettier --write \"{,!(node_modules)/**/}*.js\""
```