Skip to content
forked from maticzav/emma-cli

📦 Terminal assistant to find and install node packages.

Notifications You must be signed in to change notification settings

athif23/emma-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emma 📦

CircleCI npm version npm Backers on Open Collective Sponsors on Open Collective

Install the package you are looking for.

Powered by Algolia search API, npm-suggestions and the Yarn package manager.

Overview

Emma is a command line assistant which helps you search and install packages more efficiently. Algolia's responsive and interactive features gives you the information you need to find the right package, while npm-suggestions make it quicker then ever to find the packages you need.

Features

  • Extremely fast: Search all the packages from NPM and Yarn using your terminal.
  • Suggestions: Get packages selected based on the ones you have already selected.
  • Build the stack: Search for multiple packages and install them with one keystroke.
  • Automatic tool detection: Detects whether it should use Yarn or NPM, out of the box.

Install

npm install -g emma-cli

Use Yarn or NPM to install.

Example

❯ emma-cli ~ emma
Search packages 📦  : grap
Search results:
  11   grap           loopingrage     Utility that GReps for gAPs and out of sequence line in log
  8.4m sass-graph     xzyfer          Parse sass files and extract a graph of imports
  3.7m @types/graphql DefinitelyTyped TypeScript definitions for graphql
❯ 2.9m graphql        graphql         A Query Language and Runtime which can target any service.
  1.8m graphlib       dagrejs         A directed and undirected multi-graph library
Suggestions results: Press Tab to select suggestions
  10.2m react-dom  facebook  React package for working with the DOM.
  14.6m prop-types facebook  Runtime type checking for React props and similar objects.
  7m    classnames JedWatson A simple utility for conditionally joining classNames toget
  65.3m lodash     lodash    Lodash modular utilities.
  7.2m  redux      reactjs   Predictable state container for JavaScript apps
Search powered by Algolia.

Picked: Press Space to install packages...
› react  16.5.1

API

Usage
$ emma

Options
--dev -D Add to dev dependencies.
--limit -L Number of packages shown, defaults to 5.

Example
$ emma -D

Run without package-name to enter live search.
Use keyboard to search through package library.
Use up/down to select packages.
Use enter to select a package.
Use tab to move between search/suggestions.
When query is empty use backspace to remove packages.
Click space to trigger the install.

Contributors

This project exists thanks to all the people who contribute.

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

License

MIT © Matic Zavadlal

About

📦 Terminal assistant to find and install node packages.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%