open-index/open-npm huggingface dataset:
npm package: @stylelint-less/postcss-less
Description: LESS parser for PostCSS
Author: Denys Kniazevych
Latest version: 6.1.0

# postcss-less

A [PostCSS](https://github.com/postcss/postcss) syntax for parsing [LESS](https://lesscss.org/).

## Install

```shell
npm install @stylelint-less/postcss-less --save-dev
```

## Usage

```js
const postcss = require('postcss');
const postcssLess = require('postcss-less');

const source = `
@a: 1;
@b: 2;
@a: 3;
`;

postcss(plugins)
  .process(source, { syntax: postcssLess })
  .then((result) => {
    console.log(result.content);
  });
```

## Note

This is a fork of [postcss-less](https://github.com/shellscape/postcss-less).
npm package: @stylelint-types/stylelint-order
Description: TypeScript definitions for stylelint-define-config
Author: pengzhanbo
Latest version: 7.0.1

# @stylelint-types/stylelint-order

TypeScript definitions for [stylelint-define-config](https://github.com/stylelint-types/stylelint-define-config).

## Install

```sh
npm i -D @stylelint-types/stylelint-order
# or
pnpm add -D @stylelint-types/stylelint-order
# or
yarn add -D @stylelint-types/stylelint-order
```

## Usage

```js
// @ts-check
const defineConfig = require('stylelint-define-config')

/// <reference types="@stylelint-types/stylelint-order">

module.exports = defineConfig({
  rules: {
    // ...rules
  }
})
```

![demo](./static/demo.png)

## Credits

- [@stylelint-types](https://github.com/stylelint-types)
- [@pengzhanbo](https://github.com/pengzhanbo)

## LICENSE

[MIT](./LICENSE)
npm package: @stylelint-types/stylelint-scales
Description: TypeScript definitions for stylelint-define-config
Author: pengzhanbo
Latest version: 5.1.0

# @stylelint-types/stylelint-scales

TypeScript definitions for [stylelint-define-config](https://github.com/stylelint-types/stylelint-define-config).

## Install

```sh
npm i -D @stylelint-types/stylelint-scales
# or
pnpm add -D @stylelint-types/stylelint-scales
# or
yarn add -D @stylelint-types/stylelint-scales
```

## Usage

```js
// @ts-check
const defineConfig = require('stylelint-define-config')

/// <reference types="@stylelint-types/stylelint-scales">

module.exports = defineConfig({
  rules: {
    // ...rules
  }
})
```

![demo](./static/demo.png)

## Credits

- [@stylelint-types](https://github.com/stylelint-types)
- [@pengzhanbo](https://github.com/pengzhanbo)

## LICENSE

[MIT](./LICENSE)
npm package: @stylelint-types/stylelint-scss
Description: TypeScript definitions for stylelint-define-config
Author: pengzhanbo
Latest version: 7.0.0

# @stylelint-types/stylelint-scss

TypeScript definitions for [stylelint-define-config](https://github.com/stylelint-types/stylelint-define-config).

## Install

```sh
npm i -D @stylelint-types/stylelint-scss
# or
pnpm add -D @stylelint-types/stylelint-scss
# or
yarn add -D @stylelint-types/stylelint-scss
```

## Usage

```js
// @ts-check
const defineConfig = require('stylelint-define-config')

/// <reference types="@stylelint-types/stylelint-scss">

module.exports = defineConfig({
  rules: {
    // ...rules
  }
})
```

![demo](./static/demo.png)

## Credits

- [@stylelint-types](https://github.com/stylelint-types)
- [@pengzhanbo](https://github.com/pengzhanbo)

## LICENSE

[MIT](./LICENSE)
npm package: @stylelint-types/stylelint-stylistic
Description: TypeScript definitions for stylelint-define-config
Author: pengzhanbo
Latest version: 5.0.0

# @stylelint-types/stylelint-stylistic

TypeScript definitions for [stylelint-define-config](https://github.com/stylelint-types/stylelint-define-config).

## Install

```sh
npm i -D @stylelint-types/stylelint-stylistic
# or
pnpm add -D @stylelint-types/stylelint-stylistic
# or
yarn add -D @stylelint-types/stylelint-stylistic
```

## Usage

```js
// @ts-check
const defineConfig = require('stylelint-define-config')

/// <reference types="@stylelint-types/stylelint-stylistic">

module.exports = defineConfig({
  rules: {
    // ...rules
  }
})
```

![demo](./static/demo.png)

## Thanks

- [@stylelint-types](https://github.com/stylelint-types)

## LICENSE

[MIT](./LICENSE)
npm package: @stylelint-types/stylelint-stylus
Description: TypeScript definitions for stylelint-define-config
Author: pengzhanbo
Latest version: 1.0.1

# @stylelint-types/stylelint-stylus

TypeScript definitions for [stylelint-define-config](https://github.com/stylelint-types/stylelint-define-config).

## Install

```sh
npm i -D @stylelint-types/stylelint-stylus
# or
pnpm add -D @stylelint-types/stylelint-stylus
# or
yarn add -D @stylelint-types/stylelint-stylus
```

## Usage

```js
// @ts-check
const defineConfig = require('stylelint-define-config')

/// <reference types="@stylelint-types/stylelint-stylus">

module.exports = defineConfig({
  rules: {
    // ...rules
  }
})
```

![demo](./static/demo.png)

## Credits

- [@stylelint-types](https://github.com/stylelint-types)
- [@pengzhanbo](https://github.com/pengzhanbo)

## LICENSE

[MIT](./LICENSE)
npm package: @stylelint/eslint-config
Description: stylelint org's shareable config for eslint
Author: stylelint
Latest version: 12.0.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# @stylelint/eslint-config

[![NPM version](https://img.shields.io/npm/v/@stylelint/eslint-config.svg)](https://www.npmjs.org/package/@stylelint/eslint-config) [![Build Status](https://github.com/stylelint/eslint-config/workflows/CI/badge.svg)](https://github.com/stylelint/eslint-config/actions)

> stylelint org's shareable config for ESLint.

For consistent JavaScript across stylelint's repos.

## Installation

```console
$ npm install @stylelint/eslint-config --save-dev
```

## Usage

Add this to your `package.json`:

```json
{
  "eslintConfig": {
    "extends": ["@stylelint/eslint-config"]
  }
}
```

## [Changelog](CHANGELOG.md)
npm package: @stylelint/language-server
Description: Stylelint Language Server Protocol implementation
Latest version: 1.1.1

# @stylelint/language-server

The [Stylelint](https://stylelint.io/) language server, providing lint diagnostics, code actions, and more via the [Language Server Protocol](https://microsoft.github.io/language-server-protocol/).

## Usage

### As a standalone server

Install the package globally or use `npx`:

```sh
npx @stylelint/language-server --stdio
```

The server communicates over stdio by default. Stylelint must be installed in the project you're linting. The language server resolves it from the workspace directory automatically.

### As a library

```ts
import { createConnection, ProposedFeatures } from "vscode-languageserver";
import { StylelintLanguageServer } from "@stylelint/language-server";

const connection = createConnection(ProposedFeatures.all);

const server = new StylelintLanguageServer({
  connection,
  logLevel: "info"
});

server.start();
```

## Configuration

The server accepts configuration via LSP `workspace/configuration` requests. See the [vscode-stylelint documentation](https://github.com/stylelint/vscode-stylelint#readme) for available settings.

## License

[MIT](LICENSE)
npm package: @stylelint/npm-package-json-lint-config
Description: A stylelint shareable config for npm-package-json-lint.
Author: stylelint
Latest version: 5.1.0

# @stylelint/npm-package-json-lint-config

[![NPM version](https://img.shields.io/npm/v/@stylelint/npm-package-json-lint-config.svg)](https://www.npmjs.org/package/@stylelint/npm-package-json-lint-config)
[![CI](https://github.com/stylelint/npm-package-json-lint-config/actions/workflows/nodejs.yml/badge.svg)](https://github.com/stylelint/npm-package-json-lint-config/actions/workflows/nodejs.yml)

> Stylelint org's shareable config for [npm-package-json-lint](https://npmpackagejsonlint.org/).

For consistent `package.json` files across Stylelint org repos.

## Installation

```shell
npm install @stylelint/npm-package-json-lint-config --save-dev
```

## Usage

Add this to your `package.json`:

```json
{
  "npmpackagejsonlint": {
    "extends": "@stylelint/npm-package-json-lint-config"
  }
}
```

If you prefer, add this too:

```json
{
  "scripts": {
    "lint:packagejson": "npmPkgJsonLint ."
  }
}
```

## [Changelog](CHANGELOG.md)
npm package: @stylelint/postcss-css-in-js
Description: PostCSS syntax for parsing CSS in JS literals
Author: gucong3000
Latest version: 0.38.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# PostCSS CSS-in-JS Syntax

[![NPM version](https://img.shields.io/npm/v/@stylelint/postcss-css-in-js.svg)](https://www.npmjs.org/package/@stylelint/postcss-css-in-js) [![Build Status](https://github.com/stylelint/postcss-css-in-js/workflows/CI/badge.svg)](https://github.com/stylelint/postcss-css-in-js/actions)

<img align="right" width="95" height="95"
	title="Philosopher’s stone, logo of PostCSS"
	src="https://api.postcss.org/logo.svg">

[PostCSS](https://github.com/postcss/postcss) syntax for parsing [CSS in JS](https://github.com/MicheleBertoli/css-in-js) literals:

- [aphrodite](https://github.com/Khan/aphrodite)
- [astroturf](https://github.com/4Catalyzer/astroturf)
- [csjs](https://github.com/rtsao/csjs)
- [css-light](https://github.com/streamich/css-light)
- [cssobj](https://github.com/cssobj/cssobj)
- [electron-css](https://github.com/azukaar/electron-css)
- [emotion](https://github.com/emotion-js/emotion)
- [freestyler](https://github.com/streamich/freestyler)
- [glamor](https://github.com/threepointone/glamor)
- [glamorous](https://github.com/paypal/glamorous)
- [j2c](https://github.com/j2css/j2c)
- [linaria](https://github.com/callstack/linaria)
- [lit-css](https://github.com/bashmish/lit-css)
- [react-native](https://github.com/necolas/react-native-web)
- [react-style](https://github.com/js-next/react-style)
- [reactcss](https://github.com/casesandberg/reactcss)
- [styled-components](https://github.com/styled-components/styled-components)
- [styletron-react](https://github.com/rtsao/styletron)
- [styling](https://github.com/andreypopp/styling)
- [typestyle](https://github.com/typestyle/typestyle)

## Getting Started

First thing's first, install the module:

```
npm install postcss-syntax @stylelint/postcss-css-in-js --save-dev
```

## Use Cases

```js
const postcss = require("postcss");
const stylelint = require("stylelint");
const syntax = require("postcss-syntax");
postcss([stylelint({ fix: true })])
  .process(source, { syntax: syntax })
  .then(function (result) {
    // An alias for the result.css property. Use it with syntaxes that generate non-CSS output.
    result.content;
  });
```

input:

```javascript
import glm from "glamorous";
const Component1 = glm.a({
  flexDirectionn: "row",
  display: "inline-block",
  color: "#fff"
});
```

output:

```javascript
import glm from "glamorous";
const Component1 = glm.a({
  color: "#fff",
  display: "inline-block",
  flexDirectionn: "row"
});
```

## Advanced Use Cases

Add support for more `css-in-js` package:

```js
const syntax = require("postcss-syntax")({
  "i-css": (index, namespace) => namespace[index + 1] === "addStyles",
  "styled-components": true
});
```

See: [postcss-syntax](https://github.com/gucong3000/postcss-syntax)

## Style Transformations

The main use case of this plugin is to apply PostCSS transformations to CSS code in template literals & styles as object literals.
npm package: @stylelint/postcss-markdown
Description: PostCSS syntax for parsing Markdown
Author: gucong
Latest version: 0.36.2
Deprecated: Use the original unforked package instead: postcss-markdown

# PostCSS Markdown Syntax

[![NPM version](https://img.shields.io/npm/v/@stylelint/postcss-markdown.svg)](https://www.npmjs.org/package/@stylelint/postcss-markdown) [![Build Status](https://github.com/stylelint/postcss-markdown/workflows/CI/badge.svg)](https://github.com/stylelint/postcss-markdown/actions)

<img align="right" width="95" height="95"
	title="Philosopher’s stone, logo of PostCSS"
	src="http://postcss.github.io/postcss/logo.svg">

[PostCSS](https://github.com/postcss/postcss) Syntax for parsing [Markdown](https://daringfireball.net/projects/markdown/syntax)

## Getting Started

First thing's first, install the module:

```
npm install postcss-syntax postcss-markdown --save-dev
```

If you want support SCSS/SASS/LESS/SugarSS syntax, you need to install the corresponding module.

- SCSS: [postcss-scss](https://github.com/postcss/postcss-scss)
- SASS: [postcss-sass](https://github.com/aleshaoleg/postcss-sass)
- LESS: [postcss-less](https://github.com/shellscape/postcss-less)
- SugarSS: [sugarss](https://github.com/postcss/sugarss)

## Use Cases

```js
var syntax = require("postcss-syntax")({
  // Enable support for HTML (default: true) See: https://github.com/gucong3000/postcss-html
  htmlInMd: true,
  // syntax for parse scss (non-required options)
  scss: require("postcss-scss"),
  // syntax for parse less (non-required options)
  less: require("postcss-less"),
  // syntax for parse css blocks (non-required options)
  css: require("postcss-safe-parser")
});
var autoprefixer = require("autoprefixer");
postcss([autoprefixer])
  .process(source, { syntax: syntax })
  .then(function(result) {
    // An alias for the result.css property. Use it with syntaxes that generate non-CSS output.
    result.content;
  });
```

input:

<pre><code># title

```css
::placeholder {
	color: gray;
}
```
</code></pre>

output:

<pre><code># title

```css
::-webkit-input-placeholder {
	color: gray;
}
:-ms-input-placeholder {
	color: gray;
}
::-ms-input-placeholder {
	color: gray;
}
::placeholder {
	color: gray;
}
```
</code></pre>

If you want support SCSS/SASS/LESS/SugarSS syntax, you need to install these module:

- SCSS: [postcss-scss](https://github.com/postcss/postcss-scss)
- SASS: [postcss-sass](https://github.com/aleshaoleg/postcss-sass)
- LESS: [postcss-less](https://github.com/shellscape/postcss-less)
- SugarSS: [sugarss](https://github.com/postcss/sugarss)

## Advanced Use Cases

See: [postcss-syntax](https://github.com/gucong3000/postcss-syntax)

## Style Transformations

The main use case of this plugin is apply PostCSS transformations to CSS (and CSS-like) code blocks in markdown file.
npm package: @stylelint/prettier-config
Description: A Stylelint shareable config for Prettier.
Author: stylelint
Latest version: 4.0.0

# @stylelint/prettier-config

[![NPM version](https://img.shields.io/npm/v/@stylelint/prettier-config.svg)](https://www.npmjs.org/package/@stylelint/prettier-config) [![Build Status](https://github.com/stylelint/prettier-config/workflows/CI/badge.svg)](https://github.com/stylelint/prettier-config/actions)

> stylelint org's shareable config for prettier.

For consistent formatting across stylelint's repos.

## Installation

```console
$ npm install @stylelint/prettier-config --save-dev
```

## Usage

Add this to your `package.json`:

```json
{
  "prettier": "@stylelint/prettier-config"
}
```

## [Changelog](CHANGELOG.md)
npm package: @stylelint/remark-preset
Description: stylelint org's shareable preset for remark
Author: stylelint
Latest version: 5.1.1

# @stylelint/remark-preset

[![NPM version](https://img.shields.io/npm/v/@stylelint/remark-preset.svg)](https://www.npmjs.org/package/@stylelint/remark-preset) [![Build Status](https://github.com/stylelint/remark-preset/workflows/CI/badge.svg)](https://github.com/stylelint/remark-preset/actions)

> stylelint org's shareable preset for remark.

For consistent Markdown code across stylelint's repos.

## Installation

```console
$ npm install @stylelint/remark-preset --save-dev
```

## Usage

Add this to your `package.json`:

```json
{
  "remarkConfig": {
    "plugins": ["@stylelint/remark-preset"]
  }
}
```

## [Changelog](CHANGELOG.md)
npm package: @styleofpicasso/jt-web
Description: a javascript jt-web
Author: zmy
Latest version: 0.0.1

# @ithinkdt/jt-web

bom 3d模型的 jt数据在web端的展示工具

## how to install

#### For TypeScript such as Angular Vue React

install

```
npm i @ithinkdt/jt-web --save-dev
```

Import

```
import jt-web from '@ithinkdt/jt-web';
```

## How to use

#### html

```
// 这里的 id 固定 JT_WEB, class 固定 siemens-app-container
<div class="siemens-app-container" id="JT_WEB"></div>
```

#### js
##### 初始化 （渲染配置）

```
const jt_web = jt_web({
    // 数据
    data: {
        title: '测试产品',  // 模型组件名称
        psId: '122',  // 模型组件ID
        "units": 5,  // 应该是单位
        bboxMax: [12, 13, 14], // 模型最大坐标
        bboxMIn: [1, 2, 3], // 模型最小坐标 （两种应该可以求出模型的大小）
        mat64: '' ,  // 具体的数据信息
        modelId: '11', // 模型Id
        version: '1.2.2', // 版本
        xform: [1,0,0,0,-1,0,0,0,1,223, 134, 122], // 12个数， 后三个是坐标， 前九个应该和旋转有关
        children: [],  // 他的子集
    },
    // 相机的配置属性
    cameraPos:  { pos: [], rot: [], tgt: [] },  // 默认就传空
    // 抛出的事件
    actions: {
        // 顶部左上角的展示
        displayStructureView: () => {
            console.log('展示nav')
        },
        // 模型上的点击零件的事件， 抛出psId
        selectionChange: (e) => {
            console.log(e)
        }
    },
    // 位置 (解释待定)
    points: [
         {"pos":[500, 700, 1200], "color":"#ff0000"},
          {"pos":[1200, 680, 1250], "color":"#dd0000"},
          {"pos":[1400, 660, 1260], "color":"#aa0000"},
          {"pos":[1600, 660, 1260], "color":"#990000"},
          {"pos":[1800, 660, 1260], "color":"#770000"},
          {"pos":[2000, 650, 1260], "color":"#550000"},
          {"pos":[2200, 650, 1260], "color":"#330000"},
          {"pos":[2400, 640, 1250], "color":"#110000"},
          {"pos":[2600, 630, 1240], "color":"#001100"},
          {"pos":[2800, 620, 1230], "color":"#003300"}
    ]

})
```