open-index/open-npm huggingface dataset:
npm package: @lrewater/lre-react
Description: >
Author: lrewater
Latest version: 0.6.6

# lre-react

>

[![NPM](https://img.shields.io/npm/v/@lrewater/lre-react.svg)](https://www.npmjs.com/package/lre-react) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Overview

lre-react is a library of reusable components tailored specifically to LRE Water use cases. The components are meant for use with React and are an extension of the [Material UI framework](https://material-ui.com/). This library has grown out of the LRE Starter kKt and is meant to compliment the Starter Kit as well as any other React project.

## Roadmap

- [ ] Filters
  - [x] Date
  - [x] Multi-select
  - [x] Single-select
  - [ ] Search multi-select
  - [x] Switch
  - [x] TextField
  - [x] TextArea
  - [ ] Filter Bar
- [ ] Tables
  - [x] ListTable
  - [x] DataTable
- [ ] Graphs
  - [ ] Line Graph
- [ ] Authentication and Authorization
- [ ] Reports and Views
  - [ ] Reports Home
  - [ ] View Management
- [ ] Data Management
  - [ ] Editable Grid
  - [ ] Draggable Grid
  - [ ] View List Item
  - [ ] Edit List Item
  - [ ] Add List Item
  - [ ] Delete List Item
- [ ] Hooks
  - [x] useTable
  - [x] useGraph
  - [ ] useFetchData
  - [ ] useFilterAssoc
  - [ ] useFormSubmitStatus
  - [x] useVisibility
- [ ] Util

## Install

```bash
npm install --save @lrewater/lre-react
```

## Usage

```jsx
import React, { useState } from "react";

import { TextField } from "@lrewater/lre-react";

const Example = props => {
  const [value, setValue] = useState("Example Value");

  const handleChange = event => {
    setValue(event.target.value);
  };
  return (
    <form>
      <TextField
        name="example"
        label="Example"
        value={value}
        onChange={handleChange}
      />
    </form>
  );
};
```

## License

MIT © [lrewater](https://github.com/lrewater)
npm package: @lrhealth/storage
Description: 联仁健康内部缓存隔离包
Author: lrhealth-web
Latest version: 1.0.2

# @lrhealth/storage
![](https://img.shields.io/badge/%E7%BC%93%E5%AD%98%E9%9A%94%E7%A6%BB-cache%20isolation%20-brightgreen)
![](https://img.shields.io/badge/%E8%87%AA%E5%8A%A8%E5%BA%8F%E5%88%97%E5%8C%96-Automatic%20serialization-orange)
![](https://img.shields.io/badge/%E8%81%94%E4%BB%81%E5%81%A5%E5%BA%B7-lrhealth-blue)
## 背景说明
公司内部多个web项目同时部署在同一台服务器的nginx下，ip和端口都是一致的，这样就会使得多个项目共用一个localStorage缓存，造成读写冲突的问题。为了解决这个问题，就必须对同域下，多项目本地缓存进行隔离。把不同项目对应的本地缓存，存储在localSforage不同的key-value里
## 使用范围
此包仅限于在 联仁科技（联仁健康医疗大数据科技股份有限公司）内部使用
## 安全风险
因为此包的数据处理对象包含token等关键信息，如果出现一些bug，会影响项目登录功能。内部出现bug时,需及时在前端web群里发布，进行实时bugfix，不断增强此包的健壮性。促进本地缓存隔离在公司内部的最佳实践


# 安装依赖
**```npm install @lrhealth/storage --save ```**

或者

**```yarn add @lrhealth/storage ```**

>注意：npm 源必须是官方源，不能是淘宝镜像源

# 引入方式
``` 
import 
{
  getAll,
  getItem,
  setItem,
  removeItem,
  clear
} from '@lrhealth/storage' 
```
# 参数说明

| 参数名称 | 类型 | 解释 |
| ------ | ------ | ------ |
| prefix | string | 项目名称 |
| item | string | 缓存中的键 |
| data | 任意类型 | 要存入缓存的原始数据 (内部会自动进行序列化转换，不用像原始的localStorage一样，存取前后进行序列化处理)|


# 方法说明
**声明：暴露的方法延用了浏览器原生的localStorage方法名，增加了一个getAll(prefix)方法，用于读取当前项目对应的所有本地缓存数据。相比原生的传参方式，每个方法需要多传一个项目名称prefix，加以区分；但是不需要像原生的方法一样必须做序列化转化才能存取，包内部会自动做序列化处理的。以下是具体使用说明：**
  *  **```getAll(prefix)```**
  > 作用：传入 项目名称 prefix，获取当前web项目对应的所有localStorage缓存数据，  
  使用场景： 一般用来读取打印当前web项目对应的本地缓存localStorage中的所有数据，例：
  ```getAll('ms'),getAll('supervision')//获取ms平台和监管平台对应的本地所有存储数据```

  * **```getItem(prefix, item)```**
  > 作用：传入 项目名称 prefix，要读取的子项键名item，获取对应的value值  
  使用场景： 一般用来读取当前项目缓存中某一项的值  
  ```例：getItem('ms','token') ，getItem('ms','roleId')//返回token和roleId数据```

  * **```setItem(prefix, item, data)```**
  > 作用：传入 项目名称 prefix，自定义的子项键名item，和value值data,将该项数据存入本地localStorage对应的缓存空间内。  
  使用场景： 一般用于登录存token,例：
 ```setItem('ms','token','AE42885846848566464'), setItem('ms','userInfo',{id:34242,sex:'male',...}) 或者重置缓存里某一项的值```

  * **```removeItem(prefix, item)```**
  > 作用：传入项目名称prefix，对应的键名item,将该项数据从项目对应的缓存空间中清除  
  使用场景： 一般用于清除项目里某一项数据 例：  
  ``` removeItem('ms','token')//清除token信息```

  * **```clear(prefix)```**
  > 作用：传入项目名称prefix,将当前web项目对应的本地缓存数据情况。  
  使用场景： 一般用于退出登录，清空当前项目缓存数据  
  ```clear('ms'),clear('supervision')//清除ms平台和监管平台各自的所有缓存数据```

# 调试机制
~~包的内部内置了报错机制，当调用方法，忘记传参数或者传参有误时，会根据错误级别给出warn或者error提示，方便通过控制台的调用栈调试定位bug。调试机制需要进一步完善，遇到问题可以多提issue~~

由于报错待完善，暂时去除报错
npm package: @lrittel/n8n-nodes-influxdb
Description: A n8n community client node for InfluxDB.
Author: Lennart Rittel
Latest version: 0.0.0

# n8n-nodes-influxdb

This is an n8n community node. It lets you use _app/service name_ in your n8n workflows.

_App/service name_ is _one or two sentences describing the service this node integrates with_.

[n8n](https://n8n.io/) is a [fair-code licensed](https://docs.n8n.io/sustainable-use-license/) workflow automation platform.

[Installation](#installation)
[Operations](#operations)
[Credentials](#credentials)
[Compatibility](#compatibility)
[Usage](#usage)
[Resources](#resources)
[Version history](#version-history)

## Installation

Follow the [installation guide](https://docs.n8n.io/integrations/community-nodes/installation/) in the n8n community nodes documentation.

## Operations

_List the operations supported by your node._

## Credentials

_If users need to authenticate with the app/service, provide details here. You should include prerequisites (such as signing up with the service), available authentication methods, and how to set them up._

## Compatibility

_State the minimum n8n version, as well as which versions you test against. You can also include any known version incompatibility issues._

## Usage

_This is an optional section. Use it to help users with any difficult or confusing aspects of the node._

_By the time users are looking for community nodes, they probably already know n8n basics. But if you expect new users, you can link to the [Try it out](https://docs.n8n.io/try-it-out/) documentation to help them get started._

## Resources

* [n8n community nodes documentation](https://docs.n8n.io/integrations/#community-nodes)
* _Link to app/service documentation._

## Version history

_This is another optional section. If your node has multiple versions, include a short description of available versions and what changed, as well as any compatibility impact._
npm package: @lrn/generator-polymer-init-lrn-element
Description: ![Screenshot](screenshot.png)
Author: heyMP
Latest version: 0.1.0

![Screenshot](screenshot.png)

## Installation

```bash
npm install -g yo
npm install -g bower
npm install -g polymer-cli
npm install -g @lrn/generator-polymer-init-lrn-element
```

Make the folder for your element

```bash
mkdir my-element
cd my-element
```

Create the element with polymer init and choose the LRN option

```bash
yo @lrn/generator-polymer-init-lrn-element
  - LRN component
    - element
```

Now just run Polymer serve!

```bash
polymer serve
```