open-index/open-npm huggingface dataset:
npm package: @palmotic/flash
Description: zwave-js: firmware flash utility
Author: AlCalzone
Latest version: 15.6.6

# Z-Wave JS: Firmware Flasher

CLI utility to flash the firmware on Z-Wave controllers

**WARNING:** Flashing the wrong firmware may brick your controller. Use at your own risk!

## Usage

You can either execute the current version directly from `npm` using

```
npx @palmotic/flash@latest <port> <filename> [--verbose]
```

or you can execute the version in the checked out repository by executing

```
yarn ts packages/flash/src/cli.ts <port> <filename> [--verbose]
```

The `--verbose` flag will cause the driver logs to be printed to console.
npm package: @palmotic/nvmedit
Description: zwave-js: library to edit NVM backups
Author: AlCalzone
Latest version: 15.6.6

# Z-Wave JS: NVM editor

CLI utility to convert binary NVM backups from Z-Wave controllers into JSON and back. Can be used to edit a Z-Wave controller's memory or convert it between different firmware revisions.\
**WARNING:** This is highly experimental. Use at your own risk!

(Probably) supports all NVM files in the NVM3 format, which is used starting with Z-Wave SDK 6.61+.

## Usage

You can either execute the current version directly from `npm` using

```
npx @palmotic/nvmedit ...command...
```

or you can execute the version in the checked out repository by executing

```
yarn ts packages/nvmedit/src/cli.ts ...command...
```

The following documentation will use the first approach.

## Convert one NVM to be compatible with another one

**This is probably the command you're looking for.** It converts the format of an NVM backup between different Z-Wave modules.

```
npx @palmotic/nvmedit convert --source <source> --target <target> --out <output>
```

`<source>` specifies the source NVM filename. This file will be converted to match the target NVM.\
`<target>` specifies the target NVM filename. This file will used to determine how to convert the source NVM.\
The resulting NVM will be written to `<output>`.

## Convert binary NVM file to JSON

```
npx @palmotic/nvmedit nvm2json --in /path/to/nvm.bin --out /path/to/nvm.json [--verbose]
```

The `--verbose` flag will print additional output like memory page contents or parsed NVM objects to the console.

The `.bin` file must either contain a 700-series NVM (SDK version 7.x) or a 500-series NVM (SDK version 6.61+). The `.json` output format will depend on the SDK version.

## Convert JSON NVM file to binary

```
npx @palmotic/nvmedit json2nvm --in /path/to/nvm.json --out /path/to/nvm.bin --protocolVersion <ver.si.on>
```

`<ver.si.on>` determines the output format of the NVM file and must be replaced with the target SDK version which must match your stick's firmware version
Only firmware version `7.x` is supported. Converting a 500-series `.json` to a 700-series `.json` must be done beforehand in a separate step.

**ATTENTION:** The input `.json` file must contain a `"meta"` section which contains some information about the target stick. If it is missing, you can use the `nvm2json` command to convert a backup of the target stick and copy the section from there.

## Convert 500-series JSON to 700-series JSON

```
npx @palmotic/nvmedit 500to700 --in /path/to/nvm500.json --out /path/to/nvm700.json [--truncate]
```

Some 500-series NVM backups contain more application data than the 700-series NVM has reserved for this field. The conversion routine will try to remove 0-bytes at the start and end, but if this is not enough, it will fail. Set the `--truncate` option to allow truncating potentially valid application data.

## Convert 700-series JSON to 500-series JSON

