Skip to content

Create VPMPackage (VRChat Package) from Node.js, written in TypeScript. No platform dependency.

License

Notifications You must be signed in to change notification settings

natsuneko-laboratory/vpmpackage

Repository files navigation

@natsuneko-laboratory/vpmpackage

Create a VPMPackage from Node.js, written in TypeScript. No platform dependency. No additional instructions.

Requirements

  • Node.js >= 16

Install

$ yarn add @natsuneko-laboratory/vpmpackage

Usage

import { archive } from "@natsuneko-laboratory/vpmpackage";

await archive({
  name: "cat.natsuneko.asset-lens", // package name that archived as ...
  package: "Assets/NatsunekoLaboratory/AssetLens/package.json", // package.json path of VPM package
  dist: "./dist/package.zip", // output filename
});

Development

# prepare
$ yarn install

# publish
$ npm publish --access public

License

MIT by @6jz