open-index/open-npm huggingface dataset:
npm package: @maartenbusstra/mobiledoc-markdown-renderer
Description: Renders mobiledoc input to markdown (string) output
Author: Matt Allan
Latest version: 0.3.3

## Mobiledoc Markdown Renderer

This is a markdown renderer for the [Mobiledoc format](https://github.com/bustlelabs/mobiledoc-kit/blob/master/MOBILEDOC.md) used
by [Mobiledoc-Kit](https://github.com/bustlelabs/mobiledoc-kit).

To learn more about Mobiledoc cards and renderers, see the **[Mobiledoc Cards docs](https://github.com/bustlelabs/mobiledoc-kit/blob/master/CARDS.md)**.

The renderer is a small library intended for use in servers that are building
markdown documents. It may be of limited use inside browsers as well.

### Usage

```javascript
var mobiledoc = {
  "version": "0.3.0",
  "atoms": [],
  "cards": [],
  "markups": [
    [
      "strong"
    ]
  ],
  "sections": [
    [
      1,
      "p",
      [
        [
          0,
          [],
          0,
          "Hello "
        ],
        [
          0,
          [
            0
          ],
          1,
          "world!"
        ]
      ]
    ]
  ]
};
var renderer = new MobiledocMarkdownRenderer({cards: []});
var rendered = renderer.render(mobiledoc);
console.log(rendererd.result); // "Hello **world!**"
```
The Renderer constructor accepts a single object with the following optional properties:
  * `cards` [array] - The list of card objects that the renderer may encounter in the mobiledoc
  * `cardOptions` [object] - Options to pass to cards when they are rendered
  * `unknownCardHandler` [function] - Will be called when any unknown card is enountered
  * `unknownAtomHandler` [function] - Will be called when any unknown atom is enountered

The return value from `renderer.render(mobiledoc)` is an object with two properties:
  * `result` [string] - The rendered result
  * `teardown` [function] - When called, this function will tear down the rendered mobiledoc and call any teardown handlers that were registered by cards when they were rendered

### Tests

Command-line:

 * `npm test`

Or in the browser:

 * `broccoli serve`
 * visit http://localhost:4200/tests


### Credits

This library is based on the [mobiledoc-html-renderer](https://github.com/bustlelabs/mobiledoc-html-renderer) by Cory Forsyth.
npm package: @maartenvn/nuxt-apollo
Description: Nuxt 3 module for Vue Apollo GraphQL.
Author: Maarten Van Neyghem
Latest version: 0.0.13

# Nuxt Apollo

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![License][license-src]][license-href]
[![Nuxt][nuxt-src]][nuxt-href]

Nuxt 3 module for Vue Apollo GraphQL with Codegen support.

- [✨ &nbsp;Release Notes](/CHANGELOG.md)

## Quick Setup

1. Add `@maartenvn/nuxt-apollo` dependency to your project

```bash
# Using pnpm
pnpm add -D @maartenvn/nuxt-apollo

# Using yarn
yarn add --dev @maartenvn/nuxt-apollo

# Using npm
npm install --save-dev @maartenvn/nuxt-apollo
```

2. Add `@maartenvn/nuxt-apollo` to the `modules` section of `nuxt.config.ts`

```js
export default defineNuxtConfig({
	modules: ["@maartenvn/nuxt-apollo"],
});
```

That's it! You can now use Nuxt Apollo in your Nuxt app ✨

## Development

```bash
# Install dependencies
npm install

# Generate type stubs
npm run dev:prepare

# Develop with the playground
npm run dev

# Build the playground
npm run dev:build

# Run ESLint
npm run lint

# Run Vitest
npm run test
npm run test:watch

# Release new version
npm run release
```

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/@maartenvn/nuxt-apollo/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-version-href]: https://npmjs.com/package/@maartenvn/nuxt-apollo
[npm-downloads-src]: https://img.shields.io/npm/dm/@maartenvn/nuxt-apollo.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-downloads-href]: https://npmjs.com/package/@maartenvn/nuxt-apollo
[license-src]: https://img.shields.io/npm/l/@maartenvn/nuxt-apollo.svg?style=flat&colorA=18181B&colorB=28CF8D
[license-href]: https://npmjs.com/package/@maartenvn/nuxt-apollo
[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js
[nuxt-href]: https://nuxt.com
npm package: @maartenvn/nuxt-apollo-codegen
Description: GraphQL CodeGen Generator for interacting with Nuxt Apollo
Author: Maarten Van Neyghem
Latest version: 0.0.13

# Nuxt Apollo CodeGen

[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![License][license-src]][license-href]
[![Nuxt][nuxt-src]][nuxt-href]

CodeGen package for @maartenvn/nuxt-apollo and @vue/apollo-composable.

- [✨ &nbsp;Release Notes](/CHANGELOG.md)

<!-- Badges -->

[npm-version-src]: https://img.shields.io/npm/v/@maartenvn/nuxt-apollo-codegen/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-version-href]: https://npmjs.com/package/@maartenvn/nuxt-apollo-codegen
[npm-downloads-src]: https://img.shields.io/npm/dm/@maartenvn/nuxt-apollo-codegen.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-downloads-href]: https://npmjs.com/package/@maartenvn/nuxt-apollo-codegen
[license-src]: https://img.shields.io/npm/l/@maartenvn/nuxt-apollo-codegen.svg?style=flat&colorA=18181B&colorB=28CF8D
[license-href]: https://npmjs.com/package/@maartenvn/nuxt-apollo-codegen
[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js
[nuxt-href]: https://nuxt.com
npm package: @maas/config
Description: Presets for eslint, prettier and typescript.
Latest version: 1.13.0

# ⚙️ Config

Presets for eslint, prettier and typescript.

## Usage

### Prettier

Add a `prettier.config.mjs` file to your root folder:

```js
// prettier.config.mjs
import { prettierPreset } from '@maas/config/prettier-preset.mjs'
export default prettierPreset
```

For projects without Tailwind CSS use:

```js
// prettier.config.mjs
import { prettierPlainPreset } from '@maas/config/prettier-plain-preset.mjs'
export default prettierPlainPreset
```

### Eslint

Add a `eslint.config.mjs` file to your root or project folder:

#### Typescript

```js
// eslint.config.mjs
import { typescriptPreset } from '@maas/config/eslint-typescript-preset.mjs'
export default typescriptPreset
```

#### Vue

```js
import { vuePreset } from '@maas/config/eslint-vue-preset.mjs'
export default vuePreset
```

#### Nuxt

```js
import { nuxtPreset } from '@maas/config/eslint-nuxt-preset.mjs'
export default nuxtPreset
```

### Typescript

Extend your `tsconfig.json`:

#### Vue

```json
{
  "extends": "@maas/config/tsconfig/vue-base.json"
}
```

#### Generic Package

```json
{
  "extends": "@maas/config/tsconfig/package-base.json"
}
```
npm package: @maas/magic-timer
Description: Event based timer for Node.js and the browser
Latest version: 1.2.0

# ⏱️ Magic Timer

Magic Timer is a simple event based timer that runs on the server as well as the browser.

## 📦 Install

```bash
# pnpm
pnpm install @maas/magic-timer

# npm
npm install @maas/magic-timer

# yarn
yarn add @maas/magic-timer
```

## 🪄 Use

```ts
import { MagicTimer } from '@maas/magic-timer'

const timer = new MagicTimer(1000)

timer.on('tick', (time) => {
  console.log(time)
})

timer.start()
```

## 🐛 Found a Bug?

If you see something that doesn't look right, [submit a bug report](https://github.com/magicasaservice/magic-timer/issues/new?assignees=&labels=bug%2Cpending+triage&template=bug_report.yml).

> See it. Say it. Sorted.