{"id":16047183,"url":"https://github.com/nylen/vim-node-require-helper","last_synced_at":"2026-02-26T20:33:34.456Z","repository":{"id":137376381,"uuid":"14243693","full_name":"nylen/vim-node-require-helper","owner":"nylen","description":"Plugin for Node.vim ( https://github.com/moll/vim-node ) to help with managing require() statements","archived":false,"fork":false,"pushed_at":"2013-11-08T20:33:48.000Z","size":104,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-02T22:27:04.796Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"VimL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nylen.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":"2013-11-08T20:32:58.000Z","updated_at":"2020-02-23T03:02:59.000Z","dependencies_parsed_at":"2023-04-04T08:17:45.555Z","dependency_job_id":null,"html_url":"https://github.com/nylen/vim-node-require-helper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nylen%2Fvim-node-require-helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nylen%2Fvim-node-require-helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nylen%2Fvim-node-require-helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nylen%2Fvim-node-require-helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nylen","download_url":"https://codeload.github.com/nylen/vim-node-require-helper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240137064,"owners_count":19753659,"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-10-09T00:04:44.276Z","updated_at":"2025-11-11T20:31:25.905Z","avatar_url":"https://github.com/nylen.png","language":"VimL","funding_links":[],"categories":[],"sub_categories":[],"readme":"Node.vim require() helper\n=========================\n\nA plugin for [Node.vim](https://github.com/moll/vim-node) that manages your\n`require()` statements for you.\n\nThe plugin defines the commands `:Require` and `:Unrequire`, and aliases them\nto `:R` and `:UR` if those command names are available.  These commands will\nmanage the `require()` statements in a Node.js module for you, keeping the\nstatements sorted and aligned.\n\nThese commands assume that all `require()` statements appear in a single block\nnear the top of the file with no blank lines in between statements.  They can\nbe used as follows:\n\n    # Add: async = require('async')\n    :Require async\n\n    # Add: somelib = require('./lib/somelib')\n    :Require ./lib/somelib\n\n    # Add: _ = require('lodash')\n    :Require _=lodash\n\n    # Add: MongoClient = require('mongodb').MongoClient\n    :Require MongoClient=mongodb.MongoClient\n    # or:\n    :Require mongodb.MongoClient\n\nThose parameters will all work with the corresponding `:Unrequire` command, but\nthere, all you really need to specify is the module name (the part inside the\n`require('...')` quotes).\n\nInstallation\n------------\n\nFirst, install Node.vim:\n\n```\ngit clone https://github.com/moll/vim-node.git ~/.vim/bundle/vim-node\n```\n\nThen, install this plugin:\n\n```\ngit clone https://github.com/nylen/vim-node-require-helper.git ~/.vim/bundle/vim-node-require-helper\n```\n\nIf you're using [Pathogen](https://github.com/tpope/vim-pathogen) or similar\n(which you should), that's all you have to do.  Otherwise you'll have to add\nthe directories to your `runtimepath` yourself.\n\nLicense\n-------\nThe Node.vim require() helper is released under a *Lesser GNU Affero General\nPublic License*, which in summary means:\n\n- You **can** use this program for **no cost**.\n- You **can** use this program for **both personal and commercial reasons**.\n- You **do not have to share your own program's code** which uses this program.\n- You **have to share modifications** (e.g bug-fixes) you've made to this program.\n\nFor more convoluted language, see the `LICENSE` file.\n\n\nAbout\n-----\nIf you find that this plugin needs improving or you've got a question, please\ndon't hesitate to\n[create an issue online](https://github.com/nylen/vim-node-require-helper/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnylen%2Fvim-node-require-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnylen%2Fvim-node-require-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnylen%2Fvim-node-require-helper/lists"}