Skip to content

Instantly share code, notes, and snippets.

@vvo vvo/ysearch.md Secret
Created Feb 6, 2017

Embed
What would you like to do?
ysearch proposal
Yarn interactive search
Query: babel (typeahead like)
Results (2000):
babel-core v6.5.2 MIT 354K D/L   [DEP] [DEVDEP] [GLOBAL]
babel-loader v4.5.2 MIT 200K D/L [DEP] [DEVDEP] [GLOBAL]
babel-cli v3.4.5 MIT 100K D/L    [DEP] [DEVDEP] [GLOBAL]
babel-loader v4.5.2 MIT 200K D/L [DEP] [DEVDEP] [GLOBAL]
babel-cli v3.4.5 MIT 100K D/L    [DEP] [DEVDEP] [GLOBAL]

Web url: https://yarnpkg.com/search?q=babel
Search usage:
> Press arrow keys to highlight packages or select buttons
> Press `enter` to validate buttons
> Press `i` to show more information on an highlighted package (description, links, owners)
> Press `s` to focus and refine query
> Press `CMD+C` to quit interactive search

Jest did a typeahead experience too, see https://github.com/facebook/jest/pull/2324

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.