conversikit
Advanced tools
Comparing version 1.7.1 to 1.7.2
{ | ||
"name": "conversikit", | ||
"version": "1.7.1", | ||
"version": "1.7.2", | ||
"description": "convert anything", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -6,7 +6,10 @@ # conversikit | ||
<b>toConvertUpperCase(string) :-</b> its used for update all letter to upper case | ||
<b>toConvertLowerCase(string) :-</b> its used for update all letter to lower case | ||
<b>toConvertCapitalizeCase(string) :-</b> Convert into capitalize word. | ||
<b>toConvertArrayJson(array) :-</b> Convert a array to json format. | ||
<h1>Example</h1> | ||
<h1>Example</h1> | ||
@@ -70,27 +73,29 @@ <code> | ||
Result = { | ||
name: 'Ankit', | ||
roll: '10', | ||
age: '17', | ||
gender: 'Male', | ||
address: '123 Main Street', | ||
city: 'Exampleville', | ||
state: 'ABC', | ||
zipcode: '12345', | ||
email: 'ankit@example.com', | ||
phone: '555-555-5555', | ||
parent_name: 'Parent Name', | ||
parent_phone: '555-555-5556', | ||
parent_email: 'parent@example.com', | ||
guardian_name: 'Guardian Name', | ||
guardian_phone: '555-555-5557', | ||
guardian_email: 'guardian@example.com', | ||
emergency_contact: 'Emergency Contact', | ||
emergency_phone: '555-555-5558', | ||
emergency_relationship: 'Relative', | ||
class: '10th Grade', | ||
section: 'A', | ||
school: 'Random High School' | ||
} | ||
Result = | ||
{ | ||
name: 'Ankit', | ||
roll: '10', | ||
age: '17', | ||
gender: 'Male', | ||
address: '123 Main Street', | ||
city: 'Exampleville', | ||
state: 'ABC', | ||
zipcode: '12345', | ||
email: 'ankit@example.com', | ||
phone: '555-555-5555', | ||
parent_name: 'Parent Name', | ||
parent_phone: '555-555-5556', | ||
parent_email: 'parent@example.com', | ||
guardian_name: 'Guardian Name', | ||
guardian_phone: '555-555-5557', | ||
guardian_email: 'guardian@example.com', | ||
emergency_contact: 'Emergency Contact', | ||
emergency_phone: '555-555-5558', | ||
emergency_relationship: 'Relative', | ||
class: '10th Grade', | ||
section: 'A', | ||
school: 'Random High School' | ||
} | ||
</code> | ||
@@ -100,3 +105,3 @@ <h5><b><u>If duplicate key is present in array -></u></b></h5> | ||
let data = ["hi", "hello", "thank man", "you","good","hi", "hello", "thank man", "you","good","hi", "hello", "thank man", "you","good"]; | ||
let data = ["hi", "hello", "thank man", "you","good","hi", "hello", "thank man", "you","good","hi", "hello", "thank man", "you","good"]; | ||
@@ -103,0 +108,0 @@ let data1 = await conversikit.toConvertArrayJson(data); |
6307
121