open-index/open-npm huggingface dataset:
npm package: @ipgs/resolver
Description: ```js import {defineConfig} from 'vite'; import vue from '@vitejs/plugin-vue'; // 加入的自动引入 1 import Components from 'unplugin-vue-components/vite'; // 加入的自动引入 2 import Resolver from '@ipgs/resolver/dist/index';
Author: Song
Latest version: 0.0.1

# @ipgs/resolver

```js
import {defineConfig} from 'vite';
import vue from '@vitejs/plugin-vue';
// 加入的自动引入 1
import Components from 'unplugin-vue-components/vite';
// 加入的自动引入 2
import Resolver from '@ipgs/resolver/dist/index';

export default defineConfig({
  plugins: [
    vue(),
    // 加入的自动引入 3
    Components({
      resolvers: [Resolver()]
    })
  ]
});
```
npm package: @ipgs/ui
Description: ipgs ui components
Author: Song
Latest version: 0.0.12

# @ipgs/ui

## 安装

```bash
yarn add @ipgs/ui -S
```

## 全局引用

```js
import Vue from 'vue';
import PUI from '@ipgs/ui';
import '@ipgs/ui/lib/styles/index.css';
import App from './App.vue';

Vue.use(PUI);

new Vue({
  el: '#app',
  render: (h) => h(App)
});
```
npm package: @ipguk/erg-file-reader
Description: File reader for IPG Automotive .erg result files
Author: IPG Automotive UK
Latest version: 1.3.0

# IPG Automotive erg file reader

JavaScript file reader for IPG Automotive .erg result files. The reader requires a .erg file and corresponding .info file.

The data is returned as an array of quantity objects. Each object represents a quantity and contains the following properties:

- name - the name of the quantity e.g. 'Car.Distance'
- type - the data type of the quantity e.g. 'Double'
- unit - the unit of the quantity e.g. 'm'
- values - array of values for the quantity e.g. [0, 1, 2, 3]

Further information on the erg file format can be found in appendix A.1 of the IPG Automotive reference manual.

## Install

```
npm install --save @ipguk/erg-file-reader
```

## Usage

Import library

```
const erg = require("@ipguk/erg-file-reader");
```

Define the .erg and .info file paths

```
let ergFile = "MyFile.erg";
let infoFile = "MyFile.erg.info";
```

Read the data for all quantities

```
let data = erg.read(ergFile, infoFile);
```

Read quantity definitions - no data values are returned, just the name and unit of each quantity

```
let quants = erg.readInfoQuants(infoFile);
```

Read header information - Date, Testrun Name, CarMaker Version, Parameter

```
let header = erg.readInfoHeader(infoFile);
```

Validate ERG InfoFile

```
if(erg.validateInfoHeader(infoFile)){
    console.log("Valid ERG InfoFile);
}
else{
    console.log("Invalid ERG InfoFile);
}
```
npm package: @ipguk/react-ui
Description: React UI component library for IPG web applications
Author: IPG-Automotive-UK
Latest version: 12.7.1

# @ipguk/react-ui

> React UI component library for IPG web applications

[![Storybook](https://raw.githubusercontent.com/storybookjs/brand/master/badge/badge-storybook.svg)](https://main--666c1309face6e7c27f20e04.chromatic.com/) [![NPM](https://img.shields.io/npm/v/@ipguk/react-ui.svg)](https://www.npmjs.com/package/@ipguk/react-ui) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) [![Build Status](https://github.com/IPG-Automotive-UK/react-ui/workflows/Tests/badge.svg)](https://github.com/IPG-Automotive-UK/react-ui/actions)

## Install

```bash
pnpm install --save @ipguk/react-ui
```

## Usage

For a list of supported components run storybook. The basic syntax for usage is shown below for a generic "Component".

```jsx
import React from "react";

import { Component } from "@ipguk/react-ui";

function Example() {
  return <Component>Here we go</Component>;
}
```

## Documentation

Run storybook to explore all of the components and documentation.

```
pnpm run storybook
```

## Release

To release a new version, follow these steps.

1. Check that all tests pass

   ```bash
   pnpm test
   ```

2. Up version the package using

   ```bash
   pnpm version major|minor|patch|prerelease

   ```

3. Push the release and tag to Git

   ```bash
   git push

   ```

   ```bash
   git push --tags

   ```

4. Run the publish command

   Note: If publishing for the first time you will need to login to npm

   ```bash
   pnpm login

   ```

   ```bash
   pnpm publish --access=public
   ```

   Note: If publishing a prerelease ensure that it is tagged as next rather than latest

   ```
   pnpm publish --access=public --tag=next
   ```

5. Publish the release on GitHub

## License

MIT © [IPG Automotive](https://ipg-automotive.com/)