npm.io
1.4.4 • Published 3 years ago

@davidmarom/dm-common-utils

Licence
MIT
Version
1.4.4
Deps
2
Size
5 kB
Vulns
0
Weekly
0

dm common utils npm version

Common Utils

Everyday functions you always need.

Install

npm i @davidmarom/dm-common-utils

Use

import * as cu from '@davidmarom/dm-common-utils';
console.log(cu.getCUVer());
  • getCUVer() - get current version
  • isLetter(char)
  • isNum(char)
  • saveJSONtoLocalStorage(key, JSON)
  • getJSONfromLocalStorage(key)
  • findIntersection(arr1, arr2)
  • createBinaryTree()

Binary Tree
const  myTree = createBinaryTree();

myTree.insert('value');
myTree.find('value');
myTree.BFD();