{"id":45068,"library":"gulp-manifest","title":"gulp-manifest","description":"Gulp plugin to generate HTML5 Cache Manifest (appcache) files. Version 0.1.1 (last release August 2014). It is a gulp port of grunt-manifest, supporting options: cache, network, fallback, exclude, prefix, suffix, timestamp (default: true), and sha256 hash. Note: AppCache is deprecated in favor of Service Workers. No major updates expected.","status":"deprecated","version":"0.1.1","language":"javascript","source_language":"en","source_url":"https://github.com/hillmanov/gulp-manifest","tags":["javascript","gulp","gulpplugin","html5","manifest","appcache"],"install":[{"cmd":"npm install gulp-manifest","lang":"bash","label":"npm"},{"cmd":"yarn add gulp-manifest","lang":"bash","label":"yarn"},{"cmd":"pnpm add gulp-manifest","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Peer dependency for Gulp plugin ecosystem","package":"gulp","optional":false},{"reason":"Stream transformation used internally","package":"through2","optional":false},{"reason":"File system operations","package":"graceful-fs","optional":false}],"imports":[{"note":"Default export as a function.","wrong":"const manifest = require('gulp-manifest')","symbol":"manifest","correct":"import manifest from 'gulp-manifest'"},{"note":"CommonJS usage. No named export.","symbol":"manifest","correct":"const manifest = require('gulp-manifest')"}],"quickstart":{"code":"const gulp = require('gulp');\nconst manifest = require('gulp-manifest');\n\ngulp.task('manifest', function() {\n  return gulp.src(['build/**/*'], { base: './' })\n    .pipe(manifest({\n      hash: true,\n      preferOnline: true,\n      network: ['*'],\n      filename: 'app.manifest',\n      exclude: 'app.manifest'\n    }))\n    .pipe(gulp.dest('build'));\n});","lang":"javascript","description":"Shows a Gulp task that generates a cache manifest file with hashing, online preference, and network wildcard."},"warnings":[{"fix":"Migrate to Service Workers (e.g., Workbox).","message":"HTML5 AppCache is deprecated; use Service Workers instead.","severity":"deprecated","affected_versions":">=0.0.0"},{"fix":"Set timestamp: false and use hash: true for content-based caching.","message":"timestamp option invalidates cache on every build even if content unchanged.","severity":"gotcha","affected_versions":">=0.1.0"},{"fix":"Use prefix and suffix options instead of root.","message":"Version 0.1.0 changed the option 'root' to 'prefix' and 'suffix'.","severity":"breaking","affected_versions":"0.0.1 - 0.0.9"},{"fix":"Set base option in gulp.src, e.g., gulp.src(['build/**/*'], { base: './' }).","message":"Ensure gulp.src base option is set correctly; otherwise paths in manifest may be relative to cwd.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Configure your server to serve .manifest files as text/cache-manifest.","message":"filename defaults to 'app.manifest'; must be served with text/cache-manifest MIME type.","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"search_vec":"'0.1.1':14 '2014':18 'appcach':11,43,60 'august':17 'cach':9,30 'default':37 'deprec':45 'exclud':33 'expect':54 'fallback':32 'favor':47 'file':12 'generat':7 'grunt':26 'grunt-manifest':25 'gulp':2,4,22,56 'gulp-manifest':1 'gulpplugin':57 'hash':41 'html5':8,58 'javascript':55 'last':15 'major':52 'manifest':3,10,27,59 'network':31 'note':42 'option':29 'plugin':5 'port':23 'prefix':34 'releas':16 'servic':49 'sha256':40 'suffix':35 'support':28 'timestamp':36 'true':38 'updat':53 'version':13 'worker':50","created_at":"2026-06-07T12:53:12.624048+00:00","updated_at":"2026-06-07T12:53:12.624048+00:00","problems":[{"fix":"Run npm install gulp-manifest --save-dev and ensure require path is correct.","cause":"Package not installed or module path incorrect.","error":"Error: Cannot find module 'gulp-manifest'"},{"fix":"Use const manifest = require('gulp-manifest'); (no destructuring).","cause":"Using default import incorrectly in CommonJS environment.","error":"TypeError: manifest is not a function"},{"fix":"Check gulp.src pattern and base option; ensure files exist.","cause":"gulp.src glob matches no files or base path is wrong.","error":"Error: ENOENT: no such file or directory"}],"ecosystem":"npm","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/hillmanov/gulp-manifest","github":"https://github.com/hillmanov/gulp-manifest","docs":null,"changelog":null,"pypi":null,"npm":"gulp-manifest","openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-07","next_check":"2026-09-05","install_tag":null}}