{"name":"surge","version":"0.44.6","keywords":["surge","harp","static","deploy","publish","hosting","cdn","cli","web","jamstack","frontend","spa"],"author":{"name":"Brock Whitten","email":"brock@chloi.io"},"license":"ISC","_id":"surge@0.44.6","maintainers":[{"name":"sintaxi","email":"brock@sintaxi.com"}],"homepage":"https://github.com/sintaxi/surge#readme","bugs":{"url":"https://github.com/sintaxi/surge/issues"},"bin":{"surge":"bin/surge"},"dist":{"shasum":"461a86961eba9e09b32a80cb38cb70acc9ff7d1c","tarball":"http://registry-npm.ywwl.com/surge/download/surge-0.44.6.tgz","fileCount":67,"integrity":"sha512-4dlMAYuW17LNrofEOu+w2YepFOmR9ouaD6SsZsYoV8GAWLomJmz1rOXMQJ9TbaC7IEihkL2SvTjh+ur+3qh2uw==","signatures":[{"sig":"MEYCIQC9GSxTuJk5dryRg7aKhRjKMND1CBtfpgsaBFOkdwe9dwIhAIP5exjsV0vL4AMysKQ4IDzziI6NrA0mxdbW6xaTTjT2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCikqAgUflV1wUdIz40noAdTE/2uTiSyRplVkmf3NCsHAIgdYNbQXYjPX2BrNh5Z+16Mr9IY644LObvjyR1QbN5L6o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":269628,"size":52432,"noattachment":false,"key":"/surge/-/surge-0.44.6.tgz"},"main":"./lib/surge.js","ignore":["test"],"engines":{"node":">=18.13"},"gitHead":"a3fc7ffcfb13eeec6460ef1e1a1058dc1cf7cfb5","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","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.21.1","cli-table3":"0.6.5","surge-ignore":"0.3.0","surge-stream":"0.21.1","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.44.6_1792006410180_0.5025325065621973","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":1792006410274,"_cnpm_publish_time":1792006410274,"dist-tags":{"latest":"0.55.0"}}