{"_id":"fastify-pigeon","_rev":"41-d290113f2d3a8017ef7e02b3efdd0467","name":"fastify-pigeon","dist-tags":{"latest":"0.2.1"},"versions":{"0.1.0":{"name":"fastify-pigeon","version":"0.1.0","keywords":["browserify","bankai","assets","html","css","js","fastify","compile"],"author":{"url":"http://delved.org","name":"Tomas Della Vedova - @delvedor"},"license":"MIT","_id":"fastify-pigeon@0.1.0","maintainers":[{"name":"delvedor","email":"tommydelved@gmail.com"}],"homepage":"https://github.com/fastify/fastify-pigeon#readme","bugs":{"url":"https://github.com/fastify/fastify-pigeon/issues"},"dist":{"shasum":"9328eb7dfce6d25bd1d04e777d356485a0f97ef9","tarball":"https://registry.npmjs.org/fastify-pigeon/-/fastify-pigeon-0.1.0.tgz","integrity":"sha512-n68dz2MZ7pSgwVjcaMAbsidCkRMdCSPX8f8B/OC2cnVPRDzuFoXae27QV8NtscB7EDq2eaJYP30uk5YvR7XIeA==","signatures":[{"sig":"MEUCIQCoOCPILDvkc+gksSgRYEHYaPKWJKpTLPrCtBi88uBsawIge5x3bq6nlPWquug2gHbeHYjM1h2FPsN1aQjHoJLLSUs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"9328eb7dfce6d25bd1d04e777d356485a0f97ef9","gitHead":"72748099ab746aae2d41e51f2e4956914ba5c6ea","scripts":{"test":"tap test.js"},"_npmUser":{"name":"delvedor","email":"tommydelved@gmail.com"},"repository":{"url":"git+https://github.com/fastify/fastify-pigeon.git","type":"git"},"_npmVersion":"3.10.10","description":"Bankai assets compiler for Fastify","directories":{},"_nodeVersion":"6.10.0","dependencies":{"bankai":"^7.6.2","fastify-plugin":"^0.1.0"},"devDependencies":{"tap":"^10.3.2","fastify":"^0.20.0","standard":"^10.0.2"},"_npmOperationalInternal":{"tmp":"tmp/fastify-pigeon-0.1.0.tgz_1495453740415_0.6871944589074701","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"fastify-pigeon","version":"0.2.0","keywords":["browserify","bankai","assets","html","css","js","fastify","compile"],"author":{"url":"http://delved.org","name":"Tomas Della Vedova - @delvedor"},"license":"MIT","_id":"fastify-pigeon@0.2.0","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"delvedor","email":"tommydelved@gmail.com"}],"homepage":"https://github.com/fastify/fastify-pigeon#readme","bugs":{"url":"https://github.com/fastify/fastify-pigeon/issues"},"dist":{"shasum":"e75b6d667f2fc5daab2917f77c16cb42038ac98f","tarball":"https://registry.npmjs.org/fastify-pigeon/-/fastify-pigeon-0.2.0.tgz","integrity":"sha512-bgYjrEQJ0YAyA0jE59sIw7aADX4oqkBj3lL3ZP9keccogJY00E36JJkFd5qlSjMeawAQurK21GHeK+P0WZQTBg==","signatures":[{"sig":"MEUCIQD0YwwEv3F2jn/arP00Eb2fPEbkLb1mCgnJ/IoQf0QITAIgaadWYl8iU9rhmdBFIJE+IZMJSpB0ETZJTsukPLfuqLI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"e75b6d667f2fc5daab2917f77c16cb42038ac98f","gitHead":"afe73dfede1698d7e436708a9593d526dc8bdef3","scripts":{"test":"tap test.js"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/fastify/fastify-pigeon.git","type":"git"},"_npmVersion":"3.10.10","description":"Bankai assets compiler for Fastify","directories":{},"_nodeVersion":"6.11.0","dependencies":{"bankai":"^8.0.0","fastify-plugin":"^0.1.0"},"devDependencies":{"tap":"^10.3.2","fastify":"^0.21.0","standard":"^10.0.2"},"_npmOperationalInternal":{"tmp":"tmp/fastify-pigeon-0.2.0.tgz_1498141844722_0.8863887295592576","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"fastify-pigeon","version":"0.2.1","keywords":["browserify","bankai","assets","html","css","js","fastify","compile"],"author":{"url":"http://delved.org","name":"Tomas Della Vedova - @delvedor"},"license":"MIT","_id":"fastify-pigeon@0.2.1","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"},{"name":"delvedor","email":"tommydelved@gmail.com"}],"homepage":"https://github.com/fastify/fastify-pigeon#readme","bugs":{"url":"https://github.com/fastify/fastify-pigeon/issues"},"dist":{"shasum":"2c6837ab8f9f931d215a5c9f701b77aef3b43855","tarball":"https://registry.npmjs.org/fastify-pigeon/-/fastify-pigeon-0.2.1.tgz","integrity":"sha512-qRywYjF/y0xu12MqX7kpVgCSZ8librfP08ANGZ6zmg+LApi130C95nzroyfnF9+EjzS+K1dH9N8WElVAnhQ6WQ==","signatures":[{"sig":"MEUCIBgwKrG9eNWHhIR+Hn/SFJprp1/bcTxMP2QPbOMT3M4JAiEAlbTP/mHYtDev5cX2PO1LI5cxCIy5pD9GpCgfcQoypQs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"2c6837ab8f9f931d215a5c9f701b77aef3b43855","gitHead":"791cca51eb1fec121d3c08069315261b4213fa87","scripts":{"test":"tap test.js"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/fastify/fastify-pigeon.git","type":"git"},"_npmVersion":"3.10.10","description":"Bankai assets compiler for Fastify","directories":{},"_nodeVersion":"6.11.0","dependencies":{"bankai":"^8.0.0","fastify-plugin":"^0.1.0"},"devDependencies":{"tap":"^10.3.2","fastify":"^0.23.0","standard":"^10.0.2"},"_npmOperationalInternal":{"tmp":"tmp/fastify-pigeon-0.2.1.tgz_1498556842745_0.9403952341526747","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-05-22T11:49:01.329Z","modified":"2026-08-02T10:04:21.400Z","0.1.0":"2017-05-22T11:49:01.329Z","0.2.0":"2017-06-22T14:30:45.642Z","0.2.1":"2017-06-27T09:47:23.790Z"},"bugs":{"url":"https://github.com/fastify/fastify-pigeon/issues"},"author":{"url":"http://delved.org","name":"Tomas Della Vedova - @delvedor"},"license":"MIT","homepage":"https://github.com/fastify/fastify-pigeon#readme","keywords":["browserify","bankai","assets","html","css","js","fastify","compile"],"repository":{"url":"git+https://github.com/fastify/fastify-pigeon.git","type":"git"},"description":"Bankai assets compiler for Fastify","maintainers":[{"email":"tommydelved@gmail.com","name":"delvedor"}],"readme":"# fastify-pigeon\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](http://standardjs.com/)  [![Build Status](https://travis-ci.org/fastify/fastify-pigeon.svg?branch=master)](https://travis-ci.org/fastify/fastify-pigeon) [![Greenkeeper badge](https://badges.greenkeeper.io/fastify/fastify-pigeon.svg)](https://greenkeeper.io/)\n\nIf you need to compile (browserify style!) your code, this plugin is for you! \nInternally it uses [bankai](https://github.com/yoshuawuyts/bankai), so refer to its documentation for the options.\n\n**fastify-pigeon** will automatically live-reload your HTML and\nregenerate your bundle whenever your code change. This can be disabled\nin test or in production.\n\n## Install\n```\nnpm i fastify-pigeon --save\n```\n\n## Usage\nSimply require this plugin, pass the entry file and you are done!\n```js\nconst fastify = require('fastify')()\n\nfastify.register(require('fastify-pigeon'), {\n  entryFile: './client.js'\n})\n\nfastify.listen(3000, err => {\n  if (err) throw err\n  console.log('Server listenting on localhost:', fastify.server.address().port)\n})\n```\n\n### In tests or in production\n\nIf you are including fastify-pigeon in any test run or in production, you **must** disable\nthe automatic watch mode:\n\n```js\nconst fastify = require('fastify')()\n\nfastify.register(require('fastify-pigeon'), {\n  entryFile: './client.js',\n  options: {\n    watch: false\n  }\n})\n\nfastify.listen(3000, err => {\n  if (err) throw err\n  console.log('Server listenting on localhost:', fastify.server.address().port)\n})\n```\n\n## Options\n- `entryFile`: Your application entry point\n- `baseURL`: a custom url, default `'/'`\n- `options`: the options object for bankai\n\n## Acknowledgements\n\nThis project is kindly sponsored by:\n- [nearForm](http://nearform.com)\n- [LetzDoIt](http://www.letzdoitapp.com/)\n\n## License\n\nLicensed under [MIT](./LICENSE).\n","readmeFilename":"README.md"}