open-index/open-npm huggingface dataset:
npm package: @fashion-platform/config
Description: Shared configuration files (ESLint, Tailwind, TypeScript) for Fashion Platform
Latest version: 0.1.0

# @fashion-platform/config

Shared configuration files (ESLint, Tailwind, TypeScript) for Fashion Platform.

## Installation

```bash
npm install @fashion-platform/config
```

## Usage

### ESLint Configuration

```js
// .eslintrc.js
module.exports = {
  extends: ['@fashion-platform/config/eslint/base'],
  // or
  extends: ['@fashion-platform/config/eslint/nextjs'],
};
```

### Tailwind Configuration

```js
// tailwind.config.js
module.exports = require('@fashion-platform/config/tailwind/base');
```

### TypeScript Configuration

```json
// tsconfig.json
{
  "extends": "@fashion-platform/config/tsconfig/base.json"
}
```

## Development

This package is part of the Fashion Platform monorepo. See the root README for development instructions.

## License

MIT
npm package: @fashion-platform/ui-library
Description: Shared React UI component library for Fashion Platform
Latest version: 0.1.0

# @fashion-platform/ui-library

Shared React UI component library for Fashion Platform.

## Installation

```bash
npm install @fashion-platform/ui-library
```

## Usage

```tsx
import { uiLibraryVersion } from '@fashion-platform/ui-library';

// Your components will be exported here
```

## Requirements

- React ^19.0.0
- React DOM ^19.0.0

## Development

This package is part of the Fashion Platform monorepo. See the root README for development instructions.

## License

MIT
npm package: @fashion-platform/utils
Description: Shared utility functions for Fashion Platform
Latest version: 0.1.0

# @fashion-platform/utils

Shared utility functions for Fashion Platform.

## Installation

```bash
npm install @fashion-platform/utils
```

## Usage

```ts
import { utilsVersion } from '@fashion-platform/utils';

// Your utilities will be exported here
```

## Development

This package is part of the Fashion Platform monorepo. See the root README for development instructions.

## License

MIT
npm package: @fashionable/tailwind-plugin
Description: All Fashionable Tailwind Plugins in one
Author: Tim Morris
Latest version: 0.3.0

# Fashionable Tailwind Plugin

All `@fashionable` TailwindCSS plugins in one

## Installation

Install `@fashionable/tailwind-plugin` with your favorite package manager:

```sh
# with pnpm
pnpm add @fashionable/tailwind-plugin

# or yarn
yarn add @fashionable/tailwind-plugin

# or npm
npm install @fashionable/tailwind-plugin
```

Then add it to your `tailwind.config`:

```javascript
// tailwind.config.cjs

const fashionable = require('@fashionable/tailwind-plugin')

/** @type {import('tailwindcss').Config} */
module.exports = {
  content: ['./**/*.html'],
  theme: {
    extend: {},
  },
  plugins: [
    fashionable({
      rvars: {
        orderedBreakpoints: ['sm', 'md', 'lg', 'xl'],
      },
      themeTokens: {
        tokens: { colors: true },
      },
    }),
  ],
}
```

## Configuration

For details about configuring each plugin, please visit that plugins home page (list below). To disable any plugin, set its config key to `false` rather than the expected options object.

Included plugins & config keys:

| Plugin                                      | Config Key    | Links                                                 |
| ------------------------------------------- | ------------- | ----------------------------------------------------- |
| `@fashionable/tailwind-plugin-rvars`        | `rvars`       | [GitHub](rvars-github) [NPM](rvars-npm)               |
| `@fashionable/tailwind-plugin-theme-tokens` | `themeTokens` | [GitHub](theme-tokens-github) [NPM](theme-tokens-npm) |

[rvars-github]: "https://github.com/tkofh/fashionable/tree/main/packages/tailwind-plugin-rvars"
[rvars-npm]: "https://www.npmjs.com/package/@fashionable/tailwind-plugin-rvars"
[theme-tokens-github]: "https://github.com/tkofh/fashionable/tree/main/packages/tailwind-plugin-theme-tokens"
[theme-tokens-npm]: "https://www.npmjs.com/package/@fashionable/tailwind-plugin-theme-tokens"
npm package: @fashiondx/fdx-logger-module
Description: Custom logger
Author: Shobhit Agrawal
Latest version: 0.0.4

