js-caesarcipher 1.1.2 → 1.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -32,7 +32,8 @@ console.log(cipher.result);
32
32
  Use the function `CaesarCipher.deCipher()`
33
33
 
34
34
  ```javascript
35
- CaesarCipher.deCipher("Jgnnq Yqtnf", 2)
35
+ let decipher = CaesarCipher.deCipher("Jgnnq Yqtnf", 2);
36
+ console.log(decipher)
36
37
  // The output will be "Hello World"
37
38
  ```
38
39
 
@@ -41,5 +42,6 @@ CaesarCipher.deCipher("Jgnnq Yqtnf", 2)
41
42
  Use the function `CaesarCipher.crack()`
42
43
 
43
44
  ```javascript
44
- CaesarCipher.crack("Jgnnq Yqtnf")
45
+ let crack = CaesarCipher.crack("Jgnnq Yqtnf");
46
+ console.log(crack);
45
47
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "js-caesarcipher",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "A JavaScript library for Caesar Cipher",
5
5
  "keywords": [
6
6
  "caesar cipher",