1.1.0 • Published 10 months ago

@hheinsoee/utility v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

String Function

noHtml()

import { noHtml } from "@hheinsoee/utility";
const htmltext = "<div>Hi Bro</div>";
noHtml(htmltext);
//output 'Hi Bro'

noMarkDown()

import { noMarkDown } from "@hheinsoee/utility";

const htmltext = "<div>Hi Bro</div>";
noMarkDown(htmltext);
//output 'Hi Bro'

OOP

removeDuplicates()

import { removeDuplicates } from "@hheinsoee/utility";
const duplicatesArray = [
  { id: 1, name: "Hein Soe" },
  { id: 1, name: "Hein Soe" },
  { id: 2, name: "Zin Mar" },
];
removeDuplicates(duplicatesArray);
/* output
[
    {id:1, name:'Hein Soe'},
    {id:2, name:'Zin Mar'},
]
*/

Docu later

findDuplicates();
makeUp();
isRequired();
snakeToCamelObject();
makeFresh();
search();
findDuplicates();
removeDuplicates();
noHtml();
noMarkdown();
snakeToTitleCase();
snakeToCamel();
1.1.0

10 months ago

1.0.9

10 months ago

1.0.8

10 months ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago