Options
All
  • Public
  • Public/Protected
  • All
Menu

Package plugin-interactive-tools

@yarnpkg/plugin-interactive-tools

This plugin adds support for various interactive commands.

Install

yarn plugin import interactive-tools

Commands

Variables

Const SIMPLE_SEMVER

SIMPLE_SEMVER: RegExp = /^((?:[\^~]|>=?)?)([0-9]+)(\.[0-9]+)(\.[0-9]+)((?:-\S+)?)$/

Const client

client: object & object = algoliasearch(algolia.appId, algolia.apiKey).initIndex(algolia.indexName,)

Const targets

targets: string[] = [`regular`, `dev`, `peer`]

Functions

Const search

  • search(query: string, page?: number): Promise<object>

Object literals

Const algolia

algolia: object

apiKey

apiKey: string = `6fe4476ee5a1832882e326b506d14126`

appId

appId: string = `OFCNCOG2CU`

indexName

indexName: string = `npm-search`

Const plugin

plugin: object

commands

commands: SearchCommand[] = [search,upgradeInteractive,]

Generated using TypeDoc