# fdx-logger-module

Custom logging module to generate custom formatted logs

## Pre-requisites
1. npm v6.10.3 or higher
2. Node v10.15.3 or higher


## Installation Steps (for Linux-based systems)
1. Clone the Github repo, `git clone https://github.com/FashionDx/fdx-logger-module.git`
2. Change working directory, `cd fdx-logger-module`
3. Install project dependencies, `npm install`
6. Create `dist` directory, `mkdir dist`.
7. Run `npm run clean`.
7. Run `npm run preversion`.


## Project Directory Structure
Project directory structure setup based on the article: https://kjaer.io/ts-npm-config/
npm package: @fashiontrade/babel-preset-ft-react-app
Description: Babel preset used by fashionTrade Create React App
Latest version: 0.1.5

# babel-preset-ft-react-app

This package includes the Babel preset used by [fashionTrade Create React App](https://github.com/FashionTrade/create-ft-react-app).

## Usage in Create React App Projects

The easiest way to use this configuration is with [fashionTrade Create React App](https://github.com/FashionTrade/create-ft-react-app), which includes it by default. **You don’t need to install it separately in Create React App projects.**

## Usage Outside of fashionTrade's Create React App

If you want to use this Babel preset in a project not built with fashionTrade's Create React App, you can install it with the following steps.

First, [install Babel](https://babeljs.io/docs/setup/).

Then install babel-preset-react-app.

```sh
yarn install @fashiontrade/babel-preset-ft-react-app
```

Then create a file named `.babelrc` with following contents in the root folder of your project:

```js
{
  "presets": ["@fashiontrade/ft-react-app"]
}
```
npm package: @fashiontrade/eslint-config-ft-react-app
Description: ESLint configuration used by fashionTrade react apps
Latest version: 0.5.0

# eslint-config-ft-react-app

This package includes the shareable ESLint configuration used by fashionTrade react apps.

## Usage in Create React App Projects

The easiest way to use this configuration is with [Create React fT App](https://github.com/FashionTrade/create-ft-react-app), which includes it by default.

**You don’t need to install it separately in Create React App projects.**

## Usage Outside of Create React App

If you want to use this ESLint configuration in a project not built with Create React App, you can install it with the following steps.

First, install this package, ESLint and the necessary plugins.

```sh
yarn add --dev @fashiontrade/eslint-config-ft-react-app babel-eslint@9.x eslint@5.x eslint-plugin-flowtype@2.x eslint-plugin-import@2.x eslint-plugin-jsx-a11y@6.x eslint-plugin-react@7.x eslint-config-airbnb@17.0.0 eslint-config-prettier@3.0.1 eslint-plugin-jest@21.x eslint-plugin-mocha@5.x eslint-plugin-prettier@2.x
```

Then create a file named `.eslintrc.js` with following contents in the root folder of your project:

```
module.export = {
  extends: '@fashiontrade/eslint-config-ft-react-app',
}
```

That's it! You can override the settings from `eslint-ft-config-react-app` by editing the `.eslintrc.js` file.
npm package: @fashiontrade/ft-react-scripts
Description: fashionTrade configuration and scripts for Create React App.
Latest version: 0.7.0

# react-scripts

This package includes scripts and configuration used by [Create React App](https://github.com/facebook/create-react-app).<br>
Please refer to its documentation:

- [Getting Started](https://facebook.github.io/create-react-app/docs/getting-started) – How to create a new app.
- [User Guide](https://facebook.github.io/create-react-app/) – How to develop apps bootstrapped with Create React App.
npm package: @faslet/widget
Description: The Faslet Size Me Up widget for eCommerce platforms
Author: The Faslet Team
Latest version: 0.3.0

# Faslet Widget NPM Module

### Usage
To use this project in your own, pull down this plugin with
```bash
npm install @faslet/widget
```

#### Widget (Product page)

Example usage with shop id `Faslet Demo`
```typescript
import { createWidget } from '@faslet/widget';

const widget = createWidget('Faslet Demo')
    .withBrand('Faslet Demo Brand')
    .withProductId('product-1')
    .withProductImage('https://placekitten.com/100')
    .withProductName('Jacket')
    .withAddToCart(myAddToCartFunction)
    .withOnResult(myResultFunction);

widget
    .addColor('red', 'Magnificent Red')
    .addColor('blue', 'Dashing Blue');

widget
    .addVariant('variant-1', 'S', true, 'sku-1', 'red', '59.99', 'https://placekitten.com/300/500')
    .addVariant('variant-2', 'S', true, 'sku-2', 'blue', '59.99', 'https://placekitten.com/300/500')
    .addVariant('variant-3', 'M', true, 'sku-3', 'red', '59.99', 'https://placekitten.com/300/500')
    .addVariant('variant-4', 'M', false, 'sku-4', 'blue', '59.99', 'https://placekitten.com/300/500')
    .addVariant('variant-5', 'L', false, 'sku-5', 'red', '54.99', 'https://placekitten.com/300/500')
    .addVariant('variant-6', 'L', false, 'sku-6', 'blue', '54.99', 'https://placekitten.com/300/500');

widget.injectScriptTag();

// Add to this Selector in your HTML
widget.addToDom('#faslet-container');
```


#### Order Tracking (After checkout/Thank You page)
Example usage with shop id `Faslet Demo`
```typescript
import { createOrderTracking } from '@faslet/widget';

const ot = createOrderTracking('Faslet Demo')
    .withOrderNumber('Order-1')
    .withPaymentStatus('paid');

ot.addProduct(
    'product-1',
    'variant-1',
    'Jacket',
    'Red Jacket/S',
    100,
    1,
    'sku-1'
).addProduct(
    'product-1',
    'variant-2',
    'Jacket',
    'Blue Jacket/S',
    200,
    2,
    'sku-2'
);

ot.buildOrderTracking();
```

### Examples

To run the examples, first make sure you have [rollup](https://rollupjs.org) installed:
```bash
npm install --global rollup
```

Then, from the examples folder:

```bash
npm install
npm run build
npx serve -l 6677 ./static
```

And then in your browser, navigate to:

http://localhost:6677/product

for the Widget example and

http://localhost:6677/thank-you

for the Order Tracking example. Note that Order tracking only sends events, which you would see in the network tab of your browser's dev-tools.


### Development

This project uses npm. First run install before starting development:

```bash
npm install
```

### Testing

This project uses Jest for testing. To run, simply run the following command:
```bash
npm run test
```
npm package: @fast-ai/gatsby-plugin-setup
Description: <h1 align="center">@fast-ai/gatsby-plugin-setup</h1>
Author: Lundegaard a.s.
Latest version: 1.10.0

<h1 align="center">@fast-ai/gatsby-plugin-setup</h1>

#

## See our related projects

- [Zoe s-analytics demo](https://github.com/lundegaard/fast-ai-zoe-demo) - React Web application with S-Analytics
- [@fast-ai/ui-components](https://github.com/lundegaard/gatsby-theme-fast-ai/tree/master/packages/ui-components) - React UI component library
- [@fast-ai/gatsby-plugin-staged-fonts](https://github.com/lundegaard/gatsby-theme-fast-ai/tree/master/packages/gatsby-plugin-staged-fonts) - Implementation of Critical FOFT with Data URI font loading strategy
- [gatsby-theme-fast-ai](https://github.com/lundegaard/gatsby-theme-fast-ai) - Gatsby theme for Zoe applications
- [@redux-tools](https://github.com/lundegaard/redux-tools) - Modular Redux is possible!
- [react-union](https://github.com/lundegaard/react-union) - Intergrate React apps into various CMSs seamlessly.
- [validarium](https://github.com/lundegaard/validarium) - Validations done right.

## License

All packages are distributed under the MIT license. See the license [here](https://github.com/lundegaard/gatsby-theme-fast-ai/blob/master/LICENSE).

© 2021 Lundegaard a.s.
npm package: @fast-ai/ui-components
Description: Common UI components
Author: Lundegaard a.s.
Latest version: 1.11.0

<p align="center">
  <a href="https://zoe.lundegaard.ai">
    <img alt="Zoe.ai logo" src="zoe-ai-logo.svg" width="120" />
  </a>
</p>
<p align="center">
  <a href="https://lundegaard.eu">
    <img alt="by Lundegaard" src="by-Lundegaard.png" width="120" />
  </a>
</p>
<h1 align="center">Gatsby theme workspace for <a href="http://lundegaard.ai/" target="_blank">Fast AI platform</a></h1>

#

## Installing

```shell
git clone https://github.com/lundegaard/gatsby-theme-fast-ai my-app
cd my-app
yarn install
```

## Developping

Run demo app with gatsby-theme-fast-ai.

```shell
yarn start
```

Run demo app with gatsby-theme-fast-ai-sidebar.

```shell
yarn start:sidebar
```

## Running storybook

```shell
yarn storybook start
```

or

```shell
yarn start:storybook
```

## Project template

```text
.
├── apps
│   ├── demo
│   ├── demo-sidebar
│   └── storybook
├── packages
│   ├── gatsby-plugin-setup
│   ├── gatsby-plugin-staged-fonts
│   ├── gatsby-theme-fast-ai
│   ├── gatsby-theme-fast-ai-sidebar
│   └── ui-components
└── tools
```

### `demo`
* example application demostrating `fast-ai-gatsby-theme`

### `demo-sidebar`
* example application demostrating `fast-ai-gatsby-theme-sidebar`

### `storybook`
* Storybook app documenting the @fast-ai/ui-components

### `ui-components`
* common UI components

### `gatsby-plugin-setup`
* contains a few patches over default Gatsby configuration

### `gatsby-plugin-staged-fonts`
* Implements effective font loading strategy

### `gatsby-theme-fast-ai`
* contains common setup for Gatsby applications
* configures set of Gatsby plugins

### `gatsby-theme-fast-ai-sidebar`
* extension of `gatsby-theme-fast-ai` with fluid layout

## Related projects

- [Zoe s-analytics demo](https://github.com/lundegaard/fast-ai-zoe-demo) - React Web application with S-Analytics
- [@redux-tools](https://github.com/lundegaard/redux-tools) - Modular Redux is possible!
- [react-union](https://github.com/lundegaard/react-union) - Intergrate React apps into various CMSs seamlessly.
- [validarium](https://github.com/lundegaard/validarium) - Validations done right.

## License

All packages are distributed under the MIT license. See the license [here](https://github.com/lundegaard/gatsby-theme-fast-ai/blob/master/LICENSE).
npm package: @fast-check/expect-type
Description: Make sure your types are the ones you expect (similar to tsd)
Author: Nicolas DUBIEN
Latest version: 0.2.1
Deprecated: Prefer using expectTypeOf from vitest

# `@fast-check/expect-type`

Make sure your types are the ones you expect (similar to `tsd`)

<a href="https://badge.fury.io/js/@fast-check%2Fexpect-type"><img src="https://badge.fury.io/js/@fast-check%2Fexpect-type.svg" alt="npm version" /></a>
<a href="https://www.npmjs.com/package/@fast-check/expect-type"><img src="https://img.shields.io/npm/dm/@fast-check%2Fexpect-type" alt="monthly downloads" /></a>
<a href="https://github.com/dubzzz/fast-check/blob/main/packages/expect-type/LICENSE"><img src="https://img.shields.io/npm/l/@fast-check%2Fexpect-type.svg" alt="License" /></a>

---

## Easy to use

This package performs compilation time checks only. Running the check functions at runtime is a no-op.

```ts
import { expectType, expectTypeAssignable } from '@fast-check/expect-type';
// your code or you own imports

expectType<number>()(f(1, 2), 'expect the output of f when passed 1 and 2 to be number');
expectTypeAssignable<number>()(f(1, 2), 'expect the output of f when passed 1 and 2 to be assignable to number');
```
npm package: @fast-check/packaged
Description: Utility package removing any files that will not be part of the final bundle
Author: Nicolas DUBIEN
Latest version: 0.7.0

# `@fast-check/packaged`

Utility package removing any files that will not be part of the final bundle published to npm registry

<a href="https://npmx.dev/package/@fast-check/packaged"><img src="https://badge.fury.io/js/@fast-check%2Fpackaged.svg" alt="npm version" /></a>
<a href="https://npmx.dev/package/@fast-check/packaged"><img src="https://img.shields.io/npm/dm/@fast-check%2Fpackaged" alt="monthly downloads" /></a>
<a href="https://github.com/dubzzz/fast-check/blob/main/packages/packaged/LICENSE"><img src="https://img.shields.io/npm/l/@fast-check%2Fpackaged.svg" alt="License" /></a>

---

## Why?

When publishing packages to npm registry, it is quite easy to forget about some files. It also happens many times that we want somehow to check the packaged bundle in some of our tests but totally forget that some files have not been added to the bundle and so that the final user will actually never be able to run this code.

This package mostly try to prevent this issue. It can easily be used in monorepos to emulate the bundled package when used against other packages of the monorepo to make sure others do not depend on internals or non published stuff.

## Easy to use

Run the following command at the root of your package to drop any file that will not make it in the final bundle published to npm.

```bash
# With npm
npx -p @fast-check/packaged packaged
# With pnpm
pnpm --package=@fast-check/packaged dlx packaged
# With yarn
yarn dlx -p @fast-check/packaged packaged
```

⚠️ You may want to try with `--dry-run` flag first to give it a try.

It also comes with some extra flags:

- `--dry-run`: do not drop any file or directory from the file system and only print what would have been removed
- `--keep <name>`: keep a root-level file or directory matching the exact name (not a glob pattern, can be specified multiple times, e.g. `--keep node_modules --keep src`)

## Simple API

```js
import { computePublishedFiles, removeNonPublishedFiles } from '@fast-check/packaged';

// Compute the list of all files that would be part of the bundle
// if we attempted to publish the packge defined at .
const publishedFilesRoot = await computePublishedFiles('.');

// Compute the list of all files that would be part of the bundle
// if we attempted to publish the packge defined at ./sub-directory
const publishedFilesSubDirectory = await computePublishedFiles('./sub-directory');

// Run the deletion of unwanted files
const { kept, removed } = await removeNonPublishedFiles('.', { dryRun: false, keep: [] });
// kept and removed are arrays of strings
// they may contain files or directories
```

## Minimal requirements

| @fast-check/packaged | node                   |
| -------------------- | ---------------------- |
| **0.6.x**            | ≥20.19.0<sup>(1)</sup> |

<details>
<summary>More details...</summary>

1. Requires support for `require(esm)`.

</details>
npm package: @fast-check/poisoning
Description: Set of utilities to ease detection and revert of poisoning
Author: Nicolas DUBIEN
Latest version: 0.3.0

# `@fast-check/poisoning`

![fast-check logo](https://fast-check.dev/assets/images/logo.png)

Set of utilities to ease detection and revert of poisoning

<a href="https://npmx.dev/package/@fast-check/poisoning"><img src="https://badge.fury.io/js/@fast-check%2Fpoisoning.svg" alt="npm version" /></a>
<a href="https://npmx.dev/package/@fast-check/poisoning"><img src="https://img.shields.io/npm/dm/@fast-check%2Fpoisoning" alt="monthly downloads" /></a>
<a href="https://github.com/dubzzz/fast-check/blob/main/packages/poisoning/LICENSE"><img src="https://img.shields.io/npm/l/@fast-check%2Fpoisoning.svg" alt="License" /></a>

---

## Why?

In JavaScript, "prototype poisoning" is one of the most common source for CVEs or zero days. It allows attackers to change the behaviour of some defaults like `Array.prototype.map`, `Map`, `Set`... so that they behave differently and can be leveraged for evil stuffs. This package can be used in addition to `fast-check` in order to detect poisoning that may occur during your property based tests.

## Easy to use

The package comes with:

- `assertNoPoisoning`: assert that the defaults known when first importing the package in your code have not been changed
- `restoreGlobals`: restore the defaults so that any change that could have been detected by `assertNoPoisoning` will be resolved

## Minimal requirements

- Node ≥20.19.0