🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

pear-pack

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pear-pack

Bundle and prebuild generation for Pear.

latest
npmnpm
Version
1.3.0
Version published
Weekly downloads
39
69.57%
Maintainers
1
Weekly downloads
 
Created
Source

pear-pack

Bundle and prebuild generation for Pear.

API

pearPack(drive, opts) -> { bundle <Buffer>, prebuilds <Map <key, <Buffer>> }

Creates a bundle buffer and Map of prebuild buffers.

Options

  • target - target host architecture, may be array of architectures
  • builtins - array of builtins
  • mount - bundle mount point
  • prebuildsPrefix - prefix for prebuild paths
  • assetsPrefix - prefix for asset paths
  • entry - default /boot.js, bundle entrypoint
  • conditionals - default: ['node', 'bare'] additional prefixed conditionals
  • extensions - default: ['.node', '.bare'] supported addon extensions

License

Apache 2.0

FAQs

Package last updated on 31 Jan 2026

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