open-index/open-npm huggingface dataset:
npm package: @loview/scripts
Description: @loview/scripts
Latest version: 3.0.10-alpha.3

---
title: scripts-工程脚本库
group:
  path: /
nav:
  title:
  path: /scripts
---

# loview-scripts

## Install

Using npm:

```bash
$ npm install --save  loview-scripts --registry http://10.4.5.108:8080/
```

or using yarn:

```bash
$ yarn add loview-scripts --registry http://10.4.5.108:8080/
```

## 命令行工具

用于工程启动、编译、部署

```bash
npm run loview
```
npm package: @loview/utils
Description: @loview/utils
Latest version: 3.1.4

---
title: utils-工具函数库
group:
  path: /
nav:
  title:
  path: /components
---

# @loview/utils

## Install

Using npm:

```bash
$ npm install --save  @loview/utils --registry http://10.4.5.76:5000/
```

or using yarn:

```bash
$ yarn add @loview/utils --registry http://10.4.5.76:5000/
```

## nanoid

用来生成唯一不重复 ID

```jsx
import { nanoid } from '@loview/utils';
import { Button } from 'antd';
import React from 'react';
export default () => {
  return (
    <Button
      onClick={() => {
        console.log(nanoid());
      }}
    >
      点我生成
    </Button>
  );
};
```
npm package: @lovo/bones
Description: A starter for creating a TypeScript package.
Author: Hunter Becton
Latest version: 0.0.0

# vite-plus-starter

A starter for creating a Vite Plus project.

## Development

- Install dependencies:

```bash
vp install
```

- Run the unit tests:

```bash
vp test
```

- Build the library:

```bash
vp pack
```
npm package: @lovoai/x0-js-sdk
Description: provide a sdk for x0
Latest version: 0.1.1

[@lovoai/x0-js-sdk](README.md) / Exports

# @lovoai/x0-js-sdk

## Table of contents

### Enumerations

- [BlueChipContract](enums/BlueChipContract.md)

### Classes

- [Erc721](docs/classes/Erc721.md)
- [Erc721Alternative](docs/classes/Erc721Alternative.md)
- [X0Api](docs/classes/X0Api.md)
- [X0Sdk](docs/classes/X0Sdk.md)
- [X0Web3](docs/classes/X0Web3.md)

## Installation

Install the package with:

```bash
npm install @lovoai/x0-js-sdk
```

### Usage with TypeScript

X0 maintains types for the latest [API version][api-versions].

Instantiate it as `new X0Api()` and `new X0Sdk()` with the latest API version.

**`X0Sdk Example`**

```typescript
// for Web3.js
const provider = new Web3.providers.HttpProvider(
    'https://eth-mainnet.alchemyapi.io/v2/' + alchemyApiKey,
);
const Web3X0Sdk = new X0Sdk({ provider, x0ApiKey });
const metadata = await Web3X0Sdk.getMetadataFrom(contractAddress, x0Address);
```

```typescript
// for ethers.js
const provider = new ethers.providers.AlchemyProvider('mainnet', alchemyApiKey);
x0Sdk = new X0Sdk({ provider, x0ApiKey });
const metadata = await x0Sdk.getMetadataFrom(contractAddress, x0Address);
```

**`X0Api Example`**

```typescript
import { X0Api } from '@x0/x0-api';
const x0Api = new X0Api({
    apiKey: 'YOUR_API_KEY',
});
```

**`X0Web3 Example`**

```typescript
const x0Web3 = new X0Web3({
    provider: new ethers.providers.AlchemyProvider('mainnet', alchemyApiKey),
});
```
npm package: @lovverhub/images-optimizer
Description: 🖼 Optimize & compress images!
Author: LovverHub
Latest version: 1.0.1

# images-optimizer

To install dependencies:

```bash
bun install
```

To run:

```bash
bun run index.ts
```

This project was created using `bun init` in bun v1.0.21. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.
npm package: @lowb/apiz-vue
Description: A vue plugin for apiz
Author: ta7sudan
Latest version: 1.0.2

# @lowb/apiz-vue
A vue plugin for apiz



## Installation

```shell
$ npm i -P @lowb/apiz-vue
```



## Usage

```javascript
import APIs from '@lowb/apiz-vue';
import Vue from 'vue';

Vue.use(APIs);

const apis = new APIs({
    meta: {
        getBooks: {
            path: '/book'
        }
    },
    retry: 1,
    beforeSend() {},
    afterResponse() {}
});

new Vue({
    apis
});
// or
new Vue({
    apis: {
        name: '$http',
        apiGroup: apis
    }
});
// or
new Vue({
    apis: [{
        name: '$group0',
        apiGroup: apis
    }, {
        name: '$group1',
        apiGroup: apis
    }]
});
```



## Options

* `meta` meta of [APIz](https://github.com/ta7sudan/apiz-ng#apizmeta-apimeta-options-groupoptions)
* All other option of [apiz-ng](https://github.com/ta7sudan/apiz-ng) are supported
* All options of [apiz-browser-client](https://github.com/ta7sudan/apiz-browser-client) are supported
npm package: @lowb/postcss-automath
Description: Automatically evaluate mathematical expressions in your CSS source files, like in SASS or LESS. No special function calls needed as with `postcss-mathjs`.
Author: Everledger.io
Latest version: 1.0.1

# PostCSS Auto-Math

[PostCSS]: https://github.com/postcss/postcss

[PostCSS] plugin for evaluating math expressions in your CSS sources.

This plug-in uses the [LESS](http://lesscss.org/) parser internally, in an 
(intentionally) very limited way- just to parse mathematical expressions. 
As such, all unit handling mechanics are the same as in LESS.

If you want full LESS parsing functionality in your project, see 
[postcss-less-engine](https://www.npmjs.com/package/postcss-less-engine).


```scss
.foo {
    font-size: 2 * 8px;	
    margin: 4px + 2 * 3px;
}
```

```css
.foo {
    font-size: 16px;
    margin: 10px;
}
```

## Usage

```js
postcss([ require('postcss-automath') ])
```

For best results, add the plugin after any variable parsing, mixin processing or
function handling plugins. Since `postcss-automath` works on the final numeric
values of your CSS you need to process all variables, mixins and other dynamic
data *beforehand*.

See [PostCSS] docs for examples for your environment.

## How does this differ to `postcss-calc`?

They're (deliberately) trying to work towards the calc(...) standard, so for 
instance it doesn't support things like exponentials at the moment.

## How does this differ to `postcss-math` & `postcss-mathjs`?

Those plugins want you to add non-standard function wrappers (the `resolve()` 
function) around each expression you want evaluated. This module allows you
to write normal math expressions you'd be used to from using SASS, SCSS or LESS.

Since the variable handling is deferred to another plugin, you are free to use
this module with SCSS, LESS, W3C or even your own custom syntax.
npm package: @lowb/react-scripts
Description: Configuration and scripts for Create React App.
Latest version: 3.1.8

# 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.