{"id":21877387,"url":"https://github.com/jaylanchen/express-handlebars-memory-fs","last_synced_at":"2026-04-07T09:31:23.707Z","repository":{"id":34641167,"uuid":"181418134","full_name":"JaylanChen/express-handlebars-memory-fs","owner":"JaylanChen","description":"Enable Express-handlebars to support read handlebars files from memory.","archived":false,"fork":false,"pushed_at":"2022-12-10T17:12:25.000Z","size":311,"stargazers_count":2,"open_issues_count":7,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-05T09:19:11.241Z","etag":null,"topics":["express","express-handlebars","memory-fs","webpack","webpack-dev-middleware"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JaylanChen.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":"2019-04-15T05:30:00.000Z","updated_at":"2020-12-03T05:15:38.000Z","dependencies_parsed_at":"2023-01-15T08:15:25.988Z","dependency_job_id":null,"html_url":"https://github.com/JaylanChen/express-handlebars-memory-fs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JaylanChen/express-handlebars-memory-fs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaylanChen%2Fexpress-handlebars-memory-fs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaylanChen%2Fexpress-handlebars-memory-fs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaylanChen%2Fexpress-handlebars-memory-fs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaylanChen%2Fexpress-handlebars-memory-fs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JaylanChen","download_url":"https://codeload.github.com/JaylanChen/express-handlebars-memory-fs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaylanChen%2Fexpress-handlebars-memory-fs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267451152,"owners_count":24089293,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["express","express-handlebars","memory-fs","webpack","webpack-dev-middleware"],"created_at":"2024-11-28T08:09:04.343Z","updated_at":"2025-12-30T21:57:50.047Z","avatar_url":"https://github.com/JaylanChen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Enhances [express-handlebars](https://github.com/ericf/express-handlebars) to support read hanblebars files from memory\n========================================\n\nP.S：webpack 4.x please use version 1.x\n\nInstallation\n------------\nYou must be running express, express-handlebars, webpack, webpack-dev-middleware on node.\n\nInstall the plugin with npm:\n```shell\n$ npm install --save-dev express-handlebars-memory-fs\n```\n\nUsage\n-----------\nUse the plugin in your node server.js:\n```javascript\nconst express = require('express');\nconst webpackDevMiddleware = require(\"webpack-dev-middleware\");\n\nconst expressHandlebarsMemoryFs = require('express-handlebars-memory-fs');\n\nconst app = express();\n// express-handlebars and other code\n\nlet webpackConfig = require(\"./build\");\nlet compiler = webpack(webpackConfig);\napp.use(webpackDevMiddleware(compiler, {\n    // webpack-dev-middleware options\n  })\n);\n\nexpressHandlebarsMemoryFs(compiler.outputFileSystem);\n```\n\nThis plugin does not do anything in the following cases.\n\n1、It will do anything if in a production environment(process.env.NODE_ENV === 'production')\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaylanchen%2Fexpress-handlebars-memory-fs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaylanchen%2Fexpress-handlebars-memory-fs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaylanchen%2Fexpress-handlebars-memory-fs/lists"}