open-index/open-npm huggingface dataset:
npm package: @qnp/lus
Description: Command-line formatting of <style lang='stylus'> in Vue SFC files using Stylus Supremacy
Author: François Risoud
Latest version: 0.4.1

# @qnp/lus

Command line formatter of Vue SFC files that uses stylus as style.
This tool uses [Manta’s Stylus Supremacy](https://thisismanta.github.io/stylus-supremacy) under the hood.

## Installation

- `npm install --save-dev @qnp/lus`
- `yarn add -D @qnp/lus`

## Usage

Type:
```sh
lus -h
```
to print usage.

## Development and contribution

- Write your functionalites or fixes.
- Write new tests for any new functionality.
- Run `yarn test` to verify that everything is passing.
- Generate new doc using `yarn doc` and commit the changes of DOCUMENTATION.md file.
- You can build the lib using `yarn build`
- After having commit all your changes you can run `make release` to properly test, build, create a git tag and publish to npm
npm package: @qnrjs42/react-native-nitro-restart
Description: react-native-nitro-restart
Author: qnrjs42
Latest version: 1.0.1

# react-native-nitro-restart

Restart or exit your React Native app programmatically. Built with [Nitro Modules](https://github.com/mrousavy/nitro).

## Installation

```bash
npm install @qnrjs42/react-native-nitro-restart
# or
yarn add @qnrjs42/react-native-nitro-restart
# or
pnpm add @qnrjs42/react-native-nitro-restart

pnpm add -D react-native-nitro-modules
```

Then run pod install for iOS:

```bash
cd ios && pod install
```

## Usage

```typescript
import { restartApp, exitApp } from '@qnrjs42/react-native-nitro-restart';

// Restart the app
restartApp();

// Exit the app
exitApp();
```

That's it.

## API

### `restartApp()`

Restarts your React Native app.

- iOS: Uses React Native's built-in reload mechanism
- Android: Relaunches the main activity with a fresh task

### `exitApp()`

Exits the application.

- iOS: Suspends and exits after 0.5s
- Android: Kills the process cleanly

## Examples

### Restart after language change

```typescript
import { restartApp } from '@qnrjs42/react-native-nitro-restart';
import AsyncStorage from '@react-native-async-storage/async-storage';

const changeLanguage = async (lang: string): Promise<void> => {
  await AsyncStorage.setItem('language', lang);
  restartApp();
};
```

### Exit on logout

```typescript
import { exitApp } from '@qnrjs42/react-native-nitro-restart';

const logout = async (): Promise<void> => {
  await clearUserData();
  exitApp();
};
```

## Requirements

- React Native >= 0.70
- iOS >= 13.0
- Android >= 21
- react-native-nitro-modules (peer dependency)

## Why Nitro?

Nitro provides direct native calls without the React Native bridge, making this library fast and type-safe with zero overhead.

## License

MIT