build
This commit is contained in:
6
package-lock.json
generated
6
package-lock.json
generated
@ -5696,9 +5696,9 @@
|
||||
}
|
||||
},
|
||||
"markdown-builder": {
|
||||
"version": "0.8.1",
|
||||
"resolved": "https://registry.npmjs.org/markdown-builder/-/markdown-builder-0.8.1.tgz",
|
||||
"integrity": "sha512-zqOAYg8jqUM6gB4WkcJ/K5HkqPUL33VAqNrebHSxlkXcEcjDTeKMNqUC8/bND4tKRu72lRFrTmmGYRtlevvXZQ==",
|
||||
"version": "0.8.3-dev",
|
||||
"resolved": "https://registry.npmjs.org/markdown-builder/-/markdown-builder-0.8.3-dev.tgz",
|
||||
"integrity": "sha512-NJp9MW/odYYP8z1lEEwDW3k+iVnzW1xaJqwWbjlzsAAA1kZohi6Cf3bQkWKZsxPJTZACgYd/aKpmunLSD1u2Bw==",
|
||||
"requires": {
|
||||
"husky": "1.0.0-rc.14"
|
||||
}
|
||||
|
||||
@ -52,7 +52,7 @@
|
||||
},
|
||||
"homepage": "https://github.com/Chalarangelo/30-seconds-of-code#readme",
|
||||
"dependencies": {
|
||||
"markdown-builder": "^0.8.1"
|
||||
"markdown-builder": "^0.8.3-dev"
|
||||
},
|
||||
"jest": {
|
||||
"reporters": [
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||

|
||||

|
||||
# Snippets Archive
|
||||
These snippets, while useful and interesting, didn't quite make it into the repository due to either having very specific use-cases or being outdated. However we felt like they might still be useful to some readers, so here they are.
|
||||
## Table of Contents
|
||||
@ -44,7 +44,6 @@ JSONToDate(/Date(1489525200000)/); // "14/3/2017"
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
[⬆ Back to top](#table-of-contents)
|
||||
|
||||
### speechSynthesis
|
||||
@ -73,7 +72,6 @@ speechSynthesis('Hello, World'); // // plays the message
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
[⬆ Back to top](#table-of-contents)
|
||||
|
||||
### binarySearch
|
||||
@ -106,7 +104,6 @@ binarySearch([1, 4, 6, 7, 12, 13, 15, 18, 19, 20, 22, 24], 21); // -1
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
[⬆ Back to top](#table-of-contents)
|
||||
|
||||
### cleanObj
|
||||
@ -139,7 +136,6 @@ cleanObj(testObj, ['a'], 'children'); // { a: 1, children : { a: 1}}
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
[⬆ Back to top](#table-of-contents)
|
||||
|
||||
### collatz
|
||||
@ -161,7 +157,6 @@ collatz(8); // 4
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
[⬆ Back to top](#table-of-contents)
|
||||
|
||||
### countVowels
|
||||
@ -184,7 +179,6 @@ countVowels('gym'); // 0
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
[⬆ Back to top](#table-of-contents)
|
||||
|
||||
### factors
|
||||
@ -235,7 +229,6 @@ factors(-12, true); // [2,3]
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
[⬆ Back to top](#table-of-contents)
|
||||
|
||||
### fibonacciCountUntilNum
|
||||
@ -258,7 +251,6 @@ fibonacciCountUntilNum(10); // 7
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
[⬆ Back to top](#table-of-contents)
|
||||
|
||||
### fibonacciUntilNum
|
||||
@ -288,7 +280,6 @@ fibonacciUntilNum(10); // [ 0, 1, 1, 2, 3, 5, 8 ]
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
[⬆ Back to top](#table-of-contents)
|
||||
|
||||
### httpDelete
|
||||
@ -321,7 +312,6 @@ httpDelete('https://website.com/users/123', request => {
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
[⬆ Back to top](#table-of-contents)
|
||||
|
||||
### httpPut
|
||||
@ -358,7 +348,6 @@ httpPut('https://website.com/users/123', data, request => {
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
[⬆ Back to top](#table-of-contents)
|
||||
|
||||
### isArmstrongNumber
|
||||
@ -384,7 +373,6 @@ isArmstrongNumber(56); // false
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
[⬆ Back to top](#table-of-contents)
|
||||
|
||||
### isSimilar
|
||||
@ -411,7 +399,6 @@ isSimilar('tr','Rohit'); // false
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
[⬆ Back to top](#table-of-contents)
|
||||
|
||||
### levenshteinDistance
|
||||
@ -452,7 +439,6 @@ compareStrings('30-seconds-of-code', '30-seconds-of-python-code'); // 99.72 (%)
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
[⬆ Back to top](#table-of-contents)
|
||||
|
||||
### quickSort
|
||||
@ -484,7 +470,6 @@ quickSort([4, 1, 3, 2], true); // [4,3,2,1]
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
[⬆ Back to top](#table-of-contents)
|
||||
|
||||
### removeVowels
|
||||
@ -508,7 +493,6 @@ removeVowels("foobAr","*"); // "f**b*r"
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
[⬆ Back to top](#table-of-contents)
|
||||
|
||||
### solveRPN
|
||||
@ -562,7 +546,6 @@ solveRPN('2 3 ^'); // 8
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
[⬆ Back to top](#table-of-contents)
|
||||
|
||||
### howManyTimes
|
||||
@ -600,6 +583,5 @@ howManyTimes(100, -1); // Infinity
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
[⬆ Back to top](#table-of-contents)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user