open-index/open-npm huggingface dataset:
npm package: @lunatechs/lunatea-napkin
Description: A wrapper around prettier's parser for transformation required by LunaTea
Author: inc0der | LunaTechs
Latest version: 2.1.0

<p align="center">
  <img src="https://raw.githubusercontent.com/LunaTechsDev/LunaTeaNapkin/master/logo.png" alt="luna-tea-napkin" width="500" href="https://github.com/lunatechsdev/lunateanapkin/" />
</p>

This is the prettier parser used to transform and clean the JavaScript output from LunaTea plugins. LunaTea plugins are written using the Haxe programming language, the compiled JavaScript can have minor style issues that need to be fixed with LunaTea Napkin.

## What modifications does it make to the code?

* Removes empty classes generated by Haxe or LunaTea

* Changes bracket notation prototype access to dot notation, in both variable expressions and member expressions

* Removes LunaTea modifications like the empty LTGlobals object access

* Finally, it uses prettier's parser to clean the output following its opinionated code style.

## Installation

```bash
npm install --save-dev @lunatechs/lunatea-napkin
```

## How to Use

By default LunaTea Napkin will convert all .js files in the `dist` folder in the root of your project when you run it.

```bash
npx napkin 
```

### Custom target directory
If you want to choose a custom directory, use the path argument

```bash
npx napkin --path=./game/js/plugins/
```

### Disable Prettier Styling
Sometimes you may only want to perform the transformation required after compiling a plugin with LunaTea.

```bash
npx napkin --no-pretty
```
npm package: @lunaticmuch/front-matter-manipulator
Description: A utility for parsing and manipulating documents with Front Matter
Author: Chris D. Macrae
Latest version: 2.0.2

# Front Matter Manipulator

> A utility for parsing and manipulating documents with Front Matter. Get the fields, values for any collection of documents. Bulk update, delete, or rename fields.

## Getting Started

This utility can be used as a Command Line Interface, or as an import in your scripts.
The node package is now pure ESM. Consider this when using your package because you might need a suitable version of typescript or node.

It has two primary uses:

- Parsing one or many files to discover the content model
- Updating the content model of one or many files

This is done through the following commands:

- `fields`: finds all fields in specified files
- `values`: finds all values for specified fields in specified files
- `update`: update the value for specified field in specified files
- `rename`: update the name of specified field in specified files
- `drop`: delete the specified fields from the specified files
- `convert`: convert any field to an array

## Installation

### Install CLI

Run the following command:

```shell
npm install -g @lunaticmuch/front-matter-manipulator
```

### Install in current directory for use in scripts

```shell
npm install @lunaticmuch/front-matter-manipulator --save-dev
```

## CLI (Command Line Interface)

Front Matter Manipulator can be used on the command line to perform operations on fields.

See the documentation for each action:

- [Fields](https://chrisdmacrae.github.io/front-matter-manipulator/cli#fields)
- [Values](https://chrisdmacrae.github.io/front-matter-manipulator/cli#values)
- [Update](https://chrisdmacrae.github.io/front-matter-manipulator/cli#update)
- [Rename](https://chrisdmacrae.github.io/front-matter-manipulator/cli#rename)
- [Drop](https://chrisdmacrae.github.io/front-matter-manipulator/cli#drop)
- [Convert](https://chrisdmacrae.github.io/front-matter-manipulator/cli#convert)

## Usage in node scripts/packages

Front Matter Manipulator can be used on in javascript files to perform advanced parsing or manipulation of fields.

See the documentation for each action:

- [Fields](https://chrisdmacrae.github.io/front-matter-manipulator/scripts#fields)
- [Values](https://chrisdmacrae.github.io/front-matter-manipulator/scripts#values)
- [Update](https://chrisdmacrae.github.io/front-matter-manipulator/scripts#update)
- [Rename](https://chrisdmacrae.github.io/front-matter-manipulator/scripts#rename)
- [Drop](https://chrisdmacrae.github.io/front-matter-manipulator/scripts#drop)
- [Convert](https://chrisdmacrae.github.io/front-matter-manipulator/scripts#convert)

## Original Author

This package has been [originally developed](https://github.com/chrisdmacrae/front-matter-manipulator) by [Chris D. Macrae](https://github.com/chrisdmacrae).
As no activity has been happening recentely and PRs are not getting reviewed and merged, I am resharing it, in the quest to maintain it working and updated.