Gathering detailed insights and metrics for conversikit
Gathering detailed insights and metrics for conversikit
Gathering detailed insights and metrics for conversikit
Gathering detailed insights and metrics for conversikit
npm install conversikit
Typescript
Module System
Node Version
NPM Version
70.3
Supply Chain
98.2
Quality
76
Maintenance
100
Vulnerability
100
License
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
2,353
Last Day
1
Last Week
5
Last Month
76
Last Year
641
Latest Version
1.8.15
Package Id
conversikit@1.8.15
Unpacked Size
14.46 kB
Size
3.99 kB
File Count
3
NPM Version
6.14.17
Node Version
14.21.1
Published on
Nov 24, 2023
Cumulative downloads
Total Downloads
Last Day
-50%
1
Compared to previous day
Last Week
-44.4%
5
Compared to previous week
Last Month
245.5%
76
Compared to previous month
Last Year
-62.6%
641
Compared to previous year
CONVERSIKIT is a versatile JavaScript library that provides a wide range of functions for converting and transforming text and data. Whether you need to change letter casing, convert between different data formats, apply camel case formatting, or handle CSV and TSV data, CONVERSIKIT has you covered.
CONVERSIKIT is designed to simplify data processing and text manipulation tasks in your JavaScript projects. It offers a set of easy-to-use functions, each tailored for specific data transformation needs.
Case Conversion: Easily convert text to uppercase, lowercase, or capitalize case to meet your formatting requirements.
JSON and Array Conversion: Seamlessly switch between JSON and array data structures, making data interchange more convenient.
Camel Case Formatting: Convert strings to camel case, a common practice in JavaScript coding.
CSV and TSV Handling: Efficiently work with CSV (Comma-Separated Values) and TSV (Tab-Separated Values) data, both for reading and writing.
toConvertUpperCase(string)
toConvertLowerCase(string)
toConvertCapitalizeCase(string)
toConvertArrayJson(array)
toConvertJsonArray(array)
toConvertCamelCase(string)
toConvertCSVFile(data, fileName)
toConvertCSVToJson(path)
toConvertTSVToJson(path)
1const conversikit = require("conversikit"); 2 3async function example() { 4 const data = await conversikit.toConvertUpperCase("thank you my man"); // "THANK YOU MY MAN" 5 const data1 = await conversikit.toConvertLowerCase("thank you my Man"); // "thank you my man" 6 const data2 = await conversikit.toConvertCapitalizeCase("thank you my Man"); // "Thank You My Man" 7 8 console.log(data); 9 console.log(data1); 10 console.log(data2); 11} 12 13example();
1const conversikit = require("conversikit"); 2 3const data = [ 4 "name", 5 "Ankit", 6 "roll", 7 "10", 8 // ... (other key-value pairs) 9]; 10 11const jsonData = await conversikit.toConvertArrayJson(data); 12console.log("Result =", jsonData);
Output:
1Result = { 2 name: "Ankit", 3 roll: "10", 4 // ... (other key-value pairs) 5};
Note: If duplicate keys are present in the array, they will be handled gracefully.
1const conversikit = require("conversikit"); 2 3const data = "thank you"; 4const data1 = ""; 5const data2 = "thank"; 6const data3 = "we are programmer"; 7 8const result = await conversikit.toConvertCamelCase(data); // "thankYou" 9const result1 = await conversikit.toConvertCamelCase(data1); // "" 10const result2 = await conversikit.toConvertCamelCase(data2); // "thank" 11const result3 = await conversikit.toConvertCamelCase(data3); // "weAreProgrammer"
1const conversikit = require("conversikit"); 2 3const data = [ 4 { name: "test1", age: 10 }, 5 { name: "test2", age: 30 }, 6 // ... (other objects) 7]; 8 9const filename = "example.csv"; 10await conversikit.toConvertCSVFile(data, filename);
1const conversikit = require("conversikit"); 2const data = await conversikit.toConvertCSVToJson("give your file path name"); // e.g., "data.csv"
Output:
1Result = [ 2 { name: 1, age: 10, dob: "12-08-1997" }, 3 { name: "thank", age: 90, dob: "12-09-1995" }, 4];
1const conversikit = require("conversikit"); 2const data = await conversikit.toConvertTSVToJson("give your file path name"); // e.g., "data.csv" 3 4Name Age City 5John 30 New York 6Alice 25 Los Angeles 7Bob 35 Chicago
Output:
1Result = [ 2 { 3 "Name": "John", 4 "Age": "30", 5 "City": "New York" 6 }, 7 { 8 "Name": "Alice", 9 "Age": "25", 10 "City": "Los Angeles" 11 }, 12 { 13 "Name": "Bob", 14 "Age": "35", 15 "City": "Chicago" 16 } 17];
Arun Pradhan.
Feel free to reach out for questions, feedback, or contributions.
No vulnerabilities found.
No security vulnerabilities found.