{"id":13798068,"url":"https://github.com/parro-it/electron-input-menu","last_synced_at":"2025-08-19T19:04:10.300Z","repository":{"id":57221710,"uuid":"53347090","full_name":"parro-it/electron-input-menu","owner":"parro-it","description":"Context menu for electron input elements.","archived":false,"fork":false,"pushed_at":"2020-06-03T09:20:44.000Z","size":42,"stargazers_count":102,"open_issues_count":4,"forks_count":14,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-15T06:55:25.086Z","etag":null,"topics":[],"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/parro-it.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-03-07T18:05:08.000Z","updated_at":"2022-12-29T19:43:58.000Z","dependencies_parsed_at":"2022-08-29T04:10:10.046Z","dependency_job_id":null,"html_url":"https://github.com/parro-it/electron-input-menu","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parro-it%2Felectron-input-menu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parro-it%2Felectron-input-menu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parro-it%2Felectron-input-menu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parro-it%2Felectron-input-menu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parro-it","download_url":"https://codeload.github.com/parro-it/electron-input-menu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249023713,"owners_count":21199958,"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":[],"created_at":"2024-08-04T00:00:38.534Z","updated_at":"2025-04-15T06:55:32.806Z","avatar_url":"https://github.com/parro-it.png","language":"JavaScript","readme":"# electron-input-menu\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/parro-it/electron-input-menu.svg)](https://greenkeeper.io/)\n\n\u003e Context menu for [electron](https://github.com/atom/electron) input elements.\n\n[![Travis Build Status](https://img.shields.io/travis/parro-it/electron-input-menu.svg)](http://travis-ci.org/parro-it/electron-input-menu)\n[![NPM module](https://img.shields.io/npm/v/electron-input-menu.svg)](https://npmjs.org/package/electron-input-menu)\n[![NPM downloads](https://img.shields.io/npm/dt/electron-input-menu.svg)](https://npmjs.org/package/electron-input-menu)\n\n# Installation\n\n```bash\nnpm install --save electron-input-menu\n```\n\n# Usage\n\nThis module expose a middleware for [electron-contextmenu-middleware](https://github.com/parro-it/electron-contextmenu-middleware).\n\nTo use input context menu, you have to require this module and `electron-contextmenu-middleware` in `renderer` process and then mount this module as a middleware.\n\n```js\n  const inputMenu = require('electron-input-menu');\n  const context = require('electron-contextmenu-middleware');\n\n  context.use(inputMenu);\n\n  context.activate();\n```\n\n# Keyboard shortcuts\n\n`electron-input-menu` can also register shortcuts on DOM `document` object to handle copy, paste, cut, selectAll, undo and redo action. This is useful if your app doesn't provide an \"Edit\" menu that can handle this shortcuts.\n\nTo activate the shortcuts, call the `registerShortcuts` method in renderer process.\n\n```js\n  const inputMenu = require('electron-input-menu');\n  inputMenu.registerShortcuts();\n```\n\n\n# Related projects\n\n* [electron-contextmenu-middleware](https://github.com/parro-it/electron-contextmenu-middleware) - Build `electron` context menus composing multiple middlewares functions.\n\n* [debug-menu](https://github.com/parro-it/debug-menu) - Chrome-like \"inspect element\" context-menu.\n\n\n\n# License\n\nThe MIT License (MIT)\n\nCopyright (c) 2016 parro-it\n","funding_links":[],"categories":["Library","Components"],"sub_categories":["UI","Using Electron"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparro-it%2Felectron-input-menu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparro-it%2Felectron-input-menu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparro-it%2Felectron-input-menu/lists"}