is-wds1338 1.0.0 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ {
2
+
3
+ "javascript.validate.enable": true,
4
+ "javascript.suggestionActions.enabled": false
5
+ }
package/index.js CHANGED
@@ -2,5 +2,19 @@ function isWds(string) {
2
2
  return string == 'WDS'
3
3
  }
4
4
 
5
+ function sendGet(url) {
6
+
7
+
8
+ fetch(url, {
9
+ method: "GET" // default, so we can ignore
10
+ }).then( (response) => {
11
+ console.log("response.status =", response.status);
12
+ })
13
+ }
14
+
15
+
16
+ module.exports = {
17
+ sendGet,
18
+ isWds
19
+ };
5
20
 
6
- module.exports = isWds
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "is-wds1338",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Is the string WDS?",
5
5
  "main": "index.js",
6
6
  "scripts": {