open-index/open-npm huggingface dataset:
npm package: @iarjian/web-cli
Description: 前端脚手架工具
Author: iarjian
Latest version: 1.0.2

# web-cli 自定义模板的前端脚手架工具

#### 安装

```
    npm install -g @iarjian/web-cli
    # 或者
    yarn global @iarjian/web-cli
```

#### 使用说明

安装之后，就可以在命令行中访问 `web` 命令。通过运行 `vue`，看看是否展示出了一份所有可用命令的帮助信息，来验证它是否安装成功。

也可以使用这个命令来查看脚手架版本

```
    web -v
```

如果发现脚手架版本存在新的版本需要升级，可以执行以下命令

```
    npm update -g @iarjian/web-cli
    # 或者
    yarn global upgrade --latest @iarjian/web-cli
```

项目所有模板都存放在脚手架根目录下的 templates.json 进行统一管理，下面两个命令操作都是针对 templates.json 的数据进行添加和删除，从而达到添加模板和删除模板的效果

```
  web add
  web remove
```

#### 所有命令

```
Options:
  -v, --version   output the version number
  -h, --help      display help for command

Commands:
  create [projectName]               生成一个新项目
  init <templateName> <projectName>  快速创建一个新项目
  add                                添加一个新模板
  remove [templateName]              删除模板
  list [options]                     查看模板列表
  upgrade                            Check the @iarjian/web-cli version.
  help [command]                     display help for command
```

#### 相关依赖

- clear: 清屏
- chalk: 装饰作用，使之终端上的输出加上颜色
- figlet: 作用是将字母转化为图片，使之更加醒目
- clone-repo：将代码下载
- inquirer: 在命令行中打出交互式的命令
- commander: 命令行界面工具
- update-notifier: 更新通知器
npm package: @iarkaroy/utils
Description: Common javascript functions
Author: Arka Roy
Latest version: 0.2.0

Javascript Utils
====
A library to provide commonly required javascript functions.

## Installation
```
npm install @iarkaroy/utils
```

## Usage
```
import * as utils from '@iarkaroy/utils';
```
### `is.arr()`
Checks whether the passed argument is an array.
```
utils.is.arr(any);
```
### `is.obj()`
Checks whether the passed argument is an object.
```
utils.is.obj(any);
```
### `is.str()`
Checks whether the passed argument is a string.
```
utils.is.str(any);
```
### `is.fnc()`
Checks whether the passed argument is a function.
```
utils.is.fnc(any);
```
### `is.num()`
Checks whether the passed argument is a number.
```
utils.is.num(any);
```
### `is.und()`
Checks whether the passed argument is undefined.
```
utils.is.und(any);
```
### `is.nul()`
Checks whether the passed argument is null.
```
utils.is.nul(any);
```
### `range(end [, start = 0 [, step = 1]])`
Generates an array with numbers.
```
utils.range(100, 1, 2);
```
### `max()`
Returns max number from an array.
```
utils.max(arrayOfNumbers);
```
### `min()`
Returns min number from an array.
```
utils.min(arrayOfNumbers);
```
### `rand(max [, min = 0])`
Generates random number in specified range.
```
utils.rand(100, 50);
```

## Tests
```
npm test
```
npm package: @iasd/bun-bake
Description: Small builder utility to generate packages + type definitions using Bun.build
Latest version: 1.0.1

# @iasd/bun-bake

Minimal wrapper around the [`Bun.build`](https://bun.sh/docs/bundler) API to support generating bundles as well as `.d.ts` type definitions. This library solves a very specific problem for a select group of developers.

> See: [https://github.com/oven-sh/bun/issues/5141](https://github.com/oven-sh/bun/issues/5141)

## Installing

```bash
# Install via bun
$ bun add @iasd/bun-bake,
```

> Note: You can also just copy the [./index.ts](./index.ts) file into your project.

> Note: This is a pure `bun` package, that is not useable with `NodeJs`.

## Usage

The package exposes the `build` object as well as the `Builder` class. The `build` object can be used to bundle using minimal configuration.

```ts
// .build.ts
import { build } from "@iasd/bun-bake";
import pkg from "./package.json";

await build.for('bun').from({
    // The provided package.json should have a 
    // main + module field that is used as output 
    // location for the bundle.
    ...pkg, 
    entry: './src/index.ts'
})
```

If you need to provide more configuration, you can import the `Builder` class and configure the build object yourself.

```ts
// .build.ts
import { Builder } from "@iasd/bun-bake";
import pkg from "./package.json";

const build = new Builder({ watch: false, clean: false })
await build.for('bun').from({
    ...pgk, 
    entry: './src/index.ts'
})
```

The library will generate `esm` and `cjs` as well as a `.d.ts` file by default.

To learn more about different ways to configure the builder, take a look at [the source](./index.ts).
npm package: @iasd/handle-async
Description: <!-- @format -->
Author: Sebastian
Latest version: 2.0.0

<!-- @format -->

# @iasd/handle-async

A simple, yet powerful, utility function to handle async operations, providing a clean and consistent API.

## 🚀 Getting started

To use the utility functions with npm and/or a bundler such as webpack or rollup, install it via yarn or npm:

```bash
yarn add @iasd/handle-async
# or use npm
npm install @iasd/handle-async
```

You can also use it directly in the browser and include it via CDN (or locally, if you like).

```html
<head>
    ...
    <!-- as a local file -->
    <script src="./your/path/to/handleAsync.browser.min.js"></script>
    <!-- or via CDN -->
    <script src="http://unpkg.com/@iasd/handle-async"></script>
    ...
</head>
```

## 🔧 Usage

### Imports and Global

The library provides exports for modern `import` syntax as well as exports for the `require` syntax.

```js
// node require syntax
const { handleAsync } = require('@iasd/handle-async');

// modern es6 style syntax
import { handleAsync } from '@iasd/handle-async';
```

In case you included the library file locally or via CDN, the `handleAsync` object is globally available.

```js
const { handleAsync } = handleAsync;
```

### Handling Async Calls

Use the `handleAsync` function to handle asynchronous operations in a safe manner.

```ts
import { handleAsync } from '@iasd/handle-async';

// Create a async runner that returns a boolean
const asyncRunner = () => new Promise((res) => window.setTimeout(() => res(true), 5000));
// Retrieve the result from the runner

const result = await handleAsync(asyncRunner, {
    Ok: (value) => value, // Use the `Ok` handler to return or transform the value
    Err: (err) => false, // Use the `Err` handler to handle any error or rethrow if necessary
});

// Result will be either `true`, if the runner encountered no issue,
// or `false` if it was handled by the error handler.
console.log(result);
```

> Tip: The value returned by the `Err` handler must be of the same type as the value returned by the `Ok` handler, to enforce correct handling.

## Contributing

If you would like to contribute, take a look at the [contribution guide](./contributing.md).

## License

`handleAsync` is licensed under the [MIT License](https://opensource.org/licenses/MIT)
npm package: @iasiakencheng/vendure-core
Description: A modern, headless ecommerce framework
Latest version: 1.2.3

# Vendure

A headless [GraphQL](https://graphql.org/) ecommerce framework built on [Node.js](https://nodejs.org) with [Nest](https://nestjs.com/) with [TypeScript](http://www.typescriptlang.org/).

```bash
$ npm install @vendure/core
```

### [www.vendure.io](https://www.vendure.io/)

See the [Getting Started](https://www.vendure.io/docs/getting-started/) guide for instructions on use.
npm package: @iasiakencheng/vendure-elasticsearch-plugin
Description: The `ElasticsearchPlugin` uses Elasticsearch to power the Vendure product search.
Latest version: 1.2.3-rc1

# Vendure Elasticsearch Plugin

The `ElasticsearchPlugin` uses Elasticsearch to power the Vendure product search. 

**Requires Elasticsearch v7.0 or higher.** 

`npm install @vendure/elasticsearch-plugin`

For documentation, see [www.vendure.io/docs/typescript-api/elasticsearch-plugin/](https://www.vendure.io/docs/typescript-api/elasticsearch-plugin/)
npm package: @iasmetaverse/sdk
Description: 🛠 An SDK for building applications on top of ias.
Latest version: 0.0.2

# 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: @iasmetaverse/uikit
Description: Set of UI components for pancake projects
Latest version: 0.0.4

# 🥞 IAS Metaverse UIkit

[![Version](https://img.shields.io/npm/v/@iasmetaverse/uikit)](https://www.npmjs.com/package/@iasmetaverse/uikit) [![Size](https://img.shields.io/bundlephobia/min/@iasmetaverse/uikit)](https://www.npmjs.com/package/@iasmetaverse/uikit)

IAS Metaverse UIkit is a set of React components and hooks used to build pages on IAS Metaverse's apps. It also contains a theme file for dark and light mode.

## Install

`yarn add @iasmetaverse/uikit`

## Setup

### Theme

Before using IAS Metaverse UIkit, you need to provide the theme file to styled-component.

```
import { ThemeProvider } from 'styled-components'
import { light, dark } from '@iasmetaverse/uikit'
...
<ThemeProvider theme={isDark}>...</ThemeProvider>
```

### Reset

A reset CSS is available as a global styled component.

```
import { ResetCSS } from '@iasmetaverse/uikit'
...
<ResetCSS />
```
npm package: @iatec/ng2-countdown
Description: This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 11.0.5.
Latest version: 1.1.0

# Ng2Countdown

This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 11.0.5.

## Code scaffolding

Run `ng generate component component-name --project ng2-countdown` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project ng2-countdown`.
> Note: Don't forget to add `--project ng2-countdown` or else it will be added to the default project in your `angular.json` file. 

## Build

Run `ng build ng2-countdown` to build the project. The build artifacts will be stored in the `dist/` directory.

## Publishing

After building your library with `ng build ng2-countdown`, go to the dist folder `cd dist/ng2-countdown` and run `npm publish`.

## Running unit tests

Run `ng test ng2-countdown` to execute the unit tests via [Karma](https://karma-runner.github.io).

## Further help

To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.