{"id":28298888,"url":"https://github.com/shaneikennedy/npm.el","last_synced_at":"2026-03-08T04:31:37.749Z","repository":{"id":41816747,"uuid":"242469881","full_name":"shaneikennedy/npm.el","owner":"shaneikennedy","description":"NPM client for emacs","archived":false,"fork":false,"pushed_at":"2024-12-22T12:10:04.000Z","size":9168,"stargazers_count":26,"open_issues_count":5,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-18T11:50:58.723Z","etag":null,"topics":["emacs","javascript","npm","npm-client"],"latest_commit_sha":null,"homepage":"","language":"Emacs Lisp","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shaneikennedy.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":"2020-02-23T06:41:37.000Z","updated_at":"2025-01-03T17:42:05.000Z","dependencies_parsed_at":"2022-08-11T18:20:45.372Z","dependency_job_id":null,"html_url":"https://github.com/shaneikennedy/npm.el","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/shaneikennedy/npm.el","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaneikennedy%2Fnpm.el","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaneikennedy%2Fnpm.el/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaneikennedy%2Fnpm.el/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaneikennedy%2Fnpm.el/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shaneikennedy","download_url":"https://codeload.github.com/shaneikennedy/npm.el/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shaneikennedy%2Fnpm.el/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30245215,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T00:58:18.660Z","status":"online","status_checked_at":"2026-03-08T02:00:06.215Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["emacs","javascript","npm","npm-client"],"created_at":"2025-05-23T06:15:06.827Z","updated_at":"2026-03-08T04:31:37.740Z","avatar_url":"https://github.com/shaneikennedy.png","language":"Emacs Lisp","funding_links":[],"categories":["Emacs Lisp"],"sub_categories":[],"readme":"# npm.el\n[![MELPA](https://melpa.org/packages/npm-badge.svg)](https://melpa.org/#/npm)\n[![MELPA Stable](https://stable.melpa.org/packages/npm-badge.svg)](https://stable.melpa.org/#/npm)\n[![Actions Status](https://github.com/shaneikennedy/npm.el/workflows/check/badge.svg)](https://github.com/shaneikennedy/npm.el/actions)\n\n\nThis is an npm client for emacs.\n\n## Important\nThere is another package [npm-mode](https://github.com/mojochao/npm-mode) that serves a similar purpose to this package. npm-mode offers a way to execute npm commands quickly using key-bindings whereas this package makes use of [transient.el](https://github.com/magit/transient) to offer a more graphical user experience for interacting with npm that I find to be advantageous for exploration and in general when you aren't totally familiar with npm or your current node project. Since both packages serve a similar purpose, they both define a mode called `npm-mode` and as such there would likely be conflicts if both packages were installed. **Choose the package that best fits your desired NPM workflow**.\n\n## Install\nThis package is available on MELPA\n\n### Using `use-package`\n\n``` emacs-lisp\n(use-package npm\n    :ensure t)\n```\n\n## Usage\n`M-x npm`\n\n|![Startup screen for npm](assets/npm-startup.png \"NPM startup\")        | ![Run screen for npm](assets/npm-run.png \"NPM run\") |\n:----------------------------------------------------------------------:|:-------------:\n![Install screen for npm](assets/npm-install.png \"NPM install\")         | ![Update screen for npm](assets/npm-update.png \"NPM update\")\n\n\n### Common workflows\n\nIf you use this package to run your dev server, then the default configuration in this package will kill the process every time you need to install/update a package or run a different script (aka not ideal). To keep your dev server (or any long running process) running while you run your other npm workflows with this package, you can set `npm-common-buffer-name-function` to `npm-common-create-unique-buffer-name` which will generate a unique buffer name for each of your workflows. You can set this directly with `setq` or through the cusomtimzation menu for `npm`.\n\n\nAs of right now this package only supports the `npm run, test, install, update, and publish` commands but I hope to add more functionality soon. If you have a command you would really like to see added here please open an issue!\n\nNPM test uses the [emacs-jest](https://github.com/Emiller88/emacs-jest/tree/4c6ddd3304e199211f0fbdc8a5b83ccbfe1f7fcc) package by default. If you want to run your project's custom test script, for now, use npm-run and choose \"test\".\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaneikennedy%2Fnpm.el","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshaneikennedy%2Fnpm.el","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshaneikennedy%2Fnpm.el/lists"}