npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

pear-pack

1.3.0

@davidmarkclements

npmSnykSocket
Downloads:39
$ npm install pear-pack
DailyWeeklyMonthlyYearly

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