A simple JavaScript module to parse the contents of Packwiz index files. https://packwizjs.csw.im/
Find a file
Renovate b6bcd4c207
All checks were successful
Actions / Build and Push Documentation (push) Successful in 16s
Update dependency typedoc-plugin-markdown to v4.4.2 (#9)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [typedoc-plugin-markdown](https://typedoc-plugin-markdown.org) ([source](https://github.com/typedoc2md/typedoc-plugin-markdown/tree/HEAD/packages/typedoc-plugin-markdown)) | devDependencies | patch | [`4.4.1` -> `4.4.2`](https://renovatebot.com/diffs/npm/typedoc-plugin-markdown/4.4.1/4.4.2) |

---

### Release Notes

<details>
<summary>typedoc2md/typedoc-plugin-markdown (typedoc-plugin-markdown)</summary>

### [`v4.4.2`](https://github.com/typedoc2md/typedoc-plugin-markdown/blob/HEAD/packages/typedoc-plugin-markdown/CHANGELOG.md#442)

[Compare Source](https://github.com/typedoc2md/typedoc-plugin-markdown/compare/typedoc-plugin-markdown@4.4.1...typedoc-plugin-markdown@4.4.2)

##### Patch Changes

-   Handle duplicate symbols with leading underscores
-   Correctly flag optional nested parameters ([#&#8203;765](https://github.com/typedoc2md/typedoc-plugin-markdown/issues/765)).
-   Introduced ja theme translations as per TypeDoc 0.27.7.
-   Expose anchors to relative document links (thanks [@&#8203;matus-vacula](https://github.com/matus-vacula)).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [x] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNjMuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE2My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #9
Co-authored-by: Renovate <renovate@csw.im>
Co-committed-by: Renovate <renovate@csw.im>
2025-02-10 06:41:02 -05:00
.forgejo/workflows fix docs build again 2025-02-09 16:19:28 -06:00
packwiz add authors and description to the packwiz example pack 2025-02-09 09:59:14 -06:00
src improved some provider comments 2025-02-10 05:27:52 -06:00
.editorconfig add src 2025-02-07 22:49:49 -06:00
.envrc add src 2025-02-07 22:49:49 -06:00
.gitignore docs stuff 2025-02-09 16:15:10 -06:00
.neoconf.json add src 2025-02-07 22:49:49 -06:00
bun.lock Update dependency typedoc-plugin-markdown to v4.4.2 (#9) 2025-02-10 06:41:02 -05:00
eslint.config.js formatting 2025-02-10 05:26:57 -06:00
flake.lock add src 2025-02-07 22:49:49 -06:00
flake.nix add src 2025-02-07 22:49:49 -06:00
LICENSE Initial commit 2025-02-07 21:23:32 -05:00
package.json Update dependency typedoc-plugin-markdown to v4.4.2 (#9) 2025-02-10 06:41:02 -05:00
README.md correct npm install instructions 2025-02-09 17:26:54 -06:00
renovate.json finish package file & format 2025-02-09 16:50:27 -06:00
tsconfig.json stricter flags 2025-02-09 17:54:01 -06:00
typedoc.json finish package file & format 2025-02-09 16:50:27 -06:00

PackwizJS

Documentation

A simple JavaScript module to parse the contents of Packwiz index files.

Installation

You can install PackwizJS with your package manager of choice.

npm

npm install --save packwizjs

pnpm

pnpm add packwizjs

yarn

yarn add packwizjs

bun

bun add packwizjs

Usage

See the documentation for more information.

Basic Example

> import { parsePackwiz } from "packwizjs";
> const packwizFile = await parsePackwiz("./packwiz/pack.toml")
Packwiz {
  location: Resource { path: 'packwiz/pack.toml' },
  index: { // The index file is automatically parsed alongside the pack.toml file
    location: Resource { path: 'packwiz/index.toml' },
    hash: '6ce48b376540c840b9c2c1eaedbdf64f3b0e1203888ea644fc5d8fff66377c18',
    hashFormat: 'sha256',
    files: [
      [IndexFileEntry],
      [IndexFileEntry],
      [IndexFileEntry],
      [IndexFileEntry]
    ]
  },
  name: 'PackwizJS Testing Pack',
  packFormat: 'packwiz:1.1.0',
  authors: [ 'cswimr', 'GalacticFactory' ],
  description: 'PackwizJS Testing Pack',
  version: '1.0.0',
  versions: {
    minecraft: '1.21.4',
    fabric: '0.16.10',
    forge: undefined,
    neoforge: undefined,
    quilt: undefined,
    liteloader: undefined
  }
}
> await packwizFile.index.files[2].parse()
{
  name: 'Fabric API',
  filename: 'fabric-api-0.115.1+1.21.4.jar',
  side: 'both',
  provider: ModrinthProvider {
    hash: 'd5e9f87679b5edc9786e651fc481f8861a9cf53ed381890a1cb5e129222d6c5fa99f06045007f8e1fba02da686cdb6db2d99b334a1d23881cb56dfa199932eea',
    hashFormat: 'sha512',
    url: Resource {
      path: 'https://cdn.modrinth.com/data/P7dR8mSH/versions/UnrycCWP/fabric-api-0.115.1%2B1.21.4.jar'
    },
    modId: 'P7dR8mSH',
    versionId: 'UnrycCWP'
  },
  isOptional: false,
  isDefault: true,
  description: undefined
}