We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5466550 commit b65feebCopy full SHA for b65feeb
readme.md
@@ -3,18 +3,23 @@
3
4
> Node.js module. Checks for the presence of URL protocol without a slashes (colon-slash-slash)
5
6
+Version 2 requires Node.js >= 6.13.
7
8
## Install
9
-```
10
-$ npm i -S is-url-protocol-without-slashes
+```sh
11
+# NPM
12
+$ npm install is-url-protocol-without-slashes
13
+
14
+# Yarn
15
+$ yarn add is-url-protocol-without-slashes
16
```
17
18
19
## Usage
20
21
```js
-var isUrlProtocolWithoutSlashes = require('is-url-protocol-without-slashes');
22
+const isUrlProtocolWithoutSlashes = require('is-url-protocol-without-slashes');
23
24
isUrlProtocolWithoutSlashes('mailto:info@mail.com');
25
//=> true
0 commit comments