open-index/open-npm huggingface dataset:
npm package: @godotdotdot/joi
Description: 由于 @hapi/joi 的 breakchange。影响主要是查询字符串的反解析问题，可以参考 [Array and object string coercion](https://github.com/hapijs/joi/issues/2037)。
Author: godotdotdot
Latest version: 1.0.0

# joi

由于 @hapi/joi 的 breakchange。影响主要是查询字符串的反解析问题，可以参考 [Array and object string coercion](https://github.com/hapijs/joi/issues/2037)。

## 特性

在 @hapi/joi v16 的基础上弥补了解析查询字符串的能力，其他能力同 @hapi/joi v16。
npm package: @godown/colors
Description: Color gradients for godown
Author: startracex
Latest version: 1.0.0

# @godown/colors

Color gradients for godown.

## Usage

```js
import presets from "@godown/colors";

/* rgb(0 219 212) */
presets.teal[5];

import presetsRGB from "@godown/colors/presets-rgb.js";
/*
{
  r: 0,
  g: 219,
  b: 212,
  toString(): "0 219 212",
}
*/
presetsRGB.teal[5];
```

## Colors

Full range

- teal
- blue
- green
- red
- purple
- orange
- yellow
- pink

Half range

- darkgray
- lightgray

Each color has 10 gradients.
npm package: @godown/element
Description: Component base class for godown
Author: startracex
Latest version: 2.0.0

# @godown/element

Component base class for godown.

## Usage

```js
import { GodownElement, component } from "@godown/element";

@component({
  tagName: "my-element",
  styles: [ /* ...styles */ ],
  autoDefine: true
})
class MyElement extents GodownElement {
}
```

```html
<my-element></my-element>
```

## With config

```ts
import { GodownElement, GodownConfig, godown, styles } from "@godown/element";

@godown("element")
@styles(/* ...styles */)
class MyElement extents GodownElement {
  static godownConfig = new GodownConfig({
    prefix: "my",
  });
}

MyElement.define()
```
npm package: @godown/f7-icon
Description: Icon wrapper for F7
Author: startracex
Latest version: 1.0.11

# @godown/f7-icon

IconWrapper for [F7](https://framework7.io/icons/).

```sh
npm i @godown/f7-icon
```

## Usage

### HTML custom element

```js
import "@godown/f7-icon";
```

```html
<f7-icon name="airplane"></f7-icon>
```

### Template result of lit-html

```js
import { html } from "lit";
import Airplane from "@godown/f7-icon/icons/airplane.js";

html`
  ${Airplane()}
  ${Airplane({/* attributes */})}
  <svg viewBox="${Airplane.viewBox}" width="1em" height="1em">
    ${Airplane.body}
  </svg>
`;
```

### Rollup virtual plugin

Moving static imports to virtual directory.

```js
import virtualIcon from "@godown/f7-icon/lib/rollup.js";

export default {
  input: "src/index.js",
  output: {
    dir: "output",
    format: "esm"
    virtualDirname: "virtual",
  },
  plugins: [
    virtualIcon(),
  ],
};
```

### Icon size

Width and height defaults to 1em.

_font-size_ or _width and height_ can change the icon's size.

```html
<f7-icon name="airplane" style="font-size:2em;"></f7-icon>
<f7-icon name="airplane" style="width:2em;height:2em;"></f7-icon>
```

### Undefined element

```js
import IconElement from "@godown/f7-icon/element.js";
customElements.define("my-icon", IconElement);
```

```html
<my-icon name="airplane"></my-icon>
```

## Type hint

### Node 16 Resolution

package.json exports

### Triple-Slash Directives

```ts
/// <reference types="@godown/f7-icon/types/all.d.ts"/>
```

## Importing and loading

### Specify the URL

This component imports icons through _dynamic import_.

The target module needs to export a function by **default**.

`toURL` is defaults to `` (name) => `./icons/${name}.js` ``.

The base of the import URL defaults to the `import.meta.url` of the **element declaration file (./element.js)**.

```js
import F7Icon from "@godown/f7-icon";

const i = new F7Icon();
i.toURL = function (name: string) {
  return "specified URL or string";
};
```

Example CDNs.

If the icons are not **built jointly**, or use an icon library with a **different base** than component, this could be useful.

```js
i.toURL =
  /* esm.sh */
  (name) => `https://esm.sh/@godown/f7-icon/icons/${name}.js`;

/* jsDelivr */
// (name) => `https://esm.run/@godown/f7-icon/icons/${name}.js`;

/*  unpkg */
// (name) => `https://unpkg.com/@godown/f7-icon/icons/${name}.js?module`;
```

### Lazy loading

Disable lazy loading:

```html
<f7-icon icon="house" loading="eager"></f7-icon>
```
npm package: @godown/react
Description: React components for godown
Author: startracex
Latest version: 3.14.2

# @godown/react

```sh
npm i @godown/react
```

This package provides default conversion for React.

## Usage

JSX element

```jsx
import Alert from "@godown/react/alert";

export default function () {
  return <Alert title="Alert" />;
}
```

Intrinsic element

```jsx
import "@godown/react/alert";

export default function () {
  return <godown-alert title="Alert" />;
}
```

Convert to React component

```js
import { createReact } from "@godown/react/lib/create";

import { MyElement } from "./my-element-definition.js";

MyElement.elementTagName = "my-element";

const MyElementReact = createReact(MyElement, eventMap<
{
  onMyEvent: CustomEvent<any>;
}
>({
  onMyEvent: "my-event",
}));
```
npm package: @godscodes/medusa-product-reviews
Description: A starter for Medusa projects.
Author: Godscodes
Latest version: 0.0.7

# Medusa v2 Example: Product Reviews

This directory holds the code for the [Product Review Guide](https://docs.medusajs.com/resources/how-to-tutorials/tutorials/product-reviews).

You can either:

- [install and use it as a Medusa application](#installation);
- or [copy its source files into an existing Medusa application](#copy-into-existing-medusa-application).

## Prerequisites

- [Node.js v20+](https://nodejs.org/en/download)
- [Git CLI](https://git-scm.com/downaloads)
- [PostgreSQL](https://www.postgresql.org/download/)

## Installation

1. Clone the repository and change to the `product-review` directory:

```bash
yarn add @godscodes/medusa-product-reviews
```

2\. Add the plugin to the `plugins` array in `medusa-config.ts`:

```ts
module.exports = defineConfig({
  // ...
  plugins: [
    {
      resolve: "@godscodes/medusa-product-reviews",
      options: {}
    }
  ]
})
```


You'll find a "Reviews" page in the Medusa Admin.

## Copy into Existing Medusa Application

If you have an existing Medusa application, copy the following directories and files into your project:

- `src/admin`
- `src/api`
- `src/links`
- `src/modules/product-review`
- `src/workflows`

Then, add the Product Review Module to `medusa-config.ts`:

```ts
module.exports = defineConfig({
  // ...
  modules: [
    {
      resolve: "./src/modules/product-review",
    }
  ],
})
```

Finally, run migrations:

```bash
npx medusa db:migrate
```

## More Resources

- [Medusa Documentatin](https://docs.medusajs.com)
- [OpenAPI Spec file](https://res.cloudinary.com/dza7lstvk/raw/upload/v1741941475/OpenApi/product-reviews_jh8ohj.yaml): Can be imported into tools like Postman to view and send requests to this project's API routes.
npm package: @godtoy/pancakeswap-sdk-v2
Description: 🛠 An SDK for building applications on top of pancakeswap.
Latest version: 2.2.0

# Pancakeswap SDK

[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![Actions Status](https://github.com/pancakeswap/pancakeswap-sdk/workflows/CI/badge.svg)](https://github.com/pancakeswap/pancakeswap-sdk)
[![npm version](https://img.shields.io/npm/v/@pancakeswap-lib/sdk/latest.svg)](https://www.npmjs.com/package/@pancakeswap-lib/sdk/v/latest)

## Running tests

To run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.

First clone the repository:

```sh
git clone https://github.com/pancakeswap/pancakeswap-sdk.git
```

Move into the pancakeswap-sdk working directory

```sh
cd pancakeswap-sdk/
```

Install dependencies

```sh
yarn install
```

Run tests

```sh
yarn test
```

You should see output like the following:

```sh
yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
```
npm package: @godu/bs-ava
Description: [![Build Status](https://travis-ci.com/godu/bs-ava.svg?branch=master)](https://travis-ci.com/godu/bs-ava)
Author: godu
Latest version: 3.0.0

# bs-ava

[![Build Status](https://travis-ci.com/godu/bs-ava.svg?branch=master)](https://travis-ci.com/godu/bs-ava)

**Experimental** [BuckleScript](https://github.com/bucklescript/bucklescript) bindings for [Ava](https://github.com/avajs/ava)

# Installation

```sh
npm install --save-dev @godu/bs-ava
```

Then add `@godu/bs-ava` to `bs-dev-dependencies` in your `bsconfig.json`:
```js
{
  ...
  "bs-dev-dependencies": ["@godu/bs-ava"]
}
```

# Getting started

```ml
open Sync;

test("Should pass", t => {
  t.deepEqual(1, 1);
  t.pass();
});
```

```ml
open Async;

test("Should pass", t => {
  Js.Global.setTimeout(() => t.end_(), 1000)
  |> ignore
});
```

```ml
open Promise;

test("Should pass", t => {
  t.notThrows(Js.Promise.resolve("foo"));
});
```

# Coverage

- Install `nyc`
```sh
npm i -D nyc
```

- Edit your `package.json`
```json
{
  "scripts": {
    ...
    "test": "nyc ava"
  },
  ...
  "nyc": {
    "reporter": [
      "lcov",
      "text-summary"
    ]
  }
}
```
npm package: @godu/bs-register
Description: BuckleScript module loader for NodeJS
Author: Arthur Weber
Latest version: 0.1.3

# bs - register

BuckleScript module loader for NodeJS.

## Install

```sh
npm install @godu/bs-register
```

## Getting started

```
node -r @godu/register app.re
node -r @godu/register app.ml
```
npm package: @godwei/vue-color-picker
Description: vue3 color-picker
Latest version: 0.0.2-alpha.9

# Vue 3 + TypeScript + Vite

- AlphaPicker √
- BlockPicker √
- CompactPicker √
- CirclePicker √
- ChromePicker √
- CardPicker √
- FigmaPicker
- GithubPicker √
- HuePicker √
- MaterialPicker √
- SketchPicker √
- SwatchesPicker √
- TwitterPicker √

TODO

- 节流
- v-model深层传递怎么处理最好
npm package: @godxiaoji/cookie
Description: 简单的cookie操作插件，可以轻松的读取和设置cookie
Author: Travis
Latest version: 1.3.0

# cookie

简单的 cookie 操作插件，可以轻松的读取和设置 cookie 。

## Usage

### CDN

```js
<script src="https://cdn.jsdelivr.net/npm/@godxiaoji/cookie@1.2.1/dist/cookie.js"></script>
```

### NPM

```sh
npm i @godxiaoji/cookie -S
```

在 module 中引入

```js
import cookie from '@godxiaoji/cookie'
```

## Options

读取一个 cookie 值，如果不存在则返回 undefined

```js
cookie('the_cookie')
```

设置一个 cookie 值

```js
cookie('the_cookie', 'the_value')
```

设置一个 cookie 值，并设置 1 小时后过期（以秒 s 为单位）

```js
cookie('the_cookie', 'the_value', { expires: 3600 })
```

设置一个 cookie 值，并设置过期时间、路径、domain 和安全性

```js
cookie('the_cookie', 'the_value', {
  expires: 3600,
  path: '/',
  domain: 'xxx.com',
  secure: true
})
```

删除一个 cookie

```js
cookie('the_cookie', null)
```

## Author

[Travis](https://github.com/godxiaoji/cookie)
npm package: @godxiaoji/mp-axios
Description: 基于axios加入小程序适配器，同时实现cookie的扩展
Author: Travis
Latest version: 0.0.3

# mp-axios

基于axios加入小程序适配器，同时实现cookie的扩展

## Install

使用NPM的方式引入：

```bash
npm install @godxiaoji/mp-axios --save
```

微信小程序需要单独构建：[npm 支持](https://developers.weixin.qq.com/miniprogram/dev/devtools/npm.html)

`const mpAxios = require('@godxiaoji/mp-axios');`

也可以使用`dist`目录下的构建版本

### Note

暂时不支持upload

### Documentation

接口文档同：[axios](https://github.com/godxiaoji/axios)
npm package: @godxiaoji/rollup-plugin-require-context
Description: rollup-plugin for webpack requrie-context
Author: elcarim5efil
Latest version: 1.0.1

# rollup-plugin-require-context

Rollup plugin for resolving webpack require-context.

PS: 组件库需要用到这个插件，但是原来的作者已经不维护好久了，积累了一些bug，就把pull requests的合并一下上传。

## Usage

```javascript
import requireContext from 'rollup-plugin-require-context';

export default {
  input: 'main.js',
  output: {
    file: 'bundle.js',
    format: 'iife'
  },
  plugins: [
    requireContext()
  ]
};
```

## Options

### `exclude`

Type: `string | string[]`<br>
Default: `null`

A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, which specifies the files in the build the plugin should _ignore_.

### `include`

Type: `string | string[]`<br>
Default: `null`

A [minimatch pattern](https://github.com/isaacs/minimatch), or array of patterns, which specifies the files in the build the plugin should operate on.

### `extensions`

Type: `string[]`<br>
Default: `['.js']`

Search for extensions other than .js in the order specified.
npm package: @godxiaoji/url-handler
Description: URL处理插件
Author: Travis
Latest version: 1.2.0

# URLHandler

URL 处理插件。

## Install

### CDN

```
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@godxiaoji/url-handler@1.1.1/dist/url-handler.js"></script>
```

### NPM

```
npm i @godxiaoji/url-handler -S
```

在 module 中引入

```
import URLHandler from '@godxiaoji/url-handler'

const myUrl = new URLHandler('https://test.com/path?a=1&b=2#hash')

```

## Methods

### URLHandler.prototype.addQuery(name: string | {[propName: string]: string}, value?: any)

### URLHandler.prototype.removeQuery(name: string | string[])

### URLHandler.prototype.setHash(hash: string)

## Author

[Travis](https://github.com/godxiaoji)
npm package: @godzilla-forms/angular-parser
Description: Godzilla Forms parser library for angular
Author: Alhazmy
Latest version: 0.0.15

<p align="center">
  <a href="">
    <img alt="godzilla" src="https://user-images.githubusercontent.com/4659608/197927721-8e3a85ca-4c4b-4a26-88c1-2143839508f2.png" style="width: 350px">
  </a>
</p>

<p align="center">
  A Powerful Dynamic Forms.
</p>

<p align="center">
  <a href="https://github.com/Godzilla-Forms/angular-parser/issues"><img alt="Github issues" src="https://img.shields.io/github/issues-raw/Godzilla-Forms/angular-parser?style=flat-square"></a>
  <a href="https://www.npmjs.com/package/@godzilla-forms/angular-parser"><img alt="npm" src="https://img.shields.io/npm/v/@godzilla-forms/angular-parser?label=npm%2Fangular-parser&style=flat-square"></a>
  <img alt="Framework" src="https://img.shields.io/badge/Freamwork-Angular-brightgreen?style=flat-square"> 
</p>

<p align="center">Godzilla is built-in ready form elements and templates; just focus on your Business logic and let Godzilla handle the
forms.</p>


## Links

- [Documentation](https://doc.godzilla-forms.io)
- [Form Builder](https://godzilla-forms.io)


## Features

- Forms as json
- Dynamic Fields
- Conditional Logic
- User friendly builder
- Internationalization (i18n)
- Field-level validation
- Custom Validation
- Dependent Validation
- Wizards and multi-step forms
- Boostrap 5 friendly

## Contributing

- Fork it!
- Create your feature branch: `git checkout -b branch-name`
- Commit your changes: `git add . && git commit -m 'Add some feature'`
- Push to the branch: `git push origin my-new-feature`
- Submit a pull request


## License

[MIT](LICENSE)
npm package: @godzilla-forms/core
Description: Godzilla Forms core library
Author: Abdullah Alhazmy
Latest version: 0.0.12

<p align="center">
  <a href="">
    <img alt="godzilla" src="https://user-images.githubusercontent.com/4659608/197927721-8e3a85ca-4c4b-4a26-88c1-2143839508f2.png" style="width: 350px">
  </a>
</p>

<p align="center">
  A Powerful Dynamic Forms.
</p>

<p align="center">
  <a href="https://github.com/Godzilla-Forms/core/issues"><img alt="Github issues" src="https://img.shields.io/github/issues-raw/Godzilla-Forms/core?style=flat-square"></a>
  <a href="https://www.npmjs.com/package/@godzilla-forms/core"><img alt="npm" src="https://img.shields.io/npm/v/@godzilla-forms/core?label=npm%2Fparser&style=flat-square"></a>
</p>

<p align="center">Godzilla is built-in ready form elements and templates; just focus on your Business logic and let Godzilla handle the
forms.</p>


## Links

- [Documentation](https://doc.godzilla-forms.io)
- [Form Builder](https://godzilla-forms.io)


## Features

- Forms as json
- Dynamic Fields
- Conditional Logic
- User friendly builder
- Internationalization (i18n)
- Field-level validation
- Custom Validation
- Dependent Validation
- Wizards and multi-step forms
- Boostrap 5 friendly

## Contributing

- Fork it!
- Create your feature branch: `git checkout -b branch-name`
- Commit your changes: `git add . && git commit -m 'Add some feature'`
- Push to the branch: `git push origin my-new-feature`
- Submit a pull request


## License

[MIT](LICENSE)
npm package: @godzilla-forms/parser
Description: Godzilla Forms parser library for angular
Author: Alhazmy
Latest version: 0.0.9

<p align="center">
  <a href="">
    <img alt="docsify" src="https://user-images.githubusercontent.com/4659608/190292887-ac6482d9-dc0c-4534-b032-4d704a0322be.png">
  </a>
</p>

<p align="center">
  A Powerful Dynamic Forms.
</p>

<p align="center">
  <a href="https://github.com/alhazmy13/godzilla/issues"><img alt="Github issues" src="https://img.shields.io/github/issues-raw/alhazmy13/godizlla?style=flat-square"></a>
  <a href="https://www.npmjs.com/package/@godzilla/core"><img alt="npm" src="https://img.shields.io/npm/v/@godzilla-forms/core?label=npm%2Fcore&style=flat-square"></a>
  <a href="https://www.npmjs.com/package/@godzilla/core"><img alt="npm" src="https://img.shields.io/npm/v/@godzilla-forms/parser?label=npm%2Fparser&style=flat-square"></a>
  <img alt="Framework" src="https://img.shields.io/badge/Freamwork-Angular-brightgreen?style=flat-square"> 
  <img alt="Framework" src="https://img.shields.io/badge/Freamwork-React|WIP-blue?style=flat-square">
  <img alt="Framework" src="https://api.netlify.com/api/v1/badges/d4f3a8cf-f3aa-404c-86f6-bfa3b95ebb59/deploy-status">
</p>

<p align="center">Godzilla is built-in ready form elements and templates; just focus on your Business logic and let Godzilla handle the
forms.</p>


## Links

- [Documentation](https://doc.godzilla-forms.io)
- [Form Builder](https://godzilla-forms.io)


## Features

- Generate dynamic forms as json
- Built over the bootstrap framework
- User friendly builder
- Angular and React(WIP) parser to convert from json as component
- Fully customizable
- Support Localization (WIP)
- Custom flow for form elements

## Contributing

- Fork it!
- Create your feature branch: `git checkout -b my-new-feature`
- Commit your changes: `git add . && git commit -m 'Add some feature'`
- Push to the branch: `git push origin my-new-feature`
- Submit a pull request

## Development

```bash
TODO
```


## License

[MIT](LICENSE)
npm package: @godzilla-js/core
Description: This project was bootstrapped with [TSDX](https://github.com/jaredpalmer/tsdx).
Author: Parasrah
Latest version: 0.1.0

# TSDX Bootstrap

This project was bootstrapped with [TSDX](https://github.com/jaredpalmer/tsdx).

## Local Development

Below is a list of commands you will probably find useful.

### `npm start` or `yarn start`

Runs the project in development/watch mode. Your project will be rebuilt upon changes. TSDX has a special logger for you convenience. Error messages are pretty printed and formatted for compatibility VS Code's Problems tab.

<img src="https://user-images.githubusercontent.com/4060187/52168303-574d3a00-26f6-11e9-9f3b-71dbec9ebfcb.gif" width="600" />

Your library will be rebuilt if you make edits.

### `npm run build` or `yarn build`

Bundles the package to the `dist` folder.
The package is optimized and bundled with Rollup into multiple formats (CommonJS, UMD, and ES Module).

<img src="https://user-images.githubusercontent.com/4060187/52168322-a98e5b00-26f6-11e9-8cf6-222d716b75ef.gif" width="600" />

### `npm test` or `yarn test`

Runs the test watcher (Jest) in an interactive mode.
By default, runs tests related to files changed since the last commit.