open-index/open-npm huggingface dataset:
npm package: @nubler/nu-cli
Description: A simple CLI to automate the generation of projects and components in internal Nubler projects.
Author: Nubler
Latest version: 1.1.3

# NU CLI

A simple CLI to automate the generation of projects and components in internal Nubler projects.

# Getting Started:

- Install with NPM:  ``npm install @nubler/nu-cli -g``
- Install with Yarn:  ``yarn global add @nubler/cli``

--------------

# Create a new project with CLI:

Run ``nu init``

- *Server* for Back-end projects;
- *Web* for React projects;

--------------

# Generating components with CLI:

- Run ``nu generate:component NAME_HERE`` for create a component in React Projects;
- Run ``nu generate:page NAME_HERE`` for create a page in React Projects;

- Run ``nu generate:controller NAME_HERE`` for create a controller and test in Server Projects;
- Run ``nu generate:middleware NAME_HERE`` for create a middlware in Server Projects;
- Run ``nu generate:job NAME_HERE`` for create a job in Server Projects;
- Run ``nu generate:test NAME_HERE`` for create a test in Server Projects;
npm package: @nubler/ui-kit
Description: ## How to start:
Author: Nubler
Latest version: 1.1.3

# Nubler UIKit

## How to start:

- Run "yarn";
- Run "yarn storybook";

## Requirements library:

- [x] Enable EsLint;
- [x] Enable Prettier;
- [x] Enable Storybook;

## Generic requirements for components:

- [x] Support themes;

## Components:

- [x] Input:
  - [x] Multiple sizes(sm, md and lg);
  - [x] Multiple variants(bordered and solid);
  - [x] Multiple states(error, success and info);
    - [x] With label;
  - [x] Can insert icon;
  - [x] Can have label;
  - [x] Can have top button with action;
- [ ] Select:
  - [ ] Multiple sizes(sm, md and lg);
  - [ ] Multiple variants(bordered and solid);
  - [ ] Multiple states(error, success and info);
    - [ ] With label;
  - [ ] Can have label;
  - [ ] Can have top button with action;
- [x] TextArea:
  - [x] Multiple variants(bordered and solid);
  - [x] Multiple states(error, success and info);
    - [x] With label;
  - [x] Can have label;
- [x] Checkbox:
  - [x] Multiple states(error, success and info);
    - [x] With label;
  - [x] Can have label;
- [x] RadioButton:
  - [x] Multiple states(error, success and info);
    - [x] With label;
  - [x] Can have label;
- [x] Button and Link:
  - [x] Multiple sizes(sm, md and lg);
  - [x] Multiple variants(bordered, solid and text);
  - [x] Loading state;
  - [x] Can have icon;
  - [x] Can have label;
- [x] Text:
  - [x] Multiple sizes(sm, md and lg);
  - [x] Can receive as “component”;
- [x] Tooltip:
  - [x] Can have position for change tooltip location;
  - [x] Can have label;
- [x] Modal:
  - [x] Can have state(opened or not);
- [x] Tag:
  - [x] Can have icon;
  - [x] Can have label;
