0.0.4 • Published 3 years ago
gen-manifest v0.0.4
gen-manifest
gen-manifest help to make manifest.
install
npm i -g gen-manifest
Usage
$ gen-manifest
lang:(en)
name: TestManifest
short_name:(TestManifest) Test
start_url:(/)
display:(standalone)
background_color:(#fff) #ddd
description: Test Manifest
icon file: test.svg
{
lang: 'en',
name: 'TestManifest',
short_name: 'Test',
start_url: '/',
display: 'standalone',
background_color: '#ddd',
description: 'Test Manifest',
icons: [
{
src: '/icons/icon-192x192.png',
sizes: '192x192',
type: 'image/png'
},
{
src: '/icons/icon-256x256.png',
sizes: '256x256',
type: 'image/png'
},
{
src: '/icons/icon-384x384.png',
sizes: '384x384',
type: 'image/png'
},
{
src: '/icons/icon-512x512.png',
sizes: '512x512',
type: 'image/png'
}
]
}
Output
- manifest.json
- icons
- icon-192x192.png
- icon-256x256.png
- icon-384x384.png
- icon-512x512.png