open-index/open-npm huggingface dataset:
npm package: @mhealth/cordova-plugin-exit
Description: Cordova plugin for exiting the app programmatically for Android, iOS and WP
Author: Rakesh Walisheter
Latest version: 1.0.3
Deprecated: false

# Cordova Plugin Exit
[![npm](https://img.shields.io/npm/v/cordova-plugin-exit.svg?style=flat-square)](https://www.npmjs.com/package/cordova-plugin-exit)
[![npm](https://img.shields.io/npm/dm/cordova-plugin-exit.svg?style=flat-square)](https://www.npmjs.com/package/cordova-plugin-exit)
[![license](https://img.shields.io/github/license/cakuki/cordova-plugin-exit.svg?style=flat-square)](LICENSE)

Allows to exit from Cordova app programmatically.

## Platforms

- Android
- iOS
- Windows Phone (not tested)

## Usage

```js
    cordova.plugins.exit();
```

## Source

This plugin is just a bit polished (package/plugin name changed for convention) version of this project:

https://github.com/joycorp/cordova-plugin-exitapp

Which is a refactored collection of these plugins/projects:

- Android & WP: https://github.com/gaqzi/cordova-plugin-exitapp
- iOS: https://github.com/FRD49/iOS-ExitApp
npm package: @mheap/action-router
Description: Route your GitHub Actions events to the correct handler
Author: Michael Heap
Latest version: 1.2.2

# Action Router

Handle multiple events in your GitHub Action with ease!

## Installation

```bash
npm install @mheap/action-router --save
```

## Usage

The router will look for keys that match the event type e.g. `pull_request` and the subtype e.g. `opened` and execute any functions listed.

If a pull request was opened with the following configuration, `pull_request` and `pull_request.opened` would run.

```javascript
const router = require("@mheap/action-router");
const allPrAction = require("./allPrs");
const labelAction = require("./label");
const openAction = require("./open");

router({
  "pull_request": [allPrAction],
  "pull_request.opened": [openAction],
  "pull_request.labeled": [labelAction]
});
```

You can even run multiple methods in response to an event:

```javascript
router({
  "pull_request.opened": [
    openAction, 
    () => { console.log("This runs too") }
  ]
});
```

If you need to pass any data to each called method, you can specify it as the second parameter in `router`:

```javascript
router({
  "pull_request.opened": [
    openAction,
    () => { console.log("This runs too") }
  ]
}, [someVar, "strings-too"]);
```
npm package: @mheedev/rollup-plugin-markdown
Description: Complete Markdown parser for modern static websites
Author: @mheedev
Latest version: 0.0.6

# rollup-plugin-markdown

Complete Markdown parser specifically built for modern staticly exported websites. It does not require any dependencies to be included in your build, all styles are inlined into the output HTML.

## Dependenices

This plugin uses the following dependencies:
| plugin | purpose |
| ------ | ------- |
| [front-matter](https://github.com/jxson/front-matter) | Parsing of Markdown file attributes |
| [markdown-it](https://github.com/markdown-it/markdown-it) | Render Markdown as HTML |
| [shiki](https://github.com/octref/shiki) | Inline extendable syntax highlighting |

## Usage

```bash
npm i --save-dev @mheedev/rollup-plugin-markdown
# yarn add -D @mheedev/rollup-plugin-markdown
```

```js
// rollup.config.js

import markdownPlugin from '@mheedev/rollup-plugin-markdown';

export default {
  plugins: [
    markdownPlugin(),
    // ...
  ],
  /// ...
}
```

The plugin will parse any `.md` files that you include into your project, parse any frontmatter and apply any inline syntax highlighting that you need using the standard code block syntax for Markdown parsers:

````md
---
title: 'Hello world'
author: 'dev'
---

# Hello world

```js
console.log('My first code block!');
```

````

## Theming

You can choose one of the [themes supported by Shiki](https://github.com/octref/shiki/tree/master/packages/themes). The default theme is [nord](https://github.com/arcticicestudio/nord-visual-studio-code).

To set a theme, you can pass it into the theme options like so:

```js
// rollup.config.js

import markdownPlugin from '@mheedev/rollup-plugin-markdown';

export default {
  plugins: [
    markdownPlugin({ theme: 'monokai' }),
    // ...
  ],
  /// ...
}
```

## Enable features of markdown-it

This package uses markdown-it internally to process your Markdown input.

Therefore it is possible to pass any configuration options to it using the `markdown` key:

```js
// rollup.config.js

import markdownPlugin from '@mheedev/rollup-plugin-markdown';

export default {
  plugins: [
    markdownPlugin({
      theme: 'monokai',
      markdown: {
        typographer: true,
        // ... pass any additional options to markdown-it here.
      }
    }),
    // ...
  ],
  /// ...
}
```

To see a full list of options that can be provided to markdown-it, please refer to their [documentation](https://github.com/markdown-it/markdown-it)

## Changelog

### 0.0.5

- Pass additional options to markdown-it

### 0.0.1

- Initial release

### 0.0.4

- Added [theme selection](https://github.com/mheedev/rollup-plugin-markdown/tree/master#Theming) to the plugin options

## Credits

- Inspired to include Shiki based on a [post by swyx](https://www.swyx.io/writing/svelte-static/)

- This project was heavily inspired by Jack Franklin's [rollup-plugin-markdown](https://github.com/jackfranklin/rollup-plugin-markdown)

## License

MIT &copy; [Ricardo van Hoepen](https://github.com/mheedev)