- [x] Drawer;
- [x] Spinner;
- [x] Grid;
- [x] Wrapper;
- [x] Skeleton;
npm package: @nubuild/bun-plugin-dts
Description: ![环境支持](https://img.shields.io/badge/支持环境-Bun-blue)
Author: renzp
Latest version: 0.0.2

# @nubuild/bun-plugin-dts

![环境支持](https://img.shields.io/badge/支持环境-Bun-blue)


生成dts文件的bun插件

> 注意：此包的方式是源码引入，所以只能在`bun`环境下使用
npm package: @nubuild/bun-plugin-es-target
Description: ![环境支持](https://img.shields.io/badge/支持环境-Bun-blue)
Author: renzp
Latest version: 0.0.2

# @nubuild/bun-plugin-es-target

![环境支持](https://img.shields.io/badge/支持环境-Bun-blue)

build for es target by swc

> 注意：此包的方式是源码引入，所以只能在`bun`环境下使用
npm package: @nubuild/cli
Description: nubuild命令行工具
Author: renzp
Latest version: 0.0.6

# @nubuild/cli

![环境支持](https://img.shields.io/badge/支持环境-Bun-blue)


nubuild命令行打包器

> 注意：此包的方式是源码引入，所以只能在`bun`环境下使用
npm package: @nubuild/core
Description: 基于Bun开发的打包器
Author: renzp
Latest version: 0.0.6

# @nubuild/core

![环境支持](https://img.shields.io/badge/支持环境-Bun-blue)


nubuild核心包

> 注意：此包的方式是源码引入，所以只能在`bun`环境下使用
npm package: @nuc/homebridge-aircontrol-mini
Description: A HomeBridge plugin for TFA-Dostmann AirControl Mini.
Author: mrtoto
Latest version: 0.1.0

# homebridge-aircontrol-mini

A [HomeBridge Plugin](https://github.com/nfarina) making the [TFA-Dostmann AirCO2ntrol Mini](https://www.amazon.co.uk/TFA-Dostmann-AirCO2NTROL-Mini-Monitor/dp/B00TH3OW4Q) CO2 Monitor measurment USB device availible in [HomeKit](https://developer.apple.com/homekit/).

## Installation

For use on an Ubuntu/Debian style Linux: 

```
sudo apt-get install build-essential libudev-dev
sudo npm install -g --unsafe-perm homebridge-aircontrol-mini
```

To allow homebridge to run without beeing root or using sudo a udev Rule needs to be added. 

Create `/etc/udev/rules.d/23-homebridge.rules` and put in the following line, where you replace `homebridge` with the group of the user running homebridge on your system (e.g. `pi` on a raspian):

```
SUBSYSTEM=="usb", ATTR{idVendor}=="04d9", ATTR{idProduct}=="a052", GROUP="homebridge", MODE="0664"
```

Afterwards reload the rules with `udevadm control --reload` and replug the USB plug of your AirControl Mini.

## Sample Config (Excerpt)

Configured as part of your homebridge configuration.

- `accessory`: Needs to be `aircontrol-mini`
- `name`: Required, String; You need to configure the `name` of your accessory. 
- `co2_warning_level`: Optional, Number, Default 1200; Configure the level (in ppm) at which the CO2 is detected as abnormal (default 1200ppm, same as red LED level according to the device manual). 

In addition to this you need to connect the device to your machine running homebridge. 

```
{
  "bridge": {
    …
  },
  …
  "accessories": [
    {
      "accessory": "aircontrol-mini",
      "name": "Living Room CO2",
      "co2_warning_level": 1200
    }
  ],
	…
}

```
npm package: @nuclearredeye/eslint-config
Description: ESLint config to enforce my preferred code style/quality preferences
Author: NuclearRedeye
Latest version: 1.1.4

# Coding Standards

A library that provides a eslint configurations for my prefered style and linting rules for JavaScript and TypeScript.

## Usage

Install the library, and it's peer dependencies...

```
npm install --save-dev eslint prettier @nuclearredeye/eslint-config
```

Then create a top level .eslintrc file, and insert the following for JavaScript...

```
{
  "extends": "@nuclearredeye/eslint-config/src/javascript.js"
}
```

Or the following for TypeScript...

```
{
  "extends": "@nuclearredeye/eslint-config/src/typescript.js"
}
```

Then run the linter...

```
npx eslint ./src --ext .js,.ts
```

Or add as a target to your package.json

```
"lint": "eslint ./src --ext .js,.ts"
```
npm package: @nuclearredeye/react-component-library
Description: A template React Component Library that can be used to seed a new project
Author: NuclearRedeye
Latest version: 1.0.2

# React Component Library

A template React Component Library that can be used to seed a new project.

## Prerequisites

* You have a Linux or OSX machine. Windows should be supported via WSL 2 but has not been tested.
* You have installed a recent version of [GNU Make](https://www.gnu.org/software/make/).
* You have installed a recent version of [Node.js](https://nodejs.org/).
* You have installed a recent version of [Docker](https://www.docker.com/).

## Quick Start

You can build the library using...

```
make
```

## License

Licensed under [MIT](https://choosealicense.com/licenses/mit/).
npm package: @nuclearredeye/typescript-library
Description: A Typescript Library template that can be used as a seed for new projects.
Author: NuclearRedeye
Latest version: 1.6.3

# TypeScript Library

A template TypeScript Library that can be used to seed a new project.

## Prerequisites

* You have a Linux or OSX machine. Windows should be supported via WSL 2 but has not been tested.
* You have installed a recent version of [GNU Make](https://www.gnu.org/software/make/).
* You have installed a recent version of [Docker](https://www.docker.com/).

## Quick Start

You can build the library for development using...

```
make
```

You can also package the library for distribution using...

```
make release
```

## License

Licensed under [MIT](https://choosealicense.com/licenses/mit/).
npm package: @nucleartide/dx
Description: JavaScript without `try...catch`.
Author: Jason Tu
Latest version: 1.1.0

# dx

JavaScript without `try...catch`.

<br>

## Motivation

JavaScript expects you to handle errors with `try...catch`, but the syntax is somewhat inconvenient:

#### 1. You have to declare result variables _separately_ from your function calls.

```js
const userInput = 'fail'

let json
try {
  json = JSON.parse(userInput)
} catch (err) {
  console.error(err.stack)
}

// Do something with `json`...
```

Since we declare `json` separately, we can't declare `json` as a `const` binding.

#### 2. `try...catch` promotes catch-all error handling.

```js
try {
  // A bunch of stuff happens...
  // ...
  // ...
} catch (err) {
  console.log('welp')
  console.error(err.stack)
}
```

You might want to handle errors in a more fine-grained way. But then you run into the verbosity of problem 1.

<br>

## Enter `dx`

`dx` is a micro utility (it's just a few lines) that addresses the two pain points above.

```js
import { dx } from '@nucleartide/dx'

const [res, err] = dx(JSON.parse)('invalid json')
if (err) {
  console.error(err.stack)
}
```

It allows you to place your declaration and function call on the same line. And it promotes a granular, _per-function_ error handling style.

It also works with async functions:

```js
import { dx } from '@nucleartide/dx'

function asyncHello(name) {
  return Promise.reject(`hello ${name}`)
}

;(async () => {
  const [res, err] = await dx(asyncHello)('jesse')
  if (err) {
    console.error(err.stack)
  }
})
```

<br>

## Convinced?

```bash
npm install @nucleartide/dx
```

<br>

## License

MIT

---

> Jason Tu · GitHub [@nucleartide](https://github.com/nucleartide) · Twitter [@nucleartide](https://twitter.com/nucleartide)