```
npx @palmotic/nvmedit 700to500 --in /path/to/nvm700.json --out /path/to/nvm500.json
```
npm package: @palmtree/form
Description: [![License](http://img.shields.io/packagist/l/palmtree/form.svg)](LICENSE) [![Build](https://img.shields.io/github/actions/workflow/status/palmtreephp/form/build.yaml?branch=master)](https://github.com/palmtreephp/form/actions/workflows/build.yaml) [![Pac
Latest version: 6.4.0

# :palm_tree: Palmtree Form

[![License](http://img.shields.io/packagist/l/palmtree/form.svg)](LICENSE)
[![Build](https://img.shields.io/github/actions/workflow/status/palmtreephp/form/build.yaml?branch=master)](https://github.com/palmtreephp/form/actions/workflows/build.yaml)
[![Packagist Version](https://img.shields.io/packagist/v/palmtree/form)](https://packagist.org/packages/palmtree/form)
[![npm version](https://img.shields.io/npm/v/@palmtree/form.svg)](https://www.npmjs.com/package/@palmtree/form)

PHP form builder with [Bootstrap](https://getbootstrap.com/) classes, [validation](docs/constraints.md), [data binding](docs/data-binding.md),
[Google Recaptcha](https://www.google.com/recaptcha/intro/) and [hCaptcha](https://www.hcaptcha.com/) support, plus other goodies.

## Requirements

* PHP >= 8.3

## Installation

Use composer to add the package to your dependencies:

```sh
composer require palmtree/form
```

Optional: Install the NPM package for AJAX form submission, CAPTCHA support and form collections:

```sh
npm install @palmtree/form
```

## Usage Example

#### Build

```php
use Palmtree\Form\FormBuilder;
use Palmtree\Form\Captcha\GoogleRecaptcha;
use Palmtree\Form\Captcha\HCaptcha;

$builder = (new FormBuilder('my_form'))
    ->add('name', 'text', ['error_message' => 'Please enter your name'])
    ->add('email_address', 'email', [
        'help' => 'We will never share your email with anyone',
    ])
    ->add('message', 'textarea', [
        'required' => false,
        'label' => 'Enter your message',
    ])
    ->add('recaptcha', 'captcha', [
        'captcha' => new GoogleRecaptcha('<site_key>', '<secret>'),
        //'captcha' => new HCaptcha('<site_key>', '<secret>'),
    ]);

$builder->add('send_message', 'submit');

$form = $builder->getForm();
// Set $form to some variable accessible in a view

```

#### Render

```html

<div class="container">
    <?= $form->render(); ?>
</div>

<!-- Optional JS for AJAX submissions, CAPTCHA support and form collections -->
<script src="https://unpkg.com/@palmtree/form@latest/dist/palmtree-form.pkgd.min.js"></script>
```

#### Process

```php
$form->handleRequest();

if ($form->isSubmitted() && $form->isValid()) {
    // Send an email/save to database etc
    $name = $form->get('name')->getData();
}
```

See the [examples](examples) directory for examples using AJAX, file uploads, collections and more.

## Documentation

[View the documentation](docs/index.md) for more advanced usage.

## Examples

The simplest way to run the examples is run the serve.sh script. This script starts a small PHP Docker container
and serves the examples using PHP's built-in web server.

```sh
./examples/serve.sh
```

## License

Released under the [MIT license](LICENSE)
npm package: @palmtreecoding/react-native-theming
Description: Easy to use and setup theming and styling for React Native
Author: Tycho Bokdam
Latest version: 1.1.1

# React Native Theming
> Easy to use and setup theming and styling for React Native

## Installation
```shell
$ npm install --save @palmtreecoding/react-native-theming
$ yarn add @palmtreecoding/react-native-theming
```

## Examples
Wrapping your application with a theme
```typescript jsx
import React from 'react'
import { ThemeProvider } from '@palmtreecoding/react-native-theming'

export const MyApp = () => (
  <ThemeProvider theme={{ myBackgroundColor: 'pink' }}>
    ...
  </ThemeProvider>
)

export default MyApp
```

### Hook
Using the `createUseStyles` hook
```typescript jsx
import React from 'react'
import { View } from 'react-native'
import { createUseStyles } from '@palmtreecoding/react-native-theming'

const useStyles = createUseStyles((theme) => ({
  
  container: {
    backgroundColor: theme.myBackgroundColor
  }

})) 

export const MyComponent = () => {
  const [styles] = useStyles()
  
  return (
    <View styles={styles.container}>
      ...
    </View>
  )
}
```

### HOC
Using the `withStyles` decorator
```typescript jsx
import React from 'react'
import { View } from 'react-native'
import { createUseStyles } from '@palmtreecoding/react-native-theming'

const componentStyles = (theme) => ({
  
  container: {
    backgroundColor: theme.myBackgroundColor
  }

})

export const MyComponent = ({ styles }) => {
  return (
    <View styles={styles.container}>
      ...
    </View>
  )
}

export default withStyles(componentStyles)(MyComponent)
```

## Development
If you'd like to contribute to this project, all you need to do is clone
this project and run:

```shell
$ yarn install
$ yarn build
$ yarn build:watch // To recompile files on file change
```

## [License](https://github.com/palmtreecoding/react-native-theming/blob/master/LICENSE)
React Native Theming is [MIT licensed](./LICENSE).

## Collaboration
If you have questions or [issues](https://github.com/palmtreecoding/react-native-theming/issues), please [open an issue](https://github.com/palmtreecoding/react-native-theming/issues/new)!
npm package: @palmyra76/palmyra-wire
Description: Palmyra-Wire provides the API client specification for palmyra-rui.  This enables the UI components to be loosely coupled with any backend APIs.
Author: Raja K
Latest version: 1.0.2

# Palmyra - React UI
Palmyra-Wire provides the API client specification for palmyra-rui. 
This enables the UI components to be loosely coupled with any backend APIs.


## Interfaces provided
* QueryStore - Basic query and search
* DataStore - Form data CRUD
* GridStore - Tables and export data
* TreeQueryStore - Tree components


## Installation

npm i --save @palmyra76/palmyra-wire
npm package: @palmyra76/palmyratest
Description: Palmyra-Wire provides the API client specification for palmyra-rui.  This enables the UI components to be loosely coupled with any backend APIs.
Author: Raja K
Latest version: 1.0.1

# Palmyra - React UI
Palmyra-Wire provides the API client specification for palmyra-rui. 
This enables the UI components to be loosely coupled with any backend APIs.


## Interfaces provided
* QueryStore - Basic query and search
* DataStore - Form data CRUD
* GridStore - Tables and export data
* TreeQueryStore - Tree components


## Installation

npm i --save @palmyra76/palmyra-wire
npm package: @palmyralabs/palmyra-wire
Description: Palmyra-Wire provides the API client specification for palmyra-rui.  This enables the UI components to be loosely coupled with any backend APIs.
Author: Raja K
Latest version: 1.2.1

# Palmyra - React UI
Palmyra-Wire provides the API client specification for palmyra-rui. 
This enables the UI components to be loosely coupled with any backend APIs.


## Interfaces provided
* QueryStore - Basic query and search
* DataStore - Form data CRUD
* GridStore - Tables and export data
* TreeQueryStore - Tree components


## Installation

npm i --save @palmyra76/palmyra-wire