{"id":13540770,"url":"https://github.com/pastak/wemf","last_synced_at":"2025-05-08T07:40:39.302Z","repository":{"id":3864091,"uuid":"51160373","full_name":"pastak/wemf","owner":"pastak","description":"Format manifest.json in Chrome Extension, Firefox WebExtension and Extension for Edge","archived":false,"fork":false,"pushed_at":"2022-03-27T05:37:48.000Z","size":299,"stargazers_count":16,"open_issues_count":8,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T01:48:19.352Z","etag":null,"topics":["chrome-extension","edge-extension","format-manifeston","webextensions"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pastak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-05T16:56:57.000Z","updated_at":"2022-12-18T09:34:03.000Z","dependencies_parsed_at":"2022-08-06T14:15:36.349Z","dependency_job_id":null,"html_url":"https://github.com/pastak/wemf","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pastak%2Fwemf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pastak%2Fwemf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pastak%2Fwemf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pastak%2Fwemf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pastak","download_url":"https://codeload.github.com/pastak/wemf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253003120,"owners_count":21838645,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chrome-extension","edge-extension","format-manifeston","webextensions"],"created_at":"2024-08-01T10:00:32.532Z","updated_at":"2025-05-08T07:40:39.282Z","avatar_url":"https://github.com/pastak.png","language":"JavaScript","funding_links":[],"categories":["Tools"],"sub_categories":["Development"],"readme":"# WebExtension Manifest Formatter\n\n[![Build Status](https://travis-ci.org/pastak/wemf.svg?branch=master)](https://travis-ci.org/pastak/wemf)\n\n[![](https://nodei.co/npm-dl/wemf.png?months=3)](https://www.npmjs.com/package/wemf)\n\n[![](https://nodei.co/npm/wemf.png?downloads=true\u0026downloadRank=true\u0026stars=true)](https://www.npmjs.com/package/wemf)\n\n\nFormatter and validator for manifest.json on Chrome Extension / Firefox WebExtension / Extension for Edge.\n\n## Install\n\n`% npm install -g wemf`\n\n## Usage\n\n```\n  Usage: wemf \u003cpackageJsonPath\u003e [options]\n\n  Options:\n\n    -h, --help          output usage information\n    -V, --version       output the version number\n    --validate          Only validate manifest.json\n    -O --output \u003cpath\u003e  Output manifest.json path\n    -U --update         Update manifest.json itself\n    --browser \u003cbrowser-name\u003e  Set target browser (chrome|firefox|edge) default: firefox\n```\n\n### Formatter\n\n`% wemf /path/to/chrome-ext/manifest.json -O /path/to/firefox-ext/manifest.json`\n\n### Validate\n\n`% wemf /path/to/firefox-ext/manifest.json --validate`\n\nif it has no problem, return nothing\n\n### Tips\n\n#### Set custom value via `package.json`\n\nIf you want to fill columns (ex: `applications`) automatically, you should write `webextension` column on project's `package.json`.\n\nExample\n\n```js\n{\n  \"name\": \"hoge\",\n  ...\n  \"webextension\": {\n    \"name\": 'extension-name',\n    \"applications\": {\n      \"gecko\": {\n        \"id\": \"sample-extension@example.org\",\n        \"strict_min_version\": \"47.0a1\"\n      }\n    }\n  }\n}\n```\n\n#### inherit value from `package.json`\n\nWhen `name`, `version`, `author`, `description` or `homepage_url` is filled `inherit`, `manifest.json`'s field will be filled by same key name value from `package.json` (`homepage_url` will be filled by `homepage` in `package.json`)\n\n## information\n\nPlease check newest information\n\n- [WebExtensions - MozillaWiki](https://wiki.mozilla.org/WebExtensions)\n- [Are we Web Extensions yet?](http://www.arewewebextensionsyet.com/)\n- [Chrome incompatibilities - Mozilla | MDN](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Chrome_incompatibilities)\n- [manifest.json - Mozilla | MDN](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/manifest.json)\n\n## Development\n\nWelcome your Pull Request!!\n\nPlease fork it and send Pull Request to this repository.\n\n### Testing\n\n`% npm test`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpastak%2Fwemf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpastak%2Fwemf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpastak%2Fwemf/lists"}