{"name":"surge","version":"0.52.0","keywords":["surge","harp","static","deploy","publish","hosting","cdn","cli","web","jamstack","frontend","spa","html","static-hosting","custom-domain","ssl","ci","agent"],"author":{"name":"Brock Whitten","email":"brock@chloi.io"},"license":"ISC","_id":"surge@0.52.0","maintainers":[{"name":"sintaxi","email":"brock@sintaxi.com"}],"homepage":"https://surge.sh","bugs":{"url":"https://github.com/sintaxi/surge/issues"},"bin":{"surge":"bin/surge"},"dist":{"shasum":"3058402c13fcd465baee71f5cf6089e99fd13a1d","tarball":"http://registry-npm.ywwl.com/surge/download/surge-0.52.0.tgz","fileCount":70,"integrity":"sha512-5O1NzeGU5qcwvbjSbfLh9eBJppC3kCW6yLp+HviZgWKSxk/syl+be9cJOYGaalyOhcVLlCN1IbXJ+whR/mbXUA==","signatures":[{"sig":"MEUCICbb3Cb+9GuBhgvefFEvspqmbTV3RR8FIKlMLRptM4H4AiEAieM63CQf9gF3lXWMq/DEd5uideYVTfjjzmKR3/9Uzag=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQD2vewDR9+xX3bFwRUMtJfS0ORdSMk4aFW5VQF/imPu7wIhAPMO0YKHpGPhKSuk4GMG9TPV+CbC0FSViK6/CHotCDxp","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":308587,"size":63757,"noattachment":false,"key":"/surge/-/surge-0.52.0.tgz"},"main":"./lib/surge.js","ignore":["test"],"engines":{"node":">=18.13"},"gitHead":"7729225129d6744b2f3fd68befe2dc5fcfd0f9b0","scripts":{"test":"npm run test:unit && mocha ./test/basic.js ./test/actions.js -t 60000","version":"npm publish","test:unit":"mocha ./test/unit -t 8000","preversion":"npm test","test:local":"ENDPOINT='surge.lvh.me' mocha ./test/basic -t 4000","postversion":"git push --no-verify && git push --tags --no-verify && git push --no-verify"},"_npmUser":{"name":"sintaxi","email":"brock@sintaxi.com"},"overrides":{"diff":"8.0.3","serialize-javascript":"7.0.7"},"repository":{"url":"git+https://github.com/sintaxi/surge.git","type":"git"},"_npmVersion":"10.9.8","description":"Static web publishing. One command from a directory or HTML file to a live URL, with free custom domains and SSL.","directories":{},"_nodeVersion":"22.23.2","dependencies":{"read":"1.0.5","netrc":"0.1.4","colors":"1.4.0","ignore":"7.0.9","xbytes":"1.9.1","moniker":"0.1.2","prompts":"2.4.2","minimist":"1.2.8","progress":"2.0.3","chartscii":"4.0.3","is-domain":"0.0.1","surge-sdk":"0.30.0","cli-table3":"0.6.5","surge-ignore":"0.3.0","surge-stream":"0.30.0","url-parse-as-address":"1.0.0","human-readable-numbers":"0.9.5"},"_hasShrinkwrap":false,"devDependencies":{"nixt":"0.5.1","mocha":"12.0.2","should":"13.2.3"},"_npmOperationalInternal":{"tmp":"tmp/surge_0.52.0_1793052470920_0.9981556479330695","host":"s3://npm-registry-packages-npm-production"},"readme":"\n<h1 align=\"center\"><code>surge</code> - static web publishing</h1>\n\nOne command from a directory, or a single HTML file, to a live URL. Free custom domains and SSL certificates on every plan, served from 10 regions, with over 18 million deployments published.\n\n![surge-help](https://github.com/user-attachments/assets/5b3e7e92-008e-48b6-9c61-dc4cbf1bf22c)\n\n### Publish\n\n    npx surge <path> <domain>\n\n<!-- steno:publish-pair svg -->\n![surge ./dist lucid-example.surge.sh](./steno-publish-pair.svg)\n<!-- /steno:publish-pair -->\n\nYour project is now live in `10` regions globally! View it at `https://lucid-example.surge.sh`...\n\n![surge-publish-results](https://github.com/user-attachments/assets/9bf53934-de53-4307-98b3-b90ab07c167e)\n\nThe first run asks for an email and password, which creates your account. To keep the command around, install it globally:\n\n    npm install -g surge\n\n### A single HTML file\n\n    surge page.html my-page.surge.sh\n\nThe file is published as the domain's `index.html`. If the page uses images or stylesheets next to it, surge lists them; publish the folder to include them.\n\n### Custom domains\n\nPublish to any domain you own, then point its DNS at Surge. The certificate is provisioned for you, free.\n\n    surge ./dist example.com\n\nSee [custom domains](https://surge.sh/docs/platform/custom-domains).\n\n### CI and agents\n\nMint a token on your own machine, then pass it with `--token` wherever surge runs. No login step, no prompts:\n\n    surge tokens add --domain example.com -m \"ci\"\n    npx surge ./dist example.com --token <token>\n\nThe `SURGE_TOKEN` environment variable works too, and keeps the token out of shell history and logs. A token can be scoped to one domain. Publishing has [limits](https://surge.sh/docs/cli/publishing#publishing-limits) on every plan; a rate-limited publish answers with how long to wait. See [CI & automation](https://surge.sh/docs/cli/automation) for GitHub Actions and other runners.\n\n### Documentation\n\n[surge.sh/docs](https://surge.sh/docs/) covers publishing, revisions and rollbacks, collaborators, DNS, SSL, and the [API](https://surge.sh/docs/api/), which can do everything the CLI does.\n\n### License\n\nCopyright © 2012-2026 Chloi Inc. Released under the ISC License.\n\n\"Surge\" is a trademark of Chloi Inc.\n","publish_time":1793052471047,"_cnpm_publish_time":1793052471047,"dist-tags":{"latest":"0.55.0"}}