open-index/open-npm huggingface dataset:
npm package: @palid/jxt-xmpp
Description: JXT definitions for XMPP
Author: Lance Stout
Latest version: 3.1.1-mam1

# JXT-XMPP

This is a collection of [JXT (JSON/XML translator)](https://github.com/otalk/jxt) definitions for [XMPP](http://xmpp.org).

These definitions were originally part of the [Stanza.io](https://stanza.io) XMPP library, but have been split off into their own module so that they can be used with other projects (such as the [node-xmpp](http://node-xmpp.org) family of libraries).

## Getting Started

The basic boilerplate to start using the XMPP definitions is:

```js
// Create registry and load required helper plugin
var JXT = require('jxt').createRegistry();
JXT.use(require('jxt-xmpp-types'));

// Load the XMPP definitions
JXT.use(require('jxt-xmpp'));

var stanza = JXT.parse('<message xmlns="jabber:client"><body>Hi!</body></message>');
console.log(stanza.body);
// -> Hi!

var Message = JXT.getMessage();
var msg = new Message({ body: 'Hey' });
console.log(msg.toString());
// -> '<message xmlns="jabber:client"><body>Hey</body></message>'
```

Here we created our [JXT](https://github.com/otalk/jxt) registry, and first loaded the [jxt-xmpp-types](https://github.com/otalk/jxt-xmpp-types) plugin to provide some required JXT helper types and methods.

With that bit of setup out of the way, we can load the `jxt-xmpp` module itself.

## License

MIT

## Created By

If you like this, follow [@lancestout](http://twitter.com/lancestout) on twitter.
npm package: @palindromecryptoescrow/sdk
Description: A TypeScript/Node SDK for interacting with the PalindromeCryptoEscrow smart contract and subgraph, including signature flows, event utilities, token helpers, and robust error handling.
Latest version: 1.9.3
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# PalindromeEscrowSDK

A TypeScript/Node SDK for interacting with the PalindromeCryptoEscrow smart contract and subgraph, including signature flows, event utilities, token helpers, and robust error handling.

---

## ✨ Features

- Interact with on-chain escrow contracts using public & wallet clients
- Supports ERC20 deposits, fee calculation, and contract state queries
- Buyer, Seller, Arbiter roles—plus dispute/resolve logic
- Meta-transaction signature helpers (EIP-712 compatible)
- Auto-release and time/maturity helpers
- Subgraph GraphQL queries to fetch and filter escrows and dispute messages
- Flexible error classes and codes for wallet/client state
- Utilities for fee calculation, token formatting, deadlines, and maturity times

---

### 1. Install dependencies: 
npm install

### 2. Test: 
ts-node tests/test.ts
npm package: @palindromepay/sdk
Description: TypeScript SDK for PalindromeCryptoEscrow - Secure blockchain escrow with buyer/seller protection
Author: Palindrome Pay
Latest version: 2.1.8

# PalindromePay SDK

[![npm version](https://img.shields.io/npm/v/@palindromepay/sdk.svg)](https://www.npmjs.com/package/@palindromepay/sdk)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Documentation](https://img.shields.io/badge/docs-sdk.palindromepay.com-blue)](https://sdk.palindromepay.com)

A TypeScript/Node SDK for interacting with the PalindromePay escrow smart contract and subgraph, including signature flows, event utilities, token helpers, and robust error handling.

---

## 📚 Documentation

**Full documentation available at: [palindromepay.com/sdk](https://www.palindromepay.com/sdk)**

---

## ✨ Features

- Interact with on-chain escrow contracts using public & wallet clients
- Supports ERC20 deposits, fee calculation, and contract state queries
- Buyer, Seller, Arbiter roles—plus dispute/resolve logic
- Meta-transaction signature helpers (EIP-712 compatible)
- Auto-release and time/maturity helpers
- Subgraph GraphQL queries to fetch and filter escrows and dispute messages
- Flexible error classes and codes for wallet/client state
- Utilities for fee calculation, token formatting, deadlines, and maturity times
- Gas estimation helpers for transaction planning
- Comprehensive state and role validation helpers

---

## 🚀 Getting Started

Palindrome Pay is an open-source SDK for building escrow functionality into decentralized applications using smart contracts.

**Non-custodial**: All funds are held in smart contracts on the blockchain - Palindrome Pay never has access to or control over user funds. Transactions are peer-to-peer between buyer and seller.

---

## 📦 Installation

```bash
npm install @palindromepay/sdk
```

---

## 🧪 Testing

```bash
# Run all tests
npm test

# Run core functionality tests only
npm run test:core

# Run security tests only
npm run test:security
```

---

## 📝 Development

```bash
# Install dependencies
npm install

# Build the project
npm run build

# Clean build artifacts
npm run clean
```

---

## 📄 License

MIT License - see LICENSE file for details

---

## 🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

---

## 📞 Support

- GitHub Issues: https://github.com/palindromepay/SDKPalindromePay/issues
- Documentation: https://www.palindromepay.com/sdk
npm package: @palisarbaro/stateful_hot_reload
Description: A simple hot reload library for node.js that allows you to preserve application state across reloads.
Latest version: 1.0.1

# A simple hot reload library for node.js that allows you to preserve application state across reloads.
## DON'T USE IN PRODUCTION
## Why not use nodemon or something similar?
They just reboot the whole application, meaning you lose its state.  
This leads to the following problems.  
1. This slows down reloads because state initialization is slow (connecting to the database, waiting for other services, etc.).
2. During development, it can be quite tedious to click buttons in the browser to get the app state suitable for testing a specific feature. Losing the app state forces you to repeat this process over and over again.

## Installation
```npm i @palisarbaro/stateful_hot_reload```

## Limitations
1. You should not relay on require cache
2. Works only with commonjs modules
3. `main` function shouldn't throw (otherwise saving invalid code can terminate node process)

## Usage
1. You should have `main` function that accept boolean (true if reloaded, false if first run) and return `shutdown` function.
2. Do the state inititalization.
3. Only then call `hot_reloading` with `main` function.
4. Call `watch` to monitor changes. Or call `do_reload` manually when you need to reload.  
Both `main` and `shutdown` can be async

### hot_reloading
Immidiatly calls `main`

### do_reload
Stops the previous run by calling `shutdown`  
Clears require cache, so you can reimport new version of code.  
Calls `main` again.  

### watch
`root` - directory to watch  
`ignore` - array of RegExp applied to full path of watched files (default is `[/\/node_modules\//]`)  
`debounce_timeout` - delay(milliseconds) before reload to prevent multiple reloads when saving multiple files (default is 100 ms)