New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

dwmg

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dwmg

Easy to use generator for Web Manifest with the ablity to export to JSON for use in Dynamic Manifest applications.

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

dwmg - Dynamic Web Manifest Generator

Easy to use generator for Web Manifest with the ablity to export to JSON for use in Dynamic Manifest applications.

Install

npm install dwmg

Usage

var manifest = new DWMG({
    name: "name",
    short_name: "short_name",
    start_url: "start_url",
    display: DWMG.displayTypes.standalone,
    background_color: "#000000",
    description: "description",
    theme_color: "#FFFFFF",
    orientation: DWMG.orientationTypes.natural,
    categories: ["category1", "category2"]
});

manifest.addIcon("/image.png", "48x48");
manifest.addIcon("/image2.png", DWMG.iconSizes.x72, "image/png");

manifest.addShortcut("Shortcut1", "/url");
manifest.addShortcut("Shortcut2", "/url", "Description");

Coming Soon

  • Verification of manifest configuration

Web App Manifests

Based on the following spec https://developer.mozilla.org/en-US/docs/Web/Manifest

LICENSE

MIT

Keywords

PWA

FAQs

Package last updated on 10 Aug 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts