open-index/open-npm huggingface dataset:
npm package: @flow-scanner/regex-scanner
Description: Generic regex-based scanning engine.
Author: Ruben Halman
Latest version: 1.1.1

# @flow-scanner/regex-scanner

A generic regex-based scanning engine for metadata files. This package provides a lightweight, extensible framework for detecting patterns in metadata content.

## Installation

```bash
npm install @flow-scanner/regex-scanner
```

## Usage

```typescript
import { scanRegex, MetadataFile } from "@flow-scanner/regex-scanner";

const file: MetadataFile = {
  name: "My_Flow",
  fileName: "My_Flow.flow-meta.xml",
  metadataType: "Flow",
  content: "<Flow>...</Flow>",
};

// Works with any Salesforce metadata type
const prompt: MetadataFile = {
  name: "My_Prompt",
  fileName: "My_Prompt.aiPromptTemplate-meta.xml",
  metadataType: "AiPromptTemplate",
  content: "<AiPromptTemplate>...</AiPromptTemplate>",
};

const violations = scanRegex([file]);
```

## Built-in Rules

All built-in rules apply to any metadata type by default.

| Rule ID | Description |
|---------|-------------|
| `naming-convention` | Validates file names match a configurable pattern |
| `hardcoded-id` | Detects hardcoded Salesforce record IDs (15/18 char) |
| `hardcoded-url` | Detects hardcoded force.com URLs |
| `hardcoded-secret` | Detects API keys, tokens, and credentials |

## Configuration

```typescript
import { scanRegex, RegexScanConfig } from "@flow-scanner/regex-scanner";

const config: RegexScanConfig = {
  rules: {
    "naming-convention": {
      enabled: true,
      expression: "[A-Z][a-z]+_[A-Z][a-z]+", // Custom pattern
      severity: "warning",
    },
    "hardcoded-id": {
      enabled: false, // Disable this rule
    },
  },
};

const violations = scanRegex(files, config);
```

## Creating Custom Rules

Extend the `RegexRule` base class:

```typescript
import { RegexRule, MetadataFile, RegexViolation } from "@flow-scanner/regex-scanner";

export class MyCustomRule extends RegexRule {
  constructor() {
    super({
      ruleId: "my-custom-rule",
      name: "MyCustomRule",
      label: "My Custom Rule",
      description: "Detects something specific",
      summary: "Short summary",
      severity: "warning",
      supportedTypes: ["*"], // or specific types like ["Flow", "ApexClass"]
      isConfigurable: false,
    });
  }

  protected check(file: MetadataFile): RegexViolation[] {
    const violations: RegexViolation[] = [];
    // Your regex logic here
    return violations;
  }
}
```

## API

### Functions

- `scanRegex(files, config?)` - Scan multiple files, returns violations
- `scanFile(file, config?)` - Scan a single file
- `getRegexRuleIds()` - Get all available rule IDs
- `hasRegexRule(id)` - Check if a rule exists

### Models

- `MetadataFile` - Input file representation
- `RegexViolation` - Output violation with location info
- `RegexScanConfig` - Configuration for scan behavior
- `RegexRule` - Base class for rules
npm package: @flow-ui/core
Description: Consistent React UI Framework declared by your own Design System.
Author: ABR Tech
Latest version: 0.1.61
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# [Flow UI](http://flowui.abr.tech)
Consistent React UI Framework declared by your own Design System. 

Core components of Flow UI

## How to install?

```
yarn add @flow-ui/core
```

## Getting started

```
import React from 'react'
import { Viewport, Block, Header, Paragraph } from '@flow-ui/core'

const Hello props =>
	<Viewport>
	  <Block>
	    <Header>Hello</Header>
	    <Paragraph>Rebass</Paragraph>
	  </Block>
	</Viewport>
```

***
[MIT License](https://github.com/abr-tech/FlowUI/blob/master/LICENSE)
npm package: @flow-ui/whale
Description: Consistent React UI Framework declared by your own Design System.
Author: ABR Tech
Latest version: 0.1.28
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# [Flow UI](http://flowui.abr.tech)
Consistent React UI Framework declared by your own Design System. 

Theme utils for Flow UI

## How to install?

```
yarn add @flow-ui/whale
```

***
[MIT License](https://github.com/abr-tech/FlowUI/blob/master/LICENSE)
npm package: @flow97/eslint-config-mono
Description: ## Install
Latest version: 0.0.4

# @flow97/eslint-config-mono

## Install

```shell
pnpm add eslint @flow97/eslint-config-mono -D
```

## Usage

.eslintrc.js

```javascript
module.exports = {
  root: true,
  extends: [require.resolve('@flow97/eslint-config-mono/react')],
}
```
npm package: @flow97/eslint-config-react
Description: ## Install
Latest version: 1.1.2

# @flow97/eslint-config-react

## Install

```shell
pnpm add eslint @flow97/eslint-config-react -D
```

## Usage

.eslintrc.js

```javascript
module.exports = {
  root: true,
  extends: [require.resolve('@flow97/eslint-config-react')],
}
```
npm package: @flow_in_river/baidu-map-vue
Description: Baidu map component library
Author: yhj
Latest version: 0.0.10

# Description

Baidu map component library

# Install

> `npm install @flow_in_river/baidu-map-vue -S`

如果你使用 ts

> `npm install @flow_in_river/baidu-map-web-types -D `

# Document

[文档地址](https://dafrok.github.io/vue-baidu-map/#/zh/index)，仅供参考，事件集中放在 events 参数

# Usage

```es6
import { createApp } from 'vue'
import BaiduMapVue from '@flow_in_river/baidu-map-vue'
import App from './App.vue'

const app = createApp(App)
app.use(BaiduMapVue, {
  apiKey: apiKey,
  autoInitMap: true, // 是否自动引入百度地图，默认为true,如果设置为false,<bm-map :b-map="BMap"></bm-map>,需要手动引入
})
```

tsconfig

```json
{
  "types": ["@flow_in_river/baidu-map-web-types"]
}
```

events demo

```vue
<template>
  <bm-map
    style="height: 350px"
    :center="center"
    :zoom="zoom"
    :keyboard="true"
    :scroll-wheel-zoom="true"
    :map-click="false"
    :events="events"
  >
  </bm-map>
</template>

<script lang="ts">
import { defineComponent, ref } from 'vue'
export default defineComponent({
  name: 'App',
  setup() {
    const center = ref({ lng: 116.332782, lat: 40.007978 })
    const zoom = 16
    const events = {
      click: (e) => {
        console.log(e)
      },
    }
    return {
      center,
      zoom,
      events,
    }
  },
})
</script>
```
npm package: @flow_in_river/baidu-map-web-types
Description: TypeScript definitions for baidumap-web-sdk-browser
Latest version: 0.0.3

# Installation

> `npm install @flow_in_river/baidu-map-web-types -D`

# Usage

```json
{
  "compilerOptions": {
    "types": ["@flow_in_river/baidu-map-web-types"]
  }
}
```