v1.2.10
[1.2.10] - 21-10-2022
Added
- Add some Sorting Algorithm;
- Array New Sort - Return a new array sorted based in the given one;
- Array Is Sorted - Check if the array is sorted;
- Get Position With Angle Distance;
- Is Falsy #84;
- Is Truthy #84;
- getBrowser - Returns the browser name #44;
- getBrowserVersion - Returns the browser version #44;
- getOS - Returns the OS name #44;
- getOSVersion - Returns the OS version #44;
- isMobile - Check if is in a mobile device #44;
Changed
Breaking Changes
- Move project from GitLab to GitHub;
- Change some functions names to array function;
- Move
toggleFullScreen
toDOM/toggleFullScreen
; - Only export
getDate
function fromgetDate
file; - Removed
nand
,nor
,not
andxnor
#88; - Move array functions to a folder #89;
- Move date function to device folder/namespace;
- Removed Games;
Usage
NPM
npm i 201flaviosilva-utils
import { randomNumber } from "201flaviosilva-utils";
console.log(randomNumber(1, 20));
CDN
<!-- index.html -->
<script src="https://cdn.jsdelivr.net/npm/201flaviosilva-utils@1.2.10/build/utils.min.js"></script>
<script src="./your-js-file.js"></script>
// ./your-js-file.js
console.log(randomNumber(1, 20));
Git Commits
- build d9d2943
- Update CHANGELOG.md 7c82fc5
- remove: games 4036781
- Merge pull request #95 from 201flaviosilva-labs/44-get-browser-data 8eb3cbf
- Update CHANGELOG.md f5852eb
- fix: fix jsdoc 6e4bd5f
- add: functions to get browser data #44 c81f718
- Merge pull request #92 from 201flaviosilva-labs/89-move-array-functions-to-a-folder c7bdfec
- fix: merge array random and array random functions 8c1d166
- refactor: Move array functions to a folder #89 237cbf4
- add: Bubble Sort and Insertion Sort algorithms 1974e18
- Merge pull request #91 from 201flaviosilva-labs/90-move-math-functions-to-a-folder c982f09
- refactor: move Maths function to Maths folder #90 63d1751
- Updated change log 09253ae
- Merge pull request #88 from 201flaviosilva-labs/23-update-logical-function-and-or-xor-etc-to-receive-more-than-just-2-parameters 8872c36
- Organize files and fix "and" and "or" function to receive multiple args 2473d08
- add examples to the functions 06c75f5
- move toggleFullScreen to DOM and only export getDate from getDate file 2c0e9f8
- Update DeployDoc.yml (#87) b13f0ee
- Merge pull request #86 from 201flaviosilva-labs/84-isfalsy 9bd6bfc
- Update getPositionWithAngleDistance.js 1b84561
- add: isFalsy and isTruthy functions #84 25b13f2
- add: getPositionWithAngleDistance 80b83a7
- update gitlab to github 3edd666
- Create codeql-analysis.yml 84be3e2
- add some array function 9260d39
- Merge branch 'main' of https://github.com/201flaviosilva-labs/javascript-utils into main 921adba
- Add some Sorting Algorithm 5d248aa
- Add Jest/MockStorage bd15949
- fix wiki 640f675
- update urls 65c564b
- Add snippets e13cd95
- add github action 20a0022