open-index/open-npm huggingface dataset:
npm package: @rmeissner/safe-apps-react-sdk
Description: [![npm](https://img.shields.io/npm/v/@rmeissner/safe-apps-react-sdk)](https://www.npmjs.com/package/@rmeissner/safe-apps-react-sdk)
Latest version: 0.4.0
Deprecated: Deprecated in favor of @gnosis.pm/safe-apps-react-sdk

# Safe Apps React SDK

[![npm](https://img.shields.io/npm/v/@rmeissner/safe-apps-react-sdk)](https://www.npmjs.com/package/@rmeissner/safe-apps-react-sdk)

This sdk should provide a simple way to write a React.js [Safe app](https://docs.gnosis.io/safe/docs/sdks_safe_apps/)

### How to use

- Add npm package
```bash
yarn add @rmeissner/safe-apps-react-sdk
```

- Add `SafeProvider`
```js
// ... other imports
import SafeProvider from '@rmeissner/safe-apps-react-sdk';

ReactDOM.render(
  <React.StrictMode>
    <SafeProvider>
      <App /> // Your app
    </SafeProvider>
  </React.StrictMode>,
  document.getElementById('root')
);
```

- Use Safe
```js
// ... other imports
import { useSafe } from '@rmeissner/safe-apps-react-sdk';

const App = () => {
  const safe = useSafe()
  return (<div>{safe.info.safeAddress}</div>)
}
```

### Usages

#### Send transactions
```js
const txs: Transaction[] = [
  {
    "to": "0x31415629...",
    "value": "0",
    "data": "0xbaddad"
  },
  //...
]
// Returns a hash to identify the Safe transaction
const safeTxHash: string = await safe.sendTransactions(txs)
```

#### Load Safe transaction information
```js
const safeTx: SafeTransaction = await safe.loadSafeTransaction(safeTxHash)
```
npm package: @rmejia32/malicious_package_demo
Description: Demo-only package showing how malicious npm packages can behave (safe).
Author: Rafael Mejia
Latest version: 1.0.0

# @rmejia32/malicious_package_demo

This is a **demo package** created to demonstrate how a malicious dependency could behave inside a Node.js / Express application.  
It’s safe — nothing is actually exfiltrated — and is intended purely for educational use.

## Prerequisites

- Node.js ≥ 18  
- Express and express-session (in the host app)

## Installation

Add this as a local dependency in your demo project:

```bash
npm install @rmejia32/malicious_package_demo
```

## Usage

1. Import the middleware:

    ```js
    import { installSnoop } from "@rmejia32/malicious_package_demo";
    ```

2. Mount it after your middleware:

    ```js
    app.use(session(sessionOptions));
    app.use(installSnoop(sessionOptions));
    ```

## Disclaimer

This package is for demonstration and educational purposes only.
It performs no network activity and does not collect or transmit any real data.
npm package: @rmelasavvi/redoc-cli
Description: Hack of Roman Hotskiy's ReDoc's Command Line Interface to avoid overwriting user-provided discriminator values
Author: Robert Mela
Latest version: 0.13.5

# redoc-cli

**[ReDoc](https://github.com/Redocly/redoc)'s Command Line Interface**

## Installation

You can use `redoc-cli` by installing [the package](https://www.npmjs.com/package/redoc-cli) globally,
or using [npx](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b).

## Usage

The two following commands are available:

- `redoc-cli serve [spec]` - starts the server with `spec` rendered with ReDoc.
  Supports a server-side rendering mode (`--ssr`),
  and can watch the spec (`--watch`) to automatically reload the page whenever it changes.
- `redoc-cli bundle [spec]` - bundles `spec` and ReDoc into a **zero-dependency** HTML file.

Some examples:

- Bundle with the main color changed to `orange`:<br/>
  `$ redoc-cli bundle [spec] --options.theme.colors.primary.main=orange`
- Serve with the `nativeScrollbars` option set to true:<br/>
  `$ redoc-cli serve [spec] --options.nativeScrollbars`
- Bundle using a custom [Handlebars](https://handlebarsjs.com/) template
  (check the [default template](https://github.com/Redocly/redoc/blob/master/cli/template.hbs) for an example):<br/>
  `$ redoc-cli bundle [spec] -t custom.hbs`
- Bundle using a custom template and add custom `templateOptions`:<br/>
  `$ redoc-cli bundle [spec] -t custom.hbs --templateOptions.metaDescription "Page meta description"`

For more details, run `redoc-cli --help`.
npm package: @rmenaka/censorify
Description: Censors words out of text
Author: RMENAKAMURUGESAN
Latest version: 1.0.0

# Censorify Module

This module censors certain words in text.

## Usage

```javascript
const censor = require('censorify');

console.log(censor.getCensoredWords());
console.log(censor.censor("Some sad, bad, and mad words here."));
censor.addCensoredWord("gloomy");
console.log(censor.censor("A gloomy day is a bad day."));
npm package: @rmenke/css-tokenizer-tests
Description: Tests for CSS Tokenizers
Author: Romain Menke
Latest version: 1.2.0

# CSS Tokenizer Tests

[<img alt="npm version" src="https://img.shields.io/npm/v/@rmenke/css-tokenizer-tests.svg" height="20">](https://www.npmjs.com/package/@rmenke/css-tokenizer-tests)

Tokenizing CSS is non-trivial and some packages might choose to deviate from the specification.
This library is not intended to rank tokenizers.

_I can not stress enough that this is comparing apples to oranges. Different tokenizers are build for different purposes._
_Some do not track source offsets, others do not expose parsed/unescaped values._

It is intended to make it easier to find and resolve issues when that is desirable.

It is also a corpus of CSS that can be used to build a comprehensive test suite for your tokenizer.

-----

## Test Corpus format :

```js
import { testCorpus } from '@rmenke/css-tokenizer-tests';

// A specific test case.
const testCase = testCorpus['tests/at-keyword/0001'];

// The CSS source for a test case.
const cssSource = testCase.css;

// The reference tokens for the test case.
const tokens = testCase.tokens;

// Iterate all test cases.
for (const aTestCaseName in testCorpus) {
	const aTestCase = testCorpus[aTestCaseName];
}
```

## Tokens format :

This test corpus strictly follows the CSS specification.
The token type names are taken directly from the specification.

- `type` is the token type name
- `raw` is the literal representation of the token in the CSS source.
- `startIndex` and `endIndex` are the index of the first and last character in the CSS source.
- `structured` contains extracted data. (numeric values for `number-token`, unescaped `ident` names, ...)

```json
{
	"type": "at-keyword-token",
	"raw": "@foo",
	"startIndex": 0,
	"endIndex": 4,
	"structured": {
		"value": "foo"
	}
}
```

The CSS specification does not require tokenizers to expose this exact interface or the values therein.
This is intended as data to verify that a tokenizer works as expected, nothing more.

You choose which bits you want to compare and how.
This is also why this package is not a test framework.
npm package: @rmfaustino/edgecli
Description: A copy of 'edgeci' - an Apigee Edge command line utility to export/import API proxies for continuous integration
Author: rmfaustino@globe.com.ph
Latest version: 1.0.2

# edgecli
This is a forked and continued project from edgeci (https://www.npmjs.com/package/edgeci)
npm package: @rmhaiderali/base45
Description: base45 encoder/decoder in javascript
Author: Christian Landgren
Latest version: 100.1.0

# base45

Forked from [irony/base45](https://github.com/irony/base45) and modified to be web compatible.

_base45_ is a base45 encoder/decoder that is fully compatible [draft-faltstrom-base45-02](https://www.ietf.org/id/draft-faltstrom-base45-02.txt).

[![Node.js Package](https://github.com/irony/base45/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/irony/base45/actions/workflows/npm-publish.yml)

## Introduction

When using QR or Aztec codes a different encoding scheme is needed than the already established base 64, base 32 and base 16 encoding

## Installation

Via [npm](https://www.npmjs.com/):

```bash
npm install @rmhaiderali/base45
```

```js
import base45 from "@rmhaiderali/base45"
```

## API

### `base45.encode(input)`

This function takes a byte string (the `input` parameter) and encodes it according to base45. The input data must be in the form of a string containing only characters in the range from U+0000 to U+00FF, each representing a binary byte with values `0x00` to `0xFF` or a binary buffer in the same range.

```js
const encodedData = base45.encode(input)
```

To base45-encode a utf8 encoded string.

```js
import base45 from "@rmhaiderali/base45"
const text = "foo © bar 𝌆 baz"
const encoded = base45.encode(text)
console.log(encoded)
// → 'X.C82EIROA44GECH74C-J1/GUJCW2'
```

### `base45.decode(input)`

This function takes a base45-encoded string (the `input` parameter) and decodes it and returns a buffer.

```js
const decodedData = base45.decode(encodedData)
const text = base45.decode(encoded).toString("utf-8")
console.log(text)
// → 'foo © bar 𝌆 baz'
```

## Author

| (https://twitter.com/landgren "Follow @landgren on Twitter") |

## License

_base45_ is available under the [MIT](https://opensource.org/licenses/mit-license.php) license.