open-index/open-npm huggingface dataset:
npm package: @g4mbit/ui
Description: ```shell "lint": "eslint src --cache", // lint all the code "build": "tsc -b", // run tsc without emitting used internally inside the monorepo "clean": "rimraf dist", // clean the dist folder "build:ci": "pnpm run clean && tsc && pnpm run copy:style && pn
Latest version: 0.0.89

### Package json scripts explained

```shell
"lint": "eslint src --cache", // lint all the code
"build": "tsc -b", // run tsc without emitting used internally inside the monorepo
"clean": "rimraf dist", // clean the dist folder
"build:ci": "pnpm run clean && tsc && pnpm run copy:style && pnpm run copy:pkg", // build the package for npm
"copy:style": "cp -r style dist/style", // copy the style folder to dist
"copy:pkg": "cp package.json dist/package.json" // copy the package.json to dist
```
npm package: @g51dhu/nano-preact-app
Description: Installs nano-preact-app template.
Author: G51DHU
Latest version: 1.0.2

# Nano Preact App

Lightweight version of [create-react-app](https://create-react-app.dev/).

Uses [Vite]("https://vitejs.dev/") and [Preact]("https://preactjs.com/"). Instead of [Webpack]("https://webpack.js.org/") and [React]("https://reactjs.org/").

This is the tool to download the [template project]("https://github.com/g51dhu/nano-preact-app-template-js") for nano-preact-app.

---

# Install

1) Npm
    - `npm i -g nano-preact-app`
2) Pnpm
    - `pnpm i -g @g51dhu/nano-preact-app`


# Commands

1) Starts nano-preact-app tool.
    -   `nano-preact-app`

2) Downloads nano-preact-app template in current directory.
    - `nano-preact-app init`

3) Creates directory using name given then, downloads nano-preact-app template in that directory.
    - `nano-preact-app <project-name>`
npm package: @g51dhu/nano-react-app
Description: Installs nano-react-app template.
Author: G51DHU
Latest version: 1.2.1

# Nano React App

Lightweight version of [create-react-app](https://create-react-app.dev/).

The template used includes [Vite](https://vitejs.dev/), instead of [Webpack](https://webpack.js.org/).

This is the tool to download the [template project](https://github.com/g51dhu/nano-react-app-template-js) for nano-react-app.

---

# Install

1) npm
    - `npm i -g @g51dhu/nano-react-app`
2) pnpm
    - `pnpm i -g @g51dhu/nano-react-app`


# Commands

1) Starts nano-react-app tool.
    - `nano-react-app`

2) Downloads nano-react-app template in current directory.
    - `nano-react-app init`

3) Creates directory using name given then, downloads nano-react-app template in that directory.
    - `nano-react-app <project-name>`

# Flags

## `--package-manager`  </br>

**Alias:** 
`--pm` </br>
**Description:** 
Choose the package manager to install node modules.
</br>
**Supported package managers:**
- npm
- pnpm
- yarn
npm package: @g71/avanza-lib
Description: A wrapper for the unofficial Avanza API, based on https://github.com/dichai1983/avanza-lib.git
Latest version: 3.1.9

# NOTE

*This a fork from a fork, see GitHub. It will probably be stripped down to mere basics, e.g. removing event listening API. Below information might be or become obsolete.*

# Avanza-lib

A Node.js wrapper for the unofficial Avanza API. Please note that this is only a proof of concept, hence not meant to be used by anyone.

## Installation

Install via [npm](https://www.npmjs.com/package/@g71/avanza-lib)
```bash
$ npm install @g71/avanza-lib
```
## Documentation

Refer to [API.md](./API.md).

## Getting a TOTP Secret

Here are the steps to get your TOTP Secret:

0. Go to Profil > Inställningar > Sajtinställningar > Inloggning och utloggning > Användarnamn > Tvåfaktorsinloggning and click "Återaktivera". (Only do this step if you have already set up two-factor auth.)
1. Click "Aktivera" on the next screen.
2. Select "Annan app för tvåfaktorsinloggning".
3. Click "Kan du inte scanna QR-koden?" to reveal your TOTP Secret.
5. Finally, run `node -e "console.log(require('avanza-lib/dist/totp')('PASTE_YOUR_TOTP_SECRET_HERE'))"` to generate an initial code.
6. Done! From now on all you have to do is supply your secret in the `authenticate()` function as in the example below.

## Example

Authenticate and fetch currently held positions:

```javascript
import Avanza from 'avanza-lib'
const avanza = new Avanza()

avanza.authenticate({
  username: 'MY_USERNAME',
  password: 'MY_PASSWORD',
  totpSecret: 'MY_TOTP_SECRET'
}).then(async () => {
  const positions = await avanza.getPositions()
  console.log(positions)
})
```

Authenticate and subscribe to real-time data:

```javascript
import Avanza from 'avanza-lib'
const avanza = new Avanza()

avanza.authenticate({
  username: 'USERNAME',
  password: 'PASSWORD',
  totpSecret: 'MY_TOTP_SECRET'
}).then(() => {
  avanza.subscribe(Avanza.QUOTES, '5479', (quote) => {
    console.log('Received quote:', quote)
  })
})
```
## Documentation

Refer to [API.md](API.md).

## Tests

Tests will not run without an `.env` file. Use the `.env-example` as reference.

```bash
$ npm test
```
## LICENSE

MIT license. See the LICENSE file for details.

## RESPONSIBILITIES

The author of this software is not responsible for any indirect damages (foreseeable or unforeseeable), such as, if necessary, loss or alteration of or fraudulent access to data, accidental transmission of viruses or of any other harmful element, loss of profits or opportunities, the cost of replacement goods and services or the attitude and behavior of a third party.
npm package: @g749/plugin-node-data-inheritance
Description: Custom data inheritance plugin for Patternlab
Author: David Emanuelsen
Latest version: 1.0.4

# Data Inheritance Plugin for Pattern Lab Node

The Data Inheritance Plugin allows patterns to inherit data from patterns within its lineage.
This means that data from included patterns is merged with the current pattern. The current pattern's data takes precedence.

## Installation

To add the Data Inheritance Plugin to your project using [npm](http://npmjs.com/):

`npm install --save @g749/plugin-node-data-inheritance`

Or add it directly to your project's `package.json` file and run `npm install`.

Note: This plugin needs an event which is not (yet?) available in Patternlab node, if it is to be used / tested the following needs to be added to ln. 360 in patternlab.js (Patternlab core lib):

    patternlab.events.emit('patternlab-pattern-before-data-merge', patternlab, pattern);

## Note
Due to the way patterlab-node handles plugins, during the postinstall.js the module is copied from `node_modules/@g749/plugin-node-data-inheritance` to `node_modules/plugin-node-data-inheritance`

## Developing

Use the following to install dev dependecies:
```bash
PATTERLAB_PLUGIN_DEV=@g749/plugin-node-data-inheritance npm install
```
npm package: @g749/plugin-node-faker
Description: A plugin for Pattern Lab that allows Faker in the data.json file
Author: David Cross
Latest version: 1.0.5

## Faker for Pattern Lab-Node

This is a plugin that adds Faker data to your `data.json` file at build time.

## Install

`npm install --save @g749/plugin-node-faker`

(Remember to run `NPM run postinstall` in your Pattern Lab base directory.)

## Usage

In `data.json`, add Faker API methods as strings. Call the vars as you normally would inside Mustache (untested with other PL engines).

```
{
  "company" : {
    "name" : "faker.name.findName",
    "url" : "faker.internet.url"
  }
}
```

## Some common Faker API methods

```
@faker.[SECTION].[PROPERTY]([OPTIONS])@ // `options` and parenthesis are optional
@faker.name.findName@ // returns 'Neal Considine'
@faker.name.firstName@ // returns 'Jaron'
@faker.name.lastName@ // returns 'Will'
@faker.internet.url@ // returns 'https://heath.org'
@faker.lorem.paragraph@ // returns paragraph
@faker.lorem.words(5)@ // returns 5 words
@faker.lorem.text(500)@ // returns random number of characters less than 500. Could be 20 chars. Could be 200.
```

Check out Faker on NPM for all the different API methods (https://www.npmjs.com/package/faker). I've found Marak's Github wiki to be a little more detailed though (https://github.com/Marak/Faker.js/wiki).

## Work in process

A tale of two listeners. For some reason, I can't update the listitems object and the pattern-specific data object with one listener. `data.json` doesn't care where it's changed, but these other two get operated on in different places.

## Developing

Use the following to install dev dependecies:
```bash
PATTERLAB_PLUGIN_DEV=@g749/plugin-node-faker npm install
```
npm package: @g7e6-fe/g7-tracker-mini
Description: G7信息采集微信小程序SDK
Author: g7e6@g7.com.cn
Latest version: 1.0.2

# g7-tracker-mini

微信小程序信息采集SDK。
本SDK旨在业务系统操作发车到达时，辅助上报司机位置信息，确保数据的**真实性、准确性、及时性和完整性**。

[查看接入指南](./接入指南.md)

本SDK基于小程序自定义组件开发模板：

* 支持使用 less 语法编写 wxss 文件
* 使用 webpack 构建 js
* 支持自定义组件单元测试
* 支持 eslint
* 支持多入口构建

## 使用

* 使用[命令行工具](https://github.com/wechat-miniprogram/miniprogram-cli)进行初始化
* 直接从 github 上 clone 下来

## 开发

1. 安装依赖：

```
npm install
```

2. 执行命令：

```
npm run dev
```

默认会在包根目录下生成 miniprogram\_dev 目录，src 中的源代码会被构建并生成到 miniprogram\_dev/components 目录下。如果需要监听文件变化动态构建，则可以执行命令：

```
npm run watch
```

> ps: 如果 minirpogram\_dev 目录下已存在小程序 demo，执行`npm run dev`则不会再将 tools 下的 demo 拷贝到此目录下。而执行`npm run watch`则会监听 tools 目录下的 demo 变动并进行拷贝。

3. 生成的 miniprogram\_dev 目录是一个小程序项目目录，以此目录作为小程序项目目录在开发者工具中打开即可查看自定义组件被使用的效果。

4. 进阶：

* 如果有额外的构建需求，可自行修改 tools 目录中的构建脚本。
* 内置支持 webpack、less 语法、sourcemap 等功能，默认关闭。如若需要可以自行修改 tools/config.js 配置文件中相关配置。
* 内置支持多入口构建，如若需要可自行调整 tools/config.js 配置文件的 entry 字段。
* 默认开启 eslint，可自行调整规则或在 tools/config.js 中注释掉 eslint-loader 行来关闭此功能。

## 发布

> ps: 发布前得确保已经执行构建，小程序 npm 包只有构建出来的目录是真正被使用到的。

1. 如果还没有 npm 帐号，可以到[ npm 官网](https://www.npmjs.com/)注册一个 npm 帐号。
2. 在本地登录 npm 帐号，在本地执行：

```
npm adduser
```

或者

```
npm login
```

3. 在已完成编写的 npm 包根目录下执行：

```
npm publish
```

到此，npm 包就成功发布到 npm 平台了。

> PS：一些开发者在开发过程中可能修改过 npm 的源，所以当进行登录或发布时需要注意要将源切回 npm 的源。

## 目录结构

以下为推荐使用的目录结构，如果有必要开发者也可以自行做一些调整:

```
|--miniprogram_dev // 开发环境构建目录
|--miniprogram_dist // 生产环境构建目录
|--src // 源码
|   |--components // 通用自定义组件
|   |--images // 图片资源
|   |
|   |--xxx.js/xxx.wxml/xxx.json/xxx.wxss // 暴露的 js 模块/自定义组件入口文件
|
|--test // 测试用例
|--tools // 构建相关代码
|   |--demo // demo 小程序目录，开发环境下会被拷贝生成到 miniprogram_dev 目录中
|   |--config.js // 构建相关配置文件
|
|--gulpfile.js
```

> PS：对外暴露的 js 模块/自定义组件请放在 src 目录下，不宜放置在过深的目录。另外新增的暴露模块需要在 tools/config.js 的 entry 字段中补充，不然不会进行构建。

## 测试

* 执行测试用例：

```
npm run test
```

* 执行测试用例并进入 node inspect 调试：

```
npm run test-debug
```

* 检测覆盖率：

```
npm run coverage
```

测试用例放在 test 目录下，使用 **miniprogram-simulate** 工具集进行测试，[点击此处查看](https://github.com/wechat-miniprogram/miniprogram-simulate/blob/master/README.md)使用方法。在测试中可能需要变更或调整工具集中的一些方法，可在 test/utils 下自行实现。

## 其他命令

* 清空 miniprogram_dist 目录：

```
npm run clean
```

* 清空 miniprogam_dev 目录：

```
npm run clean-dev
```
npm package: @g7testing/midscene-core
Description: Automate browser actions, extract data, and perform assertions using AI. It offers JavaScript SDK, Chrome extension, and support for scripting in YAML. See https://midscenejs.com/ for details.
Latest version: 0.16.10

## Documentation

Automate browser actions, extract data, and perform assertions using AI. It offers JavaScript SDK, Chrome extension, and support for scripting in YAML.

See https://midscenejs.com/ for details.

## License

Midscene is MIT licensed.
npm package: @g7testing/midscene-web
Description: Automate browser actions, extract data, and perform assertions using AI. It offers JavaScript SDK, Chrome extension, and support for scripting in YAML. See https://midscenejs.com/ for details.
Latest version: 0.16.10

## Documentation

Automate UI actions, extract data, and perform assertions using AI. It offers JavaScript SDK, Chrome extension, and support for scripting in YAML.

See https://midscenejs.com/ for details.

## License

Midscene is MIT licensed.
npm package: @g9t3n/skeletune-skeleton
Description: A small React skeleton wrapper component (from skeletune)
Author: G9T3N
Latest version: 1.0.0

# skeletune-skeleton

A small React skeleton wrapper component extracted from the skeletune project.

## Install

Install the package (after publishing) or use a local workspace approach.

npm:

npm install skeletune-skeleton

pnpm (workspace):

pnpm -w add -D ./packages/skeletonify

## Usage

Import the component and the CSS in your app:

```tsx
import React from "react";
import Skeleton from "skeletune-skeleton";
import "skeletune-skeleton/style.css";

export default function App() {
  return (
    <Skeleton isLoading={true}>
      <div>
        <p>Example</p>
      </div>
    </Skeleton>
  );
}
```

Notes:

- The library declares `react` and `react-dom` as peer dependencies.
- The CSS file is included in `src/style.css` so you can import/compose it into your bundler.

## Build

From `packages/skeletonify` run:

```bash
# install dev dependencies (once)
npm install

# build
npm run build
```

The build emits compiled JS and type declarations to `dist/`.

## Publish

1. Update `package.json` author/keywords/version as needed.
2. Ensure you have bumped the version.
3. npm publish from `packages/skeletonify` or use `pnpm` workspace publishing flow.