open-index/open-npm huggingface dataset:
npm package: @lengin/npm-license-generator
Description: This is a clone of npm-license-generator package with updated packages. All credits to original author.
Author: Louisz
Latest version: 1.0.5

# NPM License Generator

Generate a page with a copy of NPM dependency licenses. [Example output](https://mymindstorm.github.io/npm-license-generator/example_licenses)

## Usage

Install:

```bash
npm install --global npm-license-generator
```

Options:

```bash
$ npm-license-generator --help

Usage:
  npm-license-generator [folder]

Positionals:
  folder  Folder of NPM project. Defaults to current working directory  [string]

Options:
  --version          Show version number                               [boolean]
  --help             Show help                                         [boolean]
  --out-path         HTML output path      [string] [default: "./licenses.html"]
  --registry         URL of package registry to use
                                [string] [default: "https://registry.npmjs.org"]
  --tmp-folder-name  Name of temporary folder
                                          [string] [default: ".license-gen-tmp"]
  --template         Path to custom mustache template                   [string]
  --no-group         Do not group licenses            [boolean] [default: false]
  --package-lock     Run on all packages listed in package-lock.json
                                                      [boolean] [default: false]
  --no-spdx          Do not download license file based on SPDX string
                                                      [boolean] [default: false]
  --only-spdx        Do not download tarballs, only use SPDX string
                                                      [boolean] [default: false]
  --error-missing    Exit 1 if no license is present for a package
                                                      [boolean] [default: false]
```

## Use your own template

Supply your own template using the `--template` option. Templates are written in [Mustache](https://mustache.github.io/). Your template does not have to be HTML, change the output file name using `--out-path`.

By default, Mustache is given two variables: 
  - `name`: the package name
  - `renderLicenses`: an array of [GroupedLicense](https://github.com/mymindstorm/npm-license-generator/blob/ce81d002cd22320076e029ed2a612d4e6ad9dacf/src/types.d.ts#L45-L53). When using `--no-group`, an array of [LicenseInfo](https://github.com/mymindstorm/npm-license-generator/blob/ce81d002cd22320076e029ed2a612d4e6ad9dacf/src/types.d.ts#L32-L43) is passed instead. 
  
  Check the [lib](https://github.com/mymindstorm/npm-license-generator/tree/master/lib) folder for example templates.

## How licenses are found

1. Get package version and tarball location from package.lock
2. Look for licenses in node_modules if avalible
3. Otherwise download tarball, extract, look for licenses, and use that
4. Otherwise, evaluate SPDX string and use a file from https://github.com/spdx/license-list-data/tree/master/text
npm package: @lengineerc/utils
Description: Some useful functions, tools, and others.
Author: LengineerC
Latest version: 1.0.7

## 🛠️ js-utils
A collection of common utility functions, utility classes, and data structures, saving you the trouble of rewriting functions when starting new projects.

**Works in both Node.js and browsers**

### 📄 Documentation
[简体中文](docs/zh-cn/index.md) | [English](docs/en/index.md)

### ⬇️ Installation
```bash
npm install @lengineerc/utils
```

### 🏭 Automation Scripts
 - `gen:docs`: Automatically parse JSDoc comments from exported objects and generate documentation (feature is incomplete, it's best not to write JSDoc on non-exported objects)
 - `new`: Quickly create files needed for new components and modify corresponding export files

---

Under continuous development...
npm package: @lengkaixin/icons
Description: vant icons
Latest version: 1.5.3

# Vant Icons

## Install

#### NPM

```shell
npm i @vant/icons -S
```

#### YARN

```shell
yarn add @vant/icons
```

## Document

- [Usage in Vue](https://youzan.github.io/vant/#/zh-CN/icon)
- [Usage in Weapp](https://youzan.github.io/vant-weapp/#/icon)

## Contribution

### Update Icons

1. Update assets/icons.sketch
2. Make a Pull Request

### Add New Icon

1. Add new icon to assets/icons.sketch
2. Add icon name to src/config.js
3. Add icon codepoints to build/codepoints.js
4. Make a Pull Request
npm package: @lengkaixin/markdown-loader
Description: Simple and fast vue markdown loader
Latest version: 4.1.3

# vant-markdown-loader

Simple and fast vue markdown loader, transform markdown to vue component.

## Install

### NPM

```shell
npm i @vant/markdown-loader -S
```

### YARN

```shell
yarn add @vant/markdown-loader
```

## Options

- `enableMetaData`: Default `false`. Whether to use [front-matter](https://github.com/jxson/front-matter) to extract markdown meta data

- `linkOpen`: Default `true`. Whether to add target="\_blank" to all links

- `wrapper(html, fm)`: Format the returned content using a custom function
  - `html`: The result of [markdown-it](https://github.com/markdown-it/markdown-it)'s render
  - `fm`: See [fm(string)](https://github.com/jxson/front-matter#fmstring). If `enableMetaData` option is `false`, the value is `undefined`.
    - `attributes`
    - `body`
    - `frontmatter`
npm package: @lengkaixin/vuicli
Description: Vui Cli 是一个 Vue 组件库构建工具，通过 Vui Cli 可以快速搭建一套功能完备的 Vue 组件库。
Author: lengkaixin
Latest version: 3.10.30

# Vui Cli

Vui Cli 是一个 Vue 组件库构建工具，通过 Vui Cli 可以快速搭建一套功能完备的 Vue 组件库。

### 特性

- 提供丰富的命令，涵盖从开发测试到构建发布的完整流程
- 基于约定的目录结构，自动生成优雅的文档站点和组件示例
- 内置 ESlint、Stylelint 校验规则，提交代码时自动执行校验
- 构建后的组件库默认支持按需引入、主题定制、Tree Shaking

### 快速上手

### 手动安装

```shell
# 通过 npm 安装
npm i @vui/cli -D

# 通过 yarn 安装
yarn add @vui/cli --dev
```

安装完成后，请将以下配置添加到 package.json 文件中

```json
{
  "scripts": {
    "dev": "vui-cli dev",
    "test": "vui-cli test",
    "lint": "vui-cli lint",
    "build": "vui-cli build",
    "prepare": "husky install",
    "release": "vui-cli release",
    "build-site": "vui-cli build-site"
  },
  "lint-staged": {
    "*.md": "prettier --write",
    "*.{ts,tsx,js,vue,less,scss}": "prettier --write",
    "*.{ts,tsx,js,vue}": "eslint --fix",
    "*.{vue,css,less,scss}": "stylelint --fix"
  },
  "eslintConfig": {
    "root": true,
    "extends": ["@vui"]
  },
  "stylelint": {
    "extends": ["@vui/stylelint-config"]
  },
  "prettier": {
    "singleQuote": true
  },
  "browserslist": ["Chrome >= 51", "iOS >= 10"]
}
```

## 详细文档

- [命令] /docs/commands.md
- [配置指南] /docs/config.md
- [目录结构] /docs/directory.md
- [桌面端组件] /docs/desktop.md
npm package: @lengoo/locales-normalizer
Description: ![Node.js Package](https://github.com/lengoo/locales-normalizer/workflows/Node.js%20Package/badge.svg)
Latest version: 2.0.2

## Overview

![Node.js Package](https://github.com/lengoo/locales-normalizer/workflows/Node.js%20Package/badge.svg)

Small package to normalize locales across different standards.

## Installation

`npm install --save locales-normalizer`

## Usage

The normalizer has two methods, `normalize()` and `getLanguage()`:
 * `normalize()` receives the language code and returns a normal version (e.g. en_US -> en-US)
 * `getLanguage()` receives the language code and returns some extra information about the language.


## Example

```javascript

const localeNormalizer = require('locales-normalizer');

const locale = 'en_US'; // Coming from PHP-ICU.

console.log(localeNormalizer.normalize(locale)); // output: en-US

console.log(localeNormalizer.getLanguage(locale)); 
/**
 * Output:
 * {
 *  code: 'en-US',
 *  locale: 'en',
 *  territory: 'US'
 * }
*/

```
npm package: @lengoo/xliff-parser
Description: Extracts and update translation units from XLIFF v1.2 files
Author: lengoo GmbH
Latest version: 3.0.0

# XLIFF PARSER
A parser for XLIFF version 1.2 (Legacy)

## Introduction
This parser allow you to handle the translation units in an XLIFF file. It comes handy to manage translations by updating the target of translation units markers (mrk) and export the xliff content back on a simple way.

The parser will extract the whole content from the translation unit's markers as it is, including segmentation tags `['mrk', 'g', 'x', 'bx', 'ex', 'bpt', 'ept', 'ph', 'it']`.

**ONLY WORKS WITH SEGMENTED SOURCES `<seg-source>`.**

## Features
- Get all translation units markers
- Update Translation units markers

## Installation
Run the following command to add xliff-parser to your project as dependency
```
npm install xliff-parser --save
```

## Tests
Run the following command to execute unit tests
```
npm run test
```
Tests are made with Mocha / Chai