Open dszymon opened 1 month ago
Preparing npm tarball without spawning a new process or using libnpmpack
Expose bun pm pack to the userland code
bun pm pack
import { pack } from 'bun:pm'; const { pack } = require('bun:pm'); Bun.PackageManager.pack(path: string): Promise<Uint8Array>
spawning a new process or libnpmpack
libnpmpack
bun:pm is interesting idea it can helps for example with bumps/publishing and access to package.json file
bun:pm
What is the problem this feature would solve?
Preparing npm tarball without spawning a new process or using libnpmpack
What is the feature you are proposing to solve the problem?
Expose
bun pm pack
to the userland codeWhat alternatives have you considered?
spawning a new process or
libnpmpack