Detects what an input names.
A URL starts with http:// or https://; an image holds / or :; anything else is a plugin name, pl-x-v1.2.3 naming a version.
http://
https://
/
:
pl-x-v1.2.3
The input as typed.
What it names.
pluginInput_detect('pl-dircopy-v2.1.1'); // { kind: 'name', value: 'pl-dircopy', name: 'pl-dircopy', version: '2.1.1' } Copy
pluginInput_detect('pl-dircopy-v2.1.1'); // { kind: 'name', value: 'pl-dircopy', name: 'pl-dircopy', version: '2.1.1' }
Detects what an input names.
A URL starts with
http://orhttps://; an image holds/or:; anything else is a plugin name,pl-x-v1.2.3naming a version.