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

Made by Antonio Ramirez

pear-stage-next

1.2.5

@mafintosh

npmSnykSocket
Downloads:0
$ npm install pear-stage-next
DailyWeeklyMonthlyYearly

pear-stage-next

Stage a local folder to a Hyperdrive.

Install

npm install pear-stage-next

CLI

pear-stage-next [flags]
FlagDescription
--touchCreate a new staging key and print its pear link
--key <key>Target Hyperdrive key to stage into
--target <path>Local directory to stage (defaults to cwd)
--storage <storage>Path to Corestore storage
--seed-time <ms>After staging, seed the drive over Hyperswarm for this many milliseconds
--versionPrint the version

Workflow

1. Create a staging key

pear-stage-next --storage ./store --touch
# pear://abc123...

2. Stage a local folder into the drive

pear-stage-next --storage ./store --key pear://... --target ./my-app

3. Stage and seed

pear-stage-next --storage ./store --key abc123... --target ./my-app --seed-time 30000

License

Apache-2.0