open-index/open-npm huggingface dataset:
npm package: @lancejpollard/kit
Description: See the [lancejpollard.com](https://github.com/lancejpollard/lancejpollard.com) repo for an example on how it is used.
Latest version: 0.1.14

# Kit.js

See the
[lancejpollard.com](https://github.com/lancejpollard/lancejpollard.com)
repo for an example on how it is used.
npm package: @lancejpollard/md2docx
Description: <br/> <br/> <br/> <br/> <br/> <br/> <br/>
Latest version: 0.0.4


<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>

<h3 align='center'>@lancejpollard/md2docx.js</h3>
<p align='center'>
  Mardown to DOCX in TypeScript
</p>

<br/>
<br/>
<br/>

## Status

This is a new project and I [need some help](https://github.com/dolanmiu/docx/discussions/2589) with styling it to look nice, haven't fully figured out the `docx` API. But it is a pretty good start!

## Installation

```
pnpm install @lancejpollard/md2docx
```

## Usage

```ts
import md2docx from '@lancejpollard/md2docx'
import fs from 'fs'

md2docx(
  `# Hello World

I am some text.

- a list item
- a second list item

I am a [link](https://google.com). And _italics_ and **bold**.

_**bold with italics**_.

- nested list
  - list item
  - numbered
    1. one
    2. two

1. a
2. b

- **some bold _italics_**

## **h2 _italics_** and more

`,
  'buffer',
).then(buffer => {
  fs.writeFileSync('test/md.docx', buffer)
})
```

## License

MIT
npm package: @lancejpollard/normalize-ast.js
Description: Here are the transformation goals:
Latest version: 0.0.3


# Normalize a JS AST

Here are the transformation goals:

```js
// before
function x() {
  console.log('foo')
}

// after
// (and hoists the function to the top of the scope)
const x = function() {
  console.log('foo')
}
```

```js
// before
const x = () => {
  this...
}

// after
const _this123 = this
const x = function() {
  _this123...
}
```

```js
// before
const x = function x() {

}

// after
const x = function() {

}
```

```js
// before
a ? b() : c()

// after
if (a) {
  b()
} else {
  c()
}
```

All parameters should be flattened to variable expressions.

```js
// before
if (x()) {
  y()
}

// after
const tmp123 = x()
if (tmp123) {
  y()
}
```

```js
// before
const { a, b } = z

// after
const a = z.a
const b = z.b
```

```js
// before
if ((match = x = matchers.rgb.exec(color))) {
  x += 1
}

// after
const tmp = matchers.rgb.exec(color)
x = tmp
match = tmp
if (tmp) {
  x += 1
}
```