项目作者: algolia

项目描述 :
⚛️ Search & install npm packages from import/require statements.
高级语言: JavaScript
项目地址: git://github.com/algolia/atom-autocomplete-module-import.git
创建时间: 2017-06-22T15:21:08Z
项目社区:https://github.com/algolia/atom-autocomplete-module-import

开源协议:Other

下载


⚛️ Atom Autocomplete Module Import

Search & install NPM packages from import/require statements powered by Algolia.

demo

Changelog

Features

This Atom Plugin allows you to quickly find and install any npm module as you are writing your require() / import statements:

  • Fast & Relevant autocomplete search powered by Algolia.
  • Install modules without having to leave Atom.
  • Yarn and NPM support.
  • Save package as dependencies, devDependencies, peerDependencies or optionalDependencies.
  • Support for require() and ES2015 import module syntax.

You can read more about the story behind in this blog post.

Installation

  1. apm install autocomplete-module-import

Usage

In a JavaScript file type require(' (or from ') and the plugin will automatically suggest relevant packages from the NPM registry.

Once you confirm your selection, the plugin will ask if you want to install the dependency if it’s not already installed.

Copyright (c) 2017 Algolia. Code released under the MIT license.