Neverending Programming Mistakes
Have opinions about JavaScript? We want to hear them. Take the 2018 JavaScript Ecosystem Survey »

@commonshost/manifest

2.4.3 • Public • Published

@commonshost/manifest 📑

HTTP/2 Server Push Manifest is a declarative configuration syntax for web servers, CDNs, and tools that offers web developers access to this powerful new protocol feature.

[
  {
    get: '/index.html',
    push: '**/*.{js,css}'
  }
]

Documentation

Supported Platforms

A manifest is an intermediary format which can be transpiled to the configuration syntax of CDN services or web servers.

CDN services: Commons Host, Cloudflare, Fastly, Netlify

Web servers: Apache, H2O, NGINX

Languages: Node.js/NPM

Note: Web browsers widely support HTTP/2 Server Push. The manifest is only needed on the server side.

JSON Schema

See: ./src/schema.js

Colophon

Made with 💘 by Sebastiaan Deckers and Sophie Yang for the 🐑 Commons Host project.

install

npm i @commonshost/manifest

Downloadsweekly downloads

31

version

2.4.3

license

ISC

homepage

gitlab.com

repository

Gitgitlab

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability