UNPKG

webpack-pwa-manifest

Version:

Progressive Web Application (PWA) Manifest Generator

18 lines (14 loc) 374 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = _default; function _default(obj, properties) { obj = obj || {}; var response = {}; if (typeof properties === 'string') properties = properties.split(/\s+/); for (var i in obj) { if (properties.indexOf(i) === -1) response[i] = obj[i]; } return response; }