{"_id":"fastify-bankai","_rev":"37-b9770afb29eb9ca7aca4eadea9eafaa1","name":"fastify-bankai","dist-tags":{"latest":"0.4.0"},"versions":{"0.3.0":{"name":"fastify-bankai","version":"0.3.0","keywords":["browserify","bankai","assets","html","css","js","fastify","compile"],"author":{"url":"http://delved.org","name":"Tomas Della Vedova - @delvedor"},"license":"MIT","_id":"fastify-bankai@0.3.0","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"}],"homepage":"https://github.com/fastify/fastify-pigeon#readme","bugs":{"url":"https://github.com/fastify/fastify-pigeon/issues"},"dist":{"shasum":"6e20d3bf4514e14e397483d00f8024e03034b0e7","tarball":"https://registry.npmjs.org/fastify-bankai/-/fastify-bankai-0.3.0.tgz","integrity":"sha512-BSiYDF+wpiO94QgRyyoGCN+wxav/6wviq9Zd5XcpTbaHjWzq57tA7CfPeqRA+sxQDkVJuNl86L+MhYIlQ0Q6Ww==","signatures":[{"sig":"MEUCIB6m8BjmWBrEwMWu+JcSswbnF5iND+hb3YZIYsufFMwXAiEA44QHKTGXIuevwctvr3iNlBvBAE515G4EwPvV6v4W3L8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","gitHead":"add8fbed407037dd9e4d127e209c8cb360051dfa","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":"5.4.2","description":"Bankai assets compiler for Fastify","directories":{},"_nodeVersion":"6.11.1","dependencies":{"bankai":"^8.1.1","fastify-plugin":"^0.1.0"},"devDependencies":{"tap":"^10.7.0","shot":"^3.4.2","fastify":"^0.25.1","standard":"^10.0.2"},"_npmOperationalInternal":{"tmp":"tmp/fastify-bankai-0.3.0.tgz_1505473317164_0.00013499055057764053","host":"s3://npm-registry-packages"}},"0.3.1":{"name":"fastify-bankai","version":"0.3.1","keywords":["browserify","bankai","assets","html","css","js","fastify","compile"],"author":{"url":"http://delved.org","name":"Tomas Della Vedova - @delvedor"},"license":"MIT","_id":"fastify-bankai@0.3.1","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"}],"homepage":"https://github.com/fastify/fastify-bankai#readme","bugs":{"url":"https://github.com/fastify/fastify-bankai/issues"},"dist":{"shasum":"e753e68591bd9074b8f0a47ffe4dc03050bf9101","tarball":"https://registry.npmjs.org/fastify-bankai/-/fastify-bankai-0.3.1.tgz","integrity":"sha512-92nGgRxu39Z2DthjkcO4jSUl7SI+jiM/aZ/fTMHml9DOkbaqUhdmJgkrXekpq9xQ2Te25MpHKVK2p4ANvmL4zA==","signatures":[{"sig":"MEUCIHpJXUOOEEblYKcierhFzMV7Mmrxdc6hD4sPdBPle0LUAiEA3nLQxN+Y4++vQbG6OStIoMvBr3XNZ7BP4ypDWzxRSYE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","gitHead":"88c3e64bb26b517f81a04dfc711f69c737f62340","scripts":{"test":"standard && tap test.js"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/fastify/fastify-bankai.git","type":"git"},"_npmVersion":"5.4.2","description":"Bankai assets compiler for Fastify","directories":{},"_nodeVersion":"6.11.1","dependencies":{"bankai":"^8.1.1","fastify-plugin":"^0.1.1"},"devDependencies":{"tap":"^10.7.0","shot":"^3.4.2","fastify":"^0.27.0","standard":"^10.0.3","pre-commit":"^1.2.2"},"_npmOperationalInternal":{"tmp":"tmp/fastify-bankai-0.3.1.tgz_1505473417178_0.09534552786499262","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"fastify-bankai","version":"0.4.0","keywords":["browserify","bankai","assets","html","css","js","fastify","compile"],"author":{"url":"http://delved.org","name":"Tomas Della Vedova - @delvedor"},"license":"MIT","_id":"fastify-bankai@0.4.0","maintainers":[{"name":"matteo.collina","email":"hello@matteocollina.com"}],"homepage":"https://github.com/fastify/fastify-bankai#readme","bugs":{"url":"https://github.com/fastify/fastify-bankai/issues"},"dist":{"shasum":"642e0722e34260d046d98a2c5f2965639a6d6e5c","tarball":"https://registry.npmjs.org/fastify-bankai/-/fastify-bankai-0.4.0.tgz","integrity":"sha512-OUqRfICIbWbPXl49JUYgpJbycHYjLxRgGYlHqIw/30iQIzSZKuZK6JLbpdh1UgFvk3DZWuEazei2NmDW0BjfQg==","signatures":[{"sig":"MEUCIH0WVq14Pr1bZ3Tr4oCxmfVqbVgO3bdwmYtqWAw9rj7IAiEAoCKA/K4VRKVgO5E6kfRkkDQmOVV0xG2LbZ69vdwofGs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","gitHead":"cbb12f335c9a1635dc5197c8f945186120008379","scripts":{"test":"standard && tap test.js"},"_npmUser":{"name":"matteo.collina","email":"hello@matteocollina.com"},"repository":{"url":"git+https://github.com/fastify/fastify-bankai.git","type":"git"},"_npmVersion":"5.6.0","description":"Bankai assets compiler for Fastify","directories":{},"_nodeVersion":"8.9.4","dependencies":{"bankai":"^9.4.0","fastify-plugin":"^0.2.1"},"devDependencies":{"tap":"^11.0.0","fastify":"^0.40.0","standard":"^10.0.3","pre-commit":"^1.2.2"},"_npmOperationalInternal":{"tmp":"tmp/fastify-bankai-0.4.0.tgz_1517105531422_0.13042837847024202","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-09-15T11:01:58.051Z","modified":"2026-08-02T10:03:41.058Z","0.3.0":"2017-09-15T11:01:58.051Z","0.3.1":"2017-09-15T11:03:38.176Z","0.4.0":"2018-01-28T02:12:11.506Z"},"bugs":{"url":"https://github.com/fastify/fastify-bankai/issues"},"author":{"url":"http://delved.org","name":"Tomas Della Vedova - @delvedor"},"license":"MIT","homepage":"https://github.com/fastify/fastify-bankai#readme","keywords":["browserify","bankai","assets","html","css","js","fastify","compile"],"repository":{"url":"git+https://github.com/fastify/fastify-bankai.git","type":"git"},"description":"Bankai assets compiler for Fastify","maintainers":[{"email":"hello@matteocollina.com","name":"matteo.collina"}],"readme":"# fastify-bankai\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-bankai.svg?branch=master)](https://travis-ci.org/fastify/fastify-bankai) [![Greenkeeper badge](https://badges.greenkeeper.io/fastify/fastify-bankai.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-bankai** 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-bankai --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-bankai'), {\n  entry: './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-bankai 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-bankai'), {\n  entry: './client.js',\n  watch: false\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\n- `entry`: Your application entry point\n- `prefix`: prefix all paths served by fastify-bankai with the given\n  path\n\nThe option object is passed directly to 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","users":{"seangenabe":true}}