Giter Club home page Giter Club logo

atom-npm-helper's Introduction

npm-helper

apm Downloads JavaScript Standard Style

Demo

Search the npm registry and install packages from Atom. No more cycling between browsers, terminals and editors!

Installation

$ apm install npm-helper

Usage

There are three ways to use this extension:

Type-Ahead

In a JavaScript file, start typing import ' followed by the first few characters of the name of the package you'd like to install and wait for autocomplete to kick in. Select the package and you're done!

Install-and-Import

If you know the exact name of the package you'd like to install, hit alt-shift-i (ctrl-cmd-i on macOS) and enter it. An import statement will be generated for you.

Alternatively, you can type the name of the package into the editor, select it, and then use the keyboard shortcut to install it.

Search-and-Import

To search the npm registry, press alt-shift-n (ctrl-cmd-n on macOS) and enter a query. Select a package from the list of search results to install it and generate an import statement.

Alternatively, you can type your search query into the editor, select it, and then use the keyboard shortcut to start searching immediately.

Settings

enableAutocomplete

Autocompletes your import statements and installs packages.

autocompleteTimeout

How long to wait for autocompletion requests (in milliseconds).

searchTimeout

How long to wait for search requests (in milliseconds).

Acknowledgment

The autocomplete feature is powered by Constructor.io, who have graciously offered free use of their service.

Author

Tim De Pauw

License

MIT

atom-npm-helper's People

Contributors

timdp avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

blahah pdyxs

atom-npm-helper's Issues

Run npm in package root

npm can get confused if you run npm install in a subdir. Just happened to me with a relative path to cache in .npmrc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.