{"_id":"@aaronc81/vite-now","_rev":"4-deebda74975a7ba6a3b6b38ca4b2e9f6","name":"@aaronc81/vite-now","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"@aaronc81/vite-now","version":"0.1.0","author":{"url":"https://aaronc.cc","name":"Aaron Christiansen","email":"aaronc20000@gmail.com"},"license":"MIT","_id":"@aaronc81/vite-now@0.1.0","maintainers":[{"name":"aaronc81","email":"aaronc20000@gmail.com"}],"homepage":"https://github.com/AaronC81/vite-now#readme","bugs":{"url":"https://github.com/AaronC81/vite-now/issues"},"bin":{"vn":"src/index.js"},"dist":{"shasum":"b4cda578cbb63d47a5492201d4ca011d04b5b047","tarball":"https://registry.npmjs.org/@aaronc81/vite-now/-/vite-now-0.1.0.tgz","fileCount":9,"integrity":"sha512-i7lpbjuIgWct4+W06UuOcRAH1nrNM7F9H5QzCRXbIigPwKG0ox4wJuspxkuKsKhWl0fayNYL7WygGJepyHaKyA==","signatures":[{"sig":"MEYCIQCCCI0DHDJzd7ZMOiq6g2hZrJ2E7/VteJIdak79sJpy/gIhAJg9qWq/RODIWDupE29fhWO28HrHY941QDQUEhkyCgVN","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":647239},"main":"src/index.js","type":"module","gitHead":"f33eda3877c375dbb7be4952b11f8318355fa83c","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"aaronc81","email":"aaronc20000@gmail.com"},"repository":{"url":"git+https://github.com/AaronC81/vite-now.git","type":"git"},"_npmVersion":"10.9.3","description":"Single-file Vite projects","directories":{},"_nodeVersion":"22.19.0","dependencies":{"picocolors":"^1.1.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/vite-now_0.1.0_1775859056437_0.8651679139525676","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@aaronc81/vite-now","version":"0.1.1","author":{"url":"https://aaronc.cc","name":"Aaron Christiansen","email":"aaronc20000@gmail.com"},"license":"MIT","_id":"@aaronc81/vite-now@0.1.1","maintainers":[{"name":"aaronc81","email":"aaronc20000@gmail.com"}],"homepage":"https://github.com/AaronC81/vite-now#readme","bugs":{"url":"https://github.com/AaronC81/vite-now/issues"},"bin":{"vn":"src/index.js"},"dist":{"shasum":"7d9161e7073cfee37663bf51120a6e3f7559c127","tarball":"https://registry.npmjs.org/@aaronc81/vite-now/-/vite-now-0.1.1.tgz","fileCount":9,"integrity":"sha512-6s+RmZBjAS6CeoMkF79EsqamnOmPSUtXICrHuC9F9dOgoBxFpuV9gdLSoqRtVpb58/mvipZcwyzGX1meF5fjuA==","signatures":[{"sig":"MEYCIQCHydkcgNhzPo07xt5gbXr1HB5FD3ZwNTm+WgMjSUX5LAIhAJZMcdvjueEMH8HvEy0xHP8OG8MfubvqU6RI1PtkUSPG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":647294},"main":"src/index.js","type":"module","gitHead":"64c5b434499c03875f585772f12ead122c3c572c","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"aaronc81","email":"aaronc20000@gmail.com"},"repository":{"url":"git+https://github.com/AaronC81/vite-now.git","type":"git"},"_npmVersion":"10.9.3","description":"Single-file Vite projects","directories":{},"_nodeVersion":"22.19.0","dependencies":{"picocolors":"^1.1.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/vite-now_0.1.1_1775859322661_0.8899654432209543","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@aaronc81/vite-now","version":"0.2.0","author":{"url":"https://aaronc.cc","name":"Aaron Christiansen","email":"aaronc20000@gmail.com"},"license":"MIT","_id":"@aaronc81/vite-now@0.2.0","maintainers":[{"name":"aaronc81","email":"aaronc20000@gmail.com"}],"homepage":"https://github.com/AaronC81/vite-now#readme","bugs":{"url":"https://github.com/AaronC81/vite-now/issues"},"bin":{"vn":"dist/npm/index.js"},"dist":{"shasum":"ceadc75850cc6fe3e14cf5ca0f1b4897f6cc3e9a","tarball":"https://registry.npmjs.org/@aaronc81/vite-now/-/vite-now-0.2.0.tgz","fileCount":4,"integrity":"sha512-FhHhjDawWftZeolIU66G0rClcO/dsmHVbBgIf7brePSI8l1+nyHRBGH68UQHrfrYsx0IQS6fVlUGJhw/sGkRvw==","signatures":[{"sig":"MEUCIAMt1ZdBAoSJnheNLIfRjVQry75quWe50qMkZFpfVE8+AiEAsJeFK+JrseCmF9HpxcWurOdcuCBanhbsfaAZfqkuHcw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13161},"main":"dist/npm/index.js","type":"module","gitHead":"5e3359b3dcebf7c5d9ea3356725e3ce68cd15792","scripts":{"build":"rollup -c rollup.config.ts"},"_npmUser":{"name":"aaronc81","email":"aaronc20000@gmail.com"},"repository":{"url":"git+https://github.com/AaronC81/vite-now.git","type":"git"},"_npmVersion":"10.9.3","description":"Single-file Vite projects","directories":{},"_nodeVersion":"22.19.0","dependencies":{"picocolors":"^1.1.1"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","rollup":"^4.60.1","@types/node":"^25.6.0","@tsconfig/node22":"^22.0.5","@rollup/plugin-typescript":"^12.3.0","@rollup/plugin-node-resolve":"^16.0.3"},"_npmOperationalInternal":{"tmp":"tmp/vite-now_0.2.0_1775929563129_0.945812683256406","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@aaronc81/vite-now","version":"0.3.0","type":"module","description":"Single-file Vite projects","repository":{"type":"git","url":"git+https://github.com/AaronC81/vite-now.git"},"main":"dist/npm/index.js","bin":{"vn":"dist/npm/index.js"},"scripts":{"build":"rollup -c rollup.config.ts"},"author":{"name":"Aaron Christiansen","email":"aaronc20000@gmail.com","url":"https://aaronc.cc"},"license":"MIT","dependencies":{"picocolors":"^1.1.1"},"devDependencies":{"@rollup/plugin-node-resolve":"^16.0.3","@rollup/plugin-typescript":"^12.3.0","@tsconfig/node22":"^22.0.5","@types/node":"^25.6.0","rollup":"^4.60.1","tslib":"^2.8.1"},"_id":"@aaronc81/vite-now@0.3.0","gitHead":"667c0843cb1048c4766347920cf132ae6e05d7cc","bugs":{"url":"https://github.com/AaronC81/vite-now/issues"},"homepage":"https://github.com/AaronC81/vite-now#readme","_nodeVersion":"22.19.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-PdnHTKkJDokkfEFagLg/ncRv22x0Gyn2WzRQbvJPLZ0VkaB0VJlUutzeLXHk4XbtIcGW7zkOSIvSu5zmlhmvHw==","shasum":"f9ae3dd92097dc58c4ef542f8ab0aee03f99db2e","tarball":"https://registry.npmjs.org/@aaronc81/vite-now/-/vite-now-0.3.0.tgz","fileCount":4,"unpackedSize":14061,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIE0SuNOJyK+CHTgNw6pTE6foqYy6DbMwCWfzbSE1CUTwAiEApYoQY29aErFRDEAYTkyt7TNJ2nK/NfK0MdzIj3ye5pY="}]},"_npmUser":{"name":"aaronc81","email":"aaronc20000@gmail.com"},"directories":{},"maintainers":[{"name":"aaronc81","email":"aaronc20000@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/vite-now_0.3.0_1776289409934_0.03271203310916726"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-10T22:10:56.333Z","modified":"2026-04-15T21:43:30.184Z","0.1.0":"2026-04-10T22:10:56.592Z","0.1.1":"2026-04-10T22:15:22.881Z","0.2.0":"2026-04-11T17:46:03.271Z","0.3.0":"2026-04-15T21:43:30.073Z"},"bugs":{"url":"https://github.com/AaronC81/vite-now/issues"},"author":{"name":"Aaron Christiansen","email":"aaronc20000@gmail.com","url":"https://aaronc.cc"},"license":"MIT","homepage":"https://github.com/AaronC81/vite-now#readme","repository":{"type":"git","url":"git+https://github.com/AaronC81/vite-now.git"},"description":"Single-file Vite projects","maintainers":[{"name":"aaronc81","email":"aaronc20000@gmail.com"}],"readme":"# vite-now\n\n**Create single-file Vite React projects for quick experimentation.**\n\nScripting environments like Python let you write and run a single file.\nBack when typical web development was only vanilla HTML/JS/CSS, you could simply launch a HTML file from your disk in your browser.\nThe modern web's complicated build tooling makes it much more difficult to quickly try something out.\n\nWith vite-now, you write one JSX file and let vite-now provide sensible defaults around it.\nIt's a bit like a \"fiddle\", but using the development tools you already know.\n\nInstall:\n\n```sh\nnpm install -g @aaronc81/vite-now\n```\n\nWrite this in a new foo.jsx file:\n\n```jsx\nexport default function Main() {\n  return <h1>Hello, world!</h1>;\n}\n```\n\nthen run `vn foo.jsx` to start Vite!\n\n![Screenshot showing vite-now in action. A VS Code window shows the example code above. A terminal shows the output of the command. On the right, a browser window shows the \"Hello, world!\" text.](./img/screenshot.png)\n\n## Guide\n\nThe only requirement is that your JSX file must have a default export function that returns a React component.\n\nYou can control configuration of vite-now using magic comments:\n\n- `// @vn-name Hello, World!` will change the title of your application's page.\n- `// @vn-use plugin version` adds a _plugin_, a predetermined set of packages and configuration. The version is optional, if omitted the latest version is used. Current plugins are:\n    - `react` (enabled by default, but if you'd like to use a non-default version, you can specify it explicitly)\n    - `tailwindcss`\n\n## Intended Usage\n\nThe idea of vite-now is quick, throwaway experimentation.\nIf you want to start creating an app, move to a proper Vite project.\n\nThere are specific \"happy paths\" supported by the plugin system, like using React and Tailwind.\nOther stacks or additional dependencies aren't currently supported.\n","readmeFilename":"README.md"}