{"id":13836095,"url":"https://github.com/fastify/fastify-bankai","last_synced_at":"2025-07-10T13:31:35.572Z","repository":{"id":54090949,"uuid":"92041045","full_name":"fastify/fastify-bankai","owner":"fastify","description":"Bankai assets compiler for Fastify","archived":true,"fork":false,"pushed_at":"2021-03-09T14:02:56.000Z","size":32,"stargazers_count":15,"open_issues_count":11,"forks_count":7,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-11-06T06:43:26.390Z","etag":null,"topics":["assets","browserify","compiler"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fastify.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-22T10:24:55.000Z","updated_at":"2023-01-28T10:12:30.000Z","dependencies_parsed_at":"2022-08-13T06:40:27.888Z","dependency_job_id":null,"html_url":"https://github.com/fastify/fastify-bankai","commit_stats":null,"previous_names":["fastify/fastify-pigeon"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-bankai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-bankai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-bankai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fastify%2Ffastify-bankai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fastify","download_url":"https://codeload.github.com/fastify/fastify-bankai/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225638956,"owners_count":17500656,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["assets","browserify","compiler"],"created_at":"2024-08-04T15:00:35.482Z","updated_at":"2024-11-20T22:31:52.013Z","avatar_url":"https://github.com/fastify.png","language":"JavaScript","funding_links":[],"categories":["\u003ch2 align=\"center\"\u003eAwesome Fastify\u003c/h2\u003e"],"sub_categories":["\u003ch2 align=\"center\"\u003eEcosystem\u003c/h2\u003e"],"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 =\u003e {\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 =\u003e {\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastify%2Ffastify-bankai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffastify%2Ffastify-bankai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffastify%2Ffastify-bankai/lists"}