{"_id":"now-serve","_rev":"344-65f9d20fe1ab3871e5a1a7f84a246e00","name":"now-serve","dist-tags":{"latest":"0.5.1"},"versions":{"0.1.0":{"name":"now-serve","version":"0.1.0","author":{"name":"leo"},"license":"MIT","_id":"now-serve@0.1.0","maintainers":[{"name":"zeit","email":"team@zeit.co"}],"homepage":"https://zeit.co/now","bugs":{"url":"https://github.com/zeit/now-serve/issues"},"bin":{"ns":"dist/bin/ns"},"dist":{"shasum":"98b0c0da7831e4410df4ef90ee0c59ff87aee83c","tarball":"https://registry.npmjs.org/now-serve/-/now-serve-0.1.0.tgz","integrity":"sha512-mSoNOIBkhTIz64puuSAF7hTqAjy3xGlujlVtTiPTSsAx+yn0c+/e20x0w4IaqstDhWkCvmWlea8Yb2DkIyRMkg==","signatures":[{"sig":"MEQCIEGYlllcyu4R+flMu3AGQ2Kx1Y3JwFtwATmBeeI8vmQ0AiAXwQeSB03wb3ePp+LZOvwkkh2dD+9a7Genv33NzsM/OQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","babel":{"presets":["es2015"]},"files":["dist"],"_shasum":"98b0c0da7831e4410df4ef90ee0c59ff87aee83c","gitHead":"36fde924460c8f0827674d887c7571a4f9ee044f","scripts":{"start":"gulp","prepublish":"gulp transpile"},"_npmUser":{"name":"zeit","email":"team@zeit.co"},"deprecated":"This package is now deprecated! Please read this: https://zeit.co/blog/now-static","repository":{"url":"git+https://github.com/zeit/now-serve.git","type":"git"},"_npmVersion":"2.15.0","description":"Single command static hosting","directories":{},"_nodeVersion":"4.4.2","dependencies":{"md5":"2.1.0","tmp":"0.0.28","walk":"2.3.9","chalk":"1.1.3","hasbin":"1.2.1","fs-extra":"0.28.0","commander":"2.9.0"},"devDependencies":{"gulp":"3.9.1","gulp-babel":"6.1.2","gulp-chmod":"1.3.0","gulp-cached":"1.1.0","babel-preset-es2015":"6.6.0"},"_npmOperationalInternal":{"tmp":"tmp/now-serve-0.1.0.tgz_1461882434173_0.770423767156899","host":"packages-16-east.internal.npmjs.com"}},"0.2.0":{"name":"now-serve","version":"0.2.0","author":{"name":"leo"},"license":"MIT","_id":"now-serve@0.2.0","maintainers":[{"name":"zeit","email":"team@zeit.co"}],"homepage":"https://zeit.co/now","bugs":{"url":"https://github.com/zeit/now-serve/issues"},"bin":{"ns":"dist/bin/ns"},"dist":{"shasum":"22461c47ea4ba934530246eb49cbbc26a4a8daf5","tarball":"https://registry.npmjs.org/now-serve/-/now-serve-0.2.0.tgz","integrity":"sha512-x9Wb1VTwrZRD0P/7eyHRzofBBDyKJjLnfKrRNRshcxzDF7fD24h+spMskEOAh/cWemcwLrwaQLTBmU/WsehjbQ==","signatures":[{"sig":"MEYCIQCSksIlHGWE6ddEBe7R92lB2M7EicW/VWy/2qx5ufmFeAIhAM9eQPfWFruJebzAGeNHbnK+E9vx+3XxYsg81jW8YZqM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","babel":{"presets":["es2015"]},"files":["dist"],"_shasum":"22461c47ea4ba934530246eb49cbbc26a4a8daf5","gitHead":"7f0ec8cd826a5e9a94fc4094d097a7183df076b7","scripts":{"start":"gulp","prepublish":"gulp transpile"},"_npmUser":{"name":"zeit","email":"team@zeit.co"},"deprecated":"This package is now deprecated! Please read this: https://zeit.co/blog/now-static","repository":{"url":"git+https://github.com/zeit/now-serve.git","type":"git"},"_npmVersion":"3.7.3","description":"Single command static hosting","directories":{},"_nodeVersion":"5.9.1","dependencies":{"tmp":"0.0.28","args":"1.1.0","walk":"2.3.9","chalk":"1.1.3","hasbin":"1.2.1","fs-extra":"0.28.0"},"devDependencies":{"gulp":"3.9.1","gulp-babel":"6.1.2","gulp-chmod":"1.3.0","gulp-cached":"1.1.0","babel-preset-es2015":"6.6.0"},"_npmOperationalInternal":{"tmp":"tmp/now-serve-0.2.0.tgz_1466975447283_0.6737232794985175","host":"packages-12-west.internal.npmjs.com"}},"0.3.0":{"name":"now-serve","version":"0.3.0","author":{"name":"leo"},"license":"MIT","_id":"now-serve@0.3.0","maintainers":[{"name":"zeit","email":"team@zeit.co"}],"homepage":"https://zeit.co/now","bugs":{"url":"https://github.com/zeit/now-serve/issues"},"xo":{"rules":{"xo/no-process-exit":0},"space":true,"esnext":true,"semicolon":false},"bin":{"ns":"dist/bin/ns"},"dist":{"shasum":"02813f5c1096b7c8aa6058a532b8caa87e6485a2","tarball":"https://registry.npmjs.org/now-serve/-/now-serve-0.3.0.tgz","integrity":"sha512-cGlWH4W6x3XYBVOqE52FJUJZDgI3g2GHYNHH7S1ILooyewt2CP4UYMlv8RS35O2Kzk7edBld71WjDXv7Nm2FVw==","signatures":[{"sig":"MEUCIH++M81R2D/Y4Bop5Rx8rtcsh112jQH68NM8iSlXiFEaAiEAqkt23GQfMANNExiMqiIVowkMDEMlBQCON82Ze9IOFH0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","babel":{"plugins":["transform-es2015-modules-commonjs"]},"files":["dist"],"_shasum":"02813f5c1096b7c8aa6058a532b8caa87e6485a2","gitHead":"76b63ad60ab1b6ef7db26555a3c6141e0e23307a","scripts":{"test":"xo","start":"gulp","prepublish":"gulp transpile"},"_npmUser":{"name":"zeit","email":"team@zeit.co"},"deprecated":"This package is now deprecated! Please read this: https://zeit.co/blog/now-static","repository":{"url":"git+https://github.com/zeit/now-serve.git","type":"git"},"_npmVersion":"3.10.5","description":"Single command static hosting","directories":{},"greenkeeper":{"emails":false},"_nodeVersion":"6.2.1","dependencies":{"tmp":"0.0.28","args":"1.3.0","walk":"2.3.9","chalk":"1.1.3","hasbin":"1.2.3","fs-extra":"0.30.0"},"devDependencies":{"xo":"^0.16.0","gulp":"3.9.1","gulp-babel":"6.1.2","gulp-chmod":"1.3.0","gulp-cached":"1.1.0","babel-register":"^6.9.0","babel-plugin-transform-es2015-modules-commonjs":"^6.11.5"},"_npmOperationalInternal":{"tmp":"tmp/now-serve-0.3.0.tgz_1469380986817_0.8180312507320195","host":"packages-12-west.internal.npmjs.com"}},"0.3.1":{"name":"now-serve","version":"0.3.1","author":{"name":"leo"},"license":"MIT","_id":"now-serve@0.3.1","maintainers":[{"name":"leo","email":"mindrun@icloud.com"},{"name":"rauchg","email":"rauchg@gmail.com"}],"homepage":"https://zeit.co/now","bugs":{"url":"https://github.com/zeit/now-serve/issues"},"xo":{"rules":{"xo/no-process-exit":0},"space":true,"esnext":true,"semicolon":false},"bin":{"ns":"dist/bin/ns"},"dist":{"shasum":"18159bb3a1ba9d88e4f105cd3d7dd6acdfae6b55","tarball":"https://registry.npmjs.org/now-serve/-/now-serve-0.3.1.tgz","integrity":"sha512-uEuf9KpypY/wZixwKhMgY6yEIjpNqSmrD1Va+nDdWPcQFFlN+NbLr9R1E3Cy1fBOpXoLaiLRwUbhCI29DNgQlg==","signatures":[{"sig":"MEUCIQDYkjGfDDhixFpgCQbSU42ntmxX0efPw6n/LT6+Pba9ZgIgS4gPLBch5RBnlwgKji3k7QZitGhA/xPUzaV4y3XHQ1A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","babel":{"plugins":["transform-es2015-modules-commonjs"]},"files":["dist"],"_shasum":"18159bb3a1ba9d88e4f105cd3d7dd6acdfae6b55","gitHead":"32018586c3cddc1f19cc5d8dbe939a4e33df29b7","scripts":{"test":"xo","start":"gulp","prepublish":"gulp transpile"},"_npmUser":{"name":"leo","email":"mindrun@icloud.com"},"deprecated":"This package is now deprecated! Please read this: https://zeit.co/blog/now-static","repository":{"url":"git+https://github.com/zeit/now-serve.git","type":"git"},"_npmVersion":"3.10.3","description":"Single command static hosting","directories":{},"greenkeeper":{"emails":false},"_nodeVersion":"6.3.0","dependencies":{"md5":"^2.1.0","tmp":"0.0.28","args":"1.3.1","walk":"2.3.9","chalk":"1.1.3","hasbin":"1.2.3","fs-extra":"0.30.0"},"devDependencies":{"xo":"^0.16.0","gulp":"3.9.1","gulp-babel":"6.1.2","gulp-chmod":"1.3.0","gulp-cached":"1.1.0","babel-plugin-transform-es2015-modules-commonjs":"^6.11.5"},"_npmOperationalInternal":{"tmp":"tmp/now-serve-0.3.1.tgz_1469790646894_0.3213414093479514","host":"packages-16-east.internal.npmjs.com"}},"0.4.0":{"name":"now-serve","version":"0.4.0","author":{"name":"leo"},"license":"MIT","_id":"now-serve@0.4.0","maintainers":[{"name":"leo","email":"mindrun@icloud.com"},{"name":"rauchg","email":"rauchg@gmail.com"}],"homepage":"https://zeit.co/now","bugs":{"url":"https://github.com/zeit/now-serve/issues"},"xo":{"rules":{"xo/no-process-exit":0},"space":true,"esnext":true,"semicolon":false},"bin":{"ns":"dist/bin/ns"},"dist":{"shasum":"18e3444114e1cf377f48df54e0e40bb83a90b975","tarball":"https://registry.npmjs.org/now-serve/-/now-serve-0.4.0.tgz","integrity":"sha512-NndVHr8c+6j1puBVQomJmLrEl6e9+zQVCFcjYjO9mKIDB5tWB50hmWPk1ZQP3uIOc3idncas3rye9QTYNdxNlg==","signatures":[{"sig":"MEYCIQCkt5XiRgleKYaJ2brzDHxaQ/74IkhHFKVBHYYbQQ30SQIhAO8XbhVgRySehiqOV2I7xOy375OvfYbhjXh93te1baaF","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","babel":{"plugins":["transform-es2015-modules-commonjs"]},"files":["dist"],"_shasum":"18e3444114e1cf377f48df54e0e40bb83a90b975","gitHead":"4e29a16100988d7a6b2e2cee33217309f969d2de","scripts":{"test":"xo","start":"gulp","prepublish":"gulp transpile"},"_npmUser":{"name":"leo","email":"mindrun@icloud.com"},"deprecated":"This package is now deprecated! Please read this: https://zeit.co/blog/now-static","repository":{"url":"git+https://github.com/zeit/now-serve.git","type":"git"},"_npmVersion":"3.10.3","description":"Single command static hosting","directories":{},"greenkeeper":{"emails":false},"_nodeVersion":"6.3.0","dependencies":{"md5":"^2.1.0","tmp":"0.0.28","args":"2.0.0","walk":"2.3.9","chalk":"1.1.3","hasbin":"1.2.3","fs-extra":"0.30.0"},"devDependencies":{"xo":"^0.16.0","gulp":"3.9.1","gulp-babel":"6.1.2","gulp-chmod":"1.3.0","gulp-cached":"1.1.0","babel-plugin-transform-es2015-modules-commonjs":"^6.11.5"},"_npmOperationalInternal":{"tmp":"tmp/now-serve-0.4.0.tgz_1472657861030_0.5003644195385277","host":"packages-12-west.internal.npmjs.com"}},"0.5.0":{"name":"now-serve","version":"0.5.0","author":{"name":"leo"},"license":"MIT","_id":"now-serve@0.5.0","maintainers":[{"name":"leo","email":"mindrun@icloud.com"},{"name":"rauchg","email":"rauchg@gmail.com"}],"homepage":"https://zeit.co/now","bugs":{"url":"https://github.com/zeit/now-serve/issues"},"xo":{"rules":{"xo/no-process-exit":0},"space":true,"esnext":true,"semicolon":false},"bin":{"ns":"dist/bin/ns"},"dist":{"shasum":"89fb5e1fc68803e5395443d8e6095699aab98fdb","tarball":"https://registry.npmjs.org/now-serve/-/now-serve-0.5.0.tgz","integrity":"sha512-tNflBjumAC5iDNjBDQLmyVNItPborTgeL00eiHO9w7PG5GA3Ph5Q41bIu7u2qegM6MOyz570ulnIakw73zpceQ==","signatures":[{"sig":"MEQCIE0X4UHD4I4rwlAJ1uob5roLv5QurHWG/AhW6wOchdSgAiAu7qXIaZyGS2lDrqM8PlmbHJzWzTU3nueSuad6gkLC6Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","babel":{"plugins":["transform-es2015-modules-commonjs"]},"files":["dist"],"_shasum":"89fb5e1fc68803e5395443d8e6095699aab98fdb","gitHead":"7dbcdaaad5ca6428df934380a621535d50d7d481","scripts":{"test":"xo","start":"gulp","prepublish":"gulp transpile"},"_npmUser":{"name":"leo","email":"leo@zeit.co"},"deprecated":"This package is now deprecated! Please read this: https://zeit.co/blog/now-static","repository":{"url":"git+https://github.com/zeit/now-serve.git","type":"git"},"_npmVersion":"3.10.3","description":"Single command static hosting","directories":{},"greenkeeper":{"emails":false},"_nodeVersion":"6.5.0","dependencies":{"md5":"^2.1.0","tmp":"0.0.29","args":"2.0.0","walk":"2.3.9","chalk":"1.1.3","hasbin":"1.2.3","fs-extra":"0.30.0"},"devDependencies":{"xo":"^0.16.0","gulp":"3.9.1","gulp-babel":"6.1.2","gulp-chmod":"1.3.0","gulp-cached":"1.1.0","babel-plugin-transform-es2015-modules-commonjs":"^6.11.5"},"_npmOperationalInternal":{"tmp":"tmp/now-serve-0.5.0.tgz_1475049739855_0.56752944085747","host":"packages-16-east.internal.npmjs.com"}},"0.5.1":{"name":"now-serve","version":"0.5.1","author":{"name":"leo"},"license":"MIT","_id":"now-serve@0.5.1","maintainers":[{"name":"leo","email":"mindrun@icloud.com"},{"name":"rauchg","email":"rauchg@gmail.com"}],"homepage":"https://zeit.co/now","bugs":{"url":"https://github.com/zeit/now-serve/issues"},"xo":{"rules":{"unicorn/no-process-exit":0},"space":true,"esnext":true,"semicolon":false},"bin":{"ns":"dist/bin/ns"},"dist":{"shasum":"b5d7f9d254f7ffedb39103ba58132d1c445d6c07","tarball":"https://registry.npmjs.org/now-serve/-/now-serve-0.5.1.tgz","integrity":"sha512-PY3tOqFnR6dRcEpGY5WpUn0G8vZhUBz9ed6IRhyyO0tojV5OawjZmyxANJWvA44TdEzIzz5JrWjxA37nzrcSGA==","signatures":[{"sig":"MEQCIBYLneACf5ICO9n7mPo4B7stWDpz3wmFYd1pfyQ9L3rlAiBxOUysUcslWE2r0VgV1Eld9hmr55TbTqFNhHCASL3sRg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","babel":{"plugins":["transform-es2015-modules-commonjs"]},"files":["dist"],"_shasum":"b5d7f9d254f7ffedb39103ba58132d1c445d6c07","gitHead":"51eaab9f0dce9f657889eb26105ded9d68940596","scripts":{"test":"xo","start":"gulp","prepublish":"gulp transpile"},"_npmUser":{"name":"leo","email":"leo@zeit.co"},"deprecated":"This package is now deprecated! Please read this: https://zeit.co/blog/now-static","repository":{"url":"git+https://github.com/zeit/now-serve.git","type":"git"},"_npmVersion":"3.10.3","description":"Single command static hosting","directories":{},"greenkeeper":{"emails":false},"_nodeVersion":"6.5.0","dependencies":{"md5":"^2.1.0","tmp":"0.0.29","args":"2.1.0","walk":"2.3.9","chalk":"1.1.3","hasbin":"1.2.3","fs-extra":"0.30.0"},"devDependencies":{"xo":"^0.17.0","gulp":"3.9.1","gulp-babel":"6.1.2","gulp-chmod":"1.3.0","gulp-cached":"1.1.0","babel-plugin-transform-es2015-modules-commonjs":"^6.11.5"},"_npmOperationalInternal":{"tmp":"tmp/now-serve-0.5.1.tgz_1476396888431_0.285151410382241","host":"packages-16-east.internal.npmjs.com"}}},"time":{"created":"2016-04-28T22:27:15.186Z","modified":"2026-02-25T04:31:33.289Z","0.1.0":"2016-04-28T22:27:15.186Z","0.2.0":"2016-06-26T21:10:47.818Z","0.3.0":"2016-07-24T17:23:07.055Z","0.3.1":"2016-07-29T11:10:49.711Z","0.4.0":"2016-08-31T15:37:42.923Z","0.5.0":"2016-09-28T08:02:20.486Z","0.5.1":"2016-10-13T22:14:49.451Z"},"bugs":{"url":"https://github.com/zeit/now-serve/issues"},"author":{"name":"leo"},"license":"MIT","homepage":"https://zeit.co/now","repository":{"url":"git+https://github.com/zeit/now-serve.git","type":"git"},"description":"Single command static hosting","maintainers":[{"email":"infra+release@vercel.com","name":"vercel-release-bot"},{"email":"team@zeit.co","name":"zeit-bot"}],"readme":"# now-serve\n\n[![Build Status](https://travis-ci.org/zeit/now-serve.svg?branch=master)](https://travis-ci.org/zeit/now-serve)\n[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)\n[![Slack Channel](https://zeit-slackin.now.sh/badge.svg)](https://zeit.chat/)\n\n> This packages makes it very easy to [share directories](https://zeit.co/blog/serve-it-now) using [now](https://zeit.co/now)!\n\n## How it works\n\nWhen running the `ns` command, a temporary directory gets created. Within that directory, now-serve will insert a brand new `package.json` that conforms to [now's requirements](https://zeit.co/now#get-started) and therefore contains a start script that runs a new instance of [list](https://github.com/zeit/list) when being executed on our servers.\n\nAll of this happens completely automatically. So after running the command, the only thing you need to do is wait a few seconds until your files have been deployed and share the link! :boom:\n\n## Usage\n\nInstall it (needs at least node v6)\n\n```bash\n$ npm install now-serve -g\n```\n\nRun it\n\n```bash\n$ ns <file | dir> [options] \n```\n\nYou can find a list of all options [below](#options).\n\n### Options\n\n| Usage                          | Description |\n| ------------------------------ | ----------- |\n| -h, --help                     | Output all available options |\n| -V, --version                  | The version tag of the now-serve instance on your device |\n| &#8209;c,&nbsp;&#8209;&#8209;cmd&nbsp;[command]            | The command that should be run when starting |\n| -n, --name [name]              | The name for your deployment |\n| &#8209;p,&nbsp;&#8209;&#8209;packages&nbsp;&#60;names&#62; | Custom packages to add to dependencies: `\"gulp, koa\"` |\n| -a, --arguments <handles>      | A string containing arguments that will be passed on to now: `\"force, debug\"` (basically the names of the flags but without dashes) |\n| -s, --single                   | Serve single page apps with only one `index.html` in the root directory |\n\n## Contribute\n\n1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device\n2. Uninstall now-serve if it's already installed: `npm uninstall now-serve -g`\n3. Link it to the global module directory: `npm link`\n4. Transpile the source code and watch for changes: `npm start`\n\nYeeha! Now can use the `ns` command everywhere.\n","readmeFilename":"README.md","users":{"timolins":true,"max_devjs":true}}