New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

preview-pkg

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

preview-pkg

Publish and share local packages to a preview url easily Just like [pkg.pr.new](https://pkg.pr.new) but local

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

Preview Package

Publish and share local packages to a preview url easily Just like pkg.pr.new but local

Usage

First, login using your Github account

pnpx preview-pkg login # Used Github for authentication

Then, publish your packages to a preview url

pnpx preview-pkg publish # Tries to publish current directory's package
pnpx preview-pkg publish 'packages/*' # Publish all packages in the packages directory
pnpx preview-pkg publish 'packages/*' --version custom-version # Publish all packages in the packages directory with a custom version (only non semantic versions are supported)
pnpx preview-pkg publish 'packages/*' --packer bun # Use a custom packer
pnpx preview-pkg publish 'packages/*' 'apps/*' # Specify multiple paths

FAQs

Package last updated on 02 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts