open-index/open-npm huggingface dataset:
npm package: @sftinc/text-utilities
Description: A collection of text processing utilities
Author: SFT Inc
Latest version: 0.1.0

# text-utilities

A collection of text processing utilities for Node.js applications.

## Installation

```bash
npm install @sftinc/text-utilities
```

## Available Utilities

### json2markdown

Converts JSON objects into a hierarchical markdown structure. This is particularly useful for creating documentation or displaying complex data structures in a readable format.

#### Usage

```javascript
import { json2markdown } from '@sftinc/text-utilities'

const data = {
	user: {
		name: 'John',
		age: 30,
		email: 'john@example.com',
	},
	pets: [
		{ name: 'Fluffy', type: 'cat' },
		{ name: 'Rex', type: 'dog' },
	],
}

const markdown = json2markdown(data, {
	filter: [], // Array of keys to display
	headings: true, // Show root keys as headings
})
```

#### Output Example

```markdown
# user

-   name: John
-   age: 30
-   email: john@example.com

## pet

-   name: Fluffy
-   type: cat

## pet

-   name: Rex
-   type: dog
```

#### Options

-   `filter`: Array of keys to exclude from the output
-   `headings`: Boolean to toggle between using markdown headings (true) or bullet points (false) for hierarchy

## MIT License

Copyright (c) 2025 See Fusion Technologies, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
npm package: @sfx-ui/core
Description: React UI components library by Scaleflex Company
Author: scaleflex
Latest version: 1.0.0-beta.3
Deprecated: WARNING: This module has been renamed to @scaleflex/ui. Please install it instead. See https://github.com/scaleflex/ui/ for more information.

# @sfx-ui/core

React UI components library by Scaleflex

---

## Installation

```shell script
npm i @sfx-ui/core # styled-components react react-dom
```

```shell script
yarn add @sfx-ui/core # styled-components react react-dom
```

> Make sure to have `react`, `react-dom` and `styled-components` installed in your package as they are included in our peer dependencies.

## Usage

`@sfx-ui/core` package implements different UI components under the SFX UI design system.
Every component is exported by default from its folder along with its props and, sometimes, some helper entities.

```typescript jsx
import Button from '@sfx-ui/core/button';

// ...

<Button color="primary">
  Download
</Button>
```
npm package: @sfx-ui/hooks
Description: Batch of useful UI-related React hooks
Author: scaleflex
Latest version: 1.0.0-beta.1
Deprecated: WARNING: This module became a part of @scaleflex/ui. See https://github.com/scaleflex/ui/ for more information.

# @sfx-ui/hooks

Batch of useful UI-related React hooks.

---

## Installation

```shell script
npm i @sfx-ui/hooks # react react-dom
```

```shell script
yarn add @sfx-ui/hooks # react react-dom
```

> Make sure to have `react` and `react-dom` installed in your package as they are included in our peer dependencies.

## Usage

Every hook functions is exported by default and should be used inside React components with respect to the
[rules of hooks](https://reactjs.org/docs/hooks-rules.html).

```typescript jsx
import useMediaQuery from '@sfx-ui/hooks/use-portal';

/**
 * @example
 * <PortalComponent>
 *   <p>Portal content</p>
 * </PortalComponent>
 */
const PortalComponent = ({ id, children }) => {
  const target = usePortal(id);

  return createPortal(
    children,
    target,
  );
};
```
npm package: @sfx-ui/icons
Description: SVG icons as React components
Author: scaleflex
Latest version: 1.0.0-beta.1
Deprecated: WARNING: This module has been renamed to @scaleflex/icons. Please install it instead. See https://github.com/scaleflex/ui/blob/master/packages/icons/README.md for more information.

# @sfx-ui/icons

SVG icons as React components.

---

## Installation

```shell script
npm i @sfx-ui/icons # react react-dom
```

```shell script
yarn add @sfx-ui/icons # react react-dom
```

> Make sure to have `react` and `react-dom` installed in your package as they are included in our peer dependencies.

## Usage

Every icon present in this package is a pure React component, wrapping plain `svg` element.
Each component is exported by default and gives access to the `ref` and `className` props, as well as standard `svg` attributes.

```typescript jsx
import DownloadIcon from '@sfx-ui/icons/download';
```
npm package: @sfx-ui/theme
Description: Theme package
Author: scaleflex
Latest version: 1.0.0-beta.1
Deprecated: WARNING: This module became a part of @scaleflex/ui. See https://github.com/scaleflex/ui/ for more information.

# @sfx-ui/theme

Theme package.

---

## Installation

```shell script
npm i @sfx-ui/core # styled-components react react-dom
```

```shell script
yarn add @sfx-ui/core # styled-components react react-dom
```

> Make sure to have `react`, `react-dom` and `styled-components` installed in your package as they are included in our peer dependencies.

## Usage

Along with `<ThemeProvider />` component, which has to be wrapper around you application, we export hook – `useTheme`.

```typescript jsx
<ThemeProvider>
  <App />
</ThemeProvider>
```

Then, use all the features of our theme inside any part of your React application:

### styled-components

```typescript
const Button = styled.button(
  ({ theme }) => css`
    color: ${theme.palette['accent-strong']};
  `
);
```

### Fonts

Out of the box we provide **no default fonts**.

To connect the fonts defined as default in our design system you have an option to create your own `@font-face`
rules.

To override predefined `font-family` you can pass them into the `theme` prop of the `ThemeProvider` component:

```typescript jsx
<ThemeProvider
  theme={{
    typography: {
      fontFamily: 'Roboto, sans-serif'
    },
  }}
/>
```
npm package: @sfx-ui/utils
Description: Utility functions and types for SFX UI
Author: scaleflex
Latest version: 1.0.0-beta.1
Deprecated: WARNING: This module became a part of @scaleflex/ui. See https://github.com/scaleflex/ui/ for more information.

# @sfx-ui/utils

Utility functions and types for SFX UI.

---

## Installation

```shell script
npm i @sfx-ui/utils # react
```

```shell script
yarn add @sfx-ui/utils # react
```

> Make sure to have `react` installed in your package as it is included in our peer dependencies.

## Usage

This package provides two parts: `functions` and `types`. The latter is intended to be used with TypeScript only,
the former contains different utilities that are used under the hood of most of our packages.

Using those consider their predisposition for internal usage in the SFX UI ecosystem.
npm package: @sfxcode/nuxt-mongocamp-server
Description: Install node:
Latest version: 1.4.1

# Nuxt Mongocamp Module



## Development

### Setup

Install node:

**Latest node LTS version required (20)**
Use node manager like **nvm** to install.

Install pnpm:
[https://pnpm.io/installation](https://pnpm.io/installation)

Install dependencies:

```
pnpm install
```

### Environment

Create .env file in playground with your MongoCamp Parameter

```
MONGOCAMP_URL=
MONGOCAMP_ADMIN_USER=
MONGOCAMP_ADMIN_PASSWORD=
```

### Run

- Run `pnpm dev:prepare` to generate type stubs.
- Use `pnpm dev` to start [playground](./playground) in development mode.
npm package: @sfxcode/nuxt-primevue
Description: * Load [PrimeVue](https://www.primefaces.org/primevue/setup) Components * Add PrimeVue Services (usePrimeDataTable) * [Formkit](https://formkit.com/) Support with [formkit-primevue](https://github.com/sfxcode/formkit-primevue)
Author: Tom Lamers
Latest version: 1.4.2

# Nuxt 3 Module PrimeVue

* Load [PrimeVue](https://www.primefaces.org/primevue/setup) Components
* Add PrimeVue Services (usePrimeDataTable)
* [Formkit](https://formkit.com/) Support with [formkit-primevue](https://github.com/sfxcode/formkit-primevue)

## Version

[![npm version](https://badge.fury.io/js/@sfxcode%2Fnuxt-primevue.svg)](https://badge.fury.io/js/@sfxcode%2Fnuxt-primevue)

## Nuxt 3 Demo

[Github: nuxt3-primevue-starter](https://github.com/sfxcode/nuxt3-primevue-starter)

[Netlify:  nuxt3-primevue-starter](https://nuxt3-primevue-starter.netlify.app/)

## Docs

Read more on [Docs](https://sfxcode.github.io/nuxt-primevue)

Tutorial: [Getting started](https://sfxcode.github.io/nuxt-primevue/guide/getting-started.html)

## Usage

Add Module **nuxt-primevue** to **nuxt.config.ts**

```ts

  modules: [
    ...
    '@sfxcode/nuxt-primevue',
    
  ],
```

Create **formkit.config.ts**

```ts
// formkit.config.ts
import type { DefaultConfigOptions } from '@formkit/vue'
import { primeInputs } from '@sfxcode/formkit-primevue'

const config: DefaultConfigOptions = {
  inputs: primeInputs,
}

export default config
```

See [https://github.com/sfxcode/formkit-primevue](https://github.com/sfxcode/formkit-primevue)

## Module Configuration

### Primevue Configuration

```typescript
    config: {
      ripple: true  // default
    }
```

### Formkit Configuration

Shows if formkit should be used with PrimeVue.
In this case PrimeVue components used by formkit-primevue must be imported global.

```typescript
    config: {
      useFormkit: true  // default
    }
```
### Component Configuration

Default all but excluded PrimeVue Components are imported automatically.

Some components in default are excluded because of some SSR problems or needed Third Party Libraries: 
```typescript
export const defaultPrimevueExcludeComponentNames:Array<string>  = [
  'Chart',
  'Editor',
  'FullCalendar',
]


```
Finetuning by components configuration options:

```typescript
components: {
    include: [...defaultPrimeVueComponents(true, true), 'DataTable', 'Column'],
    force: ['Button',{name:'Message', global:true}],
}
```
#### Components Configuration 
**Option include**:

Includes components by name or as PrimeVueComponent. Defaults are not used if not implemented in helper function.

**Option exclude**:

Only if not include is used. Exclude default components by name.

**Option force**:

Force Includes components by name or as PrimeVueComponent.

**Helper Function**:
``` typescript
export function defaultPrimeVueComponents(useFormkit: boolean, onlyGlobal:boolean=false) 
```

## Development

- Run `npm run dev:prepare` to generate type stubs.
- Use `npm run dev` to start [playground](./playground) in development mode.


![](PrimeVue_demo_dark.png)
npm package: @sfxcode/nuxt-server
Latest version: 0.6.3

# Nuxt Mongocamp Module



## Development

### Setup

Install node:

**Latest node LTS version required (16)**
Use node manager like **nvm** to install.

Install pnpm:
[https://pnpm.io/installation](https://pnpm.io/installation)

Install dependencies:

```
pnpm install
```

### Environment

Create .env file in playground with your MongoCamp Parameter

```
MONGOCAMP_URL=
MONGOCAMP_ADMIN_USER=
MONGOCAMP_ADMIN_PASSWORD=
```

### Run

- Run `pnpm dev:prepare` to generate type stubs.
- Use `pnpm dev` to start [playground](./playground) in development mode.
npm package: @sfyt2000/jdreact-jsbundle-example
Latest version: 1.0.0

# example 项目 (jdreact-jsbundle-example)


## 启动步骤

1. 安装项目依赖包<br/>
`npm install`

2. 启动项目<br/>
`npm start`

3. 在app中打开相应RN页面<br/>