open-index/open-npm huggingface dataset:
npm package: @sgpinkus/my-vue-router
Description: A very simple Vue router
Author: sgpinkus
Latest version: 1.3.3

# MY-VUE-ROUTER
Simple ~300LOC alternative to vue-router, with many fewer features.

  - Simple flat routing table - no nested.
  - No entry guards, no async, no name views, no ...
  - Using path-to-regexp for param parsing.
  - Works transparently with #fragments (unlike vue-router).

# USAGE

**main.ts**

```
import { createRouter } from './my-vue-router'
import HomePage from '@/pages/Home.vue';
import ContactPage from './pages/Contact.vue';
import NotFoundPage from './pages/NotFound.vue';
import App from './App.vue';

const app = createApp(App);

const routes = [
  {
    path: '/',
    name: 'home',
    component: HomePage,
  },
  {
    path: '/contact',
    name: 'contact',
    component: ContactPage,
  },
  {
    path: '/*pathMatch',
    name: 'not-found',
    component: NotFoundPage,
    routeProp: true,
  },
];

app.use(createRouter(routes));
```

**xxx.vue**

```
...
// Template components:
<route-view></route-view>
<route-link :path='/home'>HOME</route-link>
<route-link :name='contact'>CONTACT</route-link>
...
// Programatic routing:
$router.dispatch({ name: 'contact' });
```
npm package: @sgpinkus/remark-emoji
Description: Emoji+emoticon transformer plugin for Remark
Latest version: 4.2.4

# remark-emoji
*Forked from remark-emoji and rewritten for better emoticon parsing. API Compatible.*

This is a [remark](https://github.com/wooorm/remark) plugin to replace `:emoji:` to real UTF-8 emojis in text.

## Demo
You can find a demo in the following [Codesandbox](https://codesandbox.io/s/remark-emoji-example-osvyi).

## Usage

```
remark().use(emoji [, options]);
```

```javascript
const remark = require('remark');
const emoji = require('remark-emoji');

const doc = 'Emojis in this text will be replaced: :dog: :+1:';
console.log(remark().use(emoji).process(doc).contents);
// => Emojis in this text will be replaced: 🐶 👍
```

## Options

### `options.padSpaceAfter`
Setting to `true` means that an extra whitespace is added after emoji. This is useful when browser handle emojis with half character length and following character is hidden. Default value is `false`.

### `options.emoticon`
Setting to `true` means that [emoticon](https://www.npmjs.com/package/emoticon) shortcodes are supported (e.g. :-) will be replaced by 😃). Default value is `false`.

## License
Distributed under [the MIT License](LICENSE).