Skip to content

Commit f5a045c

Browse files
committed
updating db
1 parent 86f65d3 commit f5a045c

File tree

4 files changed

+17365
-14370
lines changed

4 files changed

+17365
-14370
lines changed

data/products/import.products.json

Lines changed: 283 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1300,6 +1300,289 @@
13001300
"tags": ["samples", "wavy", "curly", "coily", "low_porosity"],
13011301
"ingredients_raw": "water, polyquaternium-55, cocamidopropyl hydroxysultaine, aloe barbadensis leaf, pvp, tocopheryl acetate, citric acid, silk amino acids, polysorbate 20, ethylhexylglycerin, oleth-20, fragrance parfum, glycereth-2 cocoate, isostearamidopropyl morpholine lactate, phenoxyethanol, benzoic acid, disodium edta",
13021302
"description": "A light to medium-hold mousse that is great for all wave and curl types"
1303+
},
1304+
{
1305+
"name": "Perfect Volume Thickening & Conditioning Hair Masque",
1306+
"brand": "NatureLab Tokyo",
1307+
"buy_links": [
1308+
{
1309+
"url": "https://amzn.to/4afQcfA",
1310+
"retailer": "Amazon"
1311+
},
1312+
{
1313+
"url": "https://www.ulta.com/p/perfect-volume-thickening-conditioning-hair-masque-pimprod2047423?",
1314+
"retailer": "Ulta"
1315+
}
1316+
],
1317+
"product_categories": [
1318+
"deep_conditioners"
1319+
],
1320+
"tags": [
1321+
"samples",
1322+
"wavy",
1323+
"curly",
1324+
"low_porosity"
1325+
],
1326+
"ingredients_raw": "water, propanediol, panthenol, oryza sativa rice starch, glycerin, ammonium polyacryloyldimethyl taurate, polyquaternium-37, behentrimonium chloride, isopropyl alcohol, glyceryl stearate se, cetyl alcohol, oryza sativa rice bran extract, rosmarinus officinalis rosemary extract, helianthus, annuus sunflower extract, tocopherol, maltodextrin vp copolymer, sodium benzoate, potassium sorbate, fragrance, citric acid, ci 17200 red 33",
1327+
"description": "If most masks make your hair feel flat, try this one! It's light and contains volume-boosting ingredients."
1328+
},
1329+
{
1330+
"name": "Defining Custard",
1331+
"brand": "Rizos",
1332+
"buy_links": [
1333+
{
1334+
"url": "https://amzn.to/3ZHax7n",
1335+
"retailer": "Amazon"
1336+
},
1337+
{
1338+
"url": "https://www.ulta.com/p/curl-custard-pimprod2050198?sku=2636138",
1339+
"retailer": "Ulta"
1340+
}
1341+
],
1342+
"product_categories": [
1343+
"custards",
1344+
"gels"
1345+
],
1346+
"tags": [
1347+
"samples",
1348+
"wavy",
1349+
"curly",
1350+
"coily"
1351+
],
1352+
"ingredients_raw": "water aqua eau, glycerin, hydroxyethylcellulose, polyquaternium-11, xanthan gum, ethyl hexylglycerin, aloe barbadensis leaf juice, mangifera indica mango seed butter, cocos nucifera coconut fruit extract, litchi chinensis lychee fruit extract, disodium phosphate, polysorbate 60, sodium phosphate, potassium sorbate, fragrance parfum, phenoxyethanol, sodium benzoate, citric acid, limonene, linalool, benzyl salicylate, citral, coumarin",
1353+
"description": "A lightweight but moisturizing custard that takes the place of both a cream and a gel."
1354+
},
1355+
1356+
{
1357+
"name": "Curl Mousse",
1358+
"brand": "Pattern Beauty",
1359+
"buy_links": [
1360+
{
1361+
"url": "https://amzn.to/4t4OvZT",
1362+
"retailer": "Amazon"
1363+
},
1364+
{
1365+
"url": "https://www.ulta.com/p/curl-mousse-pimprod2033613?sku=2599191",
1366+
"retailer": "Ulta"
1367+
}
1368+
],
1369+
"product_categories": [
1370+
"foams"
1371+
],
1372+
"tags": [
1373+
"samples",
1374+
"wavy",
1375+
"curly",
1376+
"coily",
1377+
"low_porosity"
1378+
],
1379+
"ingredients_raw": "water aqua eau, polyquaternium-11, pvp, cocamidopropyl betaine, althaea officinalis root extract, glycerin, ricinus communis castor seed oil, argania spinosa kernel oil, caprylic capric triglyceride, biotin, polyglyceryl-4 caprate, polyglyceryl-6 caprylate, sodium chloride, c12-18 acid triglyceride, cocamidopropyl dimethylamine, sodium glycolate, sodium benzoate, benzyl alcohol, ethylhexylglycerin, fragrance parfum, benzyl benzoate, hexyl cinnamal, amyl cinnamal, hydroxycitronellal, linalool, citronellol, limonene, coumarin, geraniol",
1380+
"description": "The top mousse I tried in 2025 (tied with Miche). Great moisture, slip, and hold without being heavy."
1381+
},
1382+
{
1383+
"name": "Styling Cream",
1384+
"brand": "Pattern Beauty",
1385+
"buy_links": [
1386+
{
1387+
"url": "https://amzn.to/49KrZxV",
1388+
"retailer": "Amazon"
1389+
},
1390+
{
1391+
"url": "https://www.ulta.com/p/styling-cream-pimprod2016912?sku=2565539",
1392+
"retailer": "Ulta"
1393+
}
1394+
],
1395+
"product_categories": [
1396+
"creams"
1397+
],
1398+
"tags": [
1399+
"samples",
1400+
"curly",
1401+
"coily",
1402+
"high_porosity"
1403+
],
1404+
"ingredients_raw": "water aqua eau, butyrospermum parkii shea butter, cetearyl alcohol, glycerin, ceteareth-20, peg-40 hydrogenated castor oil, cocos nucifera coconut oil, peg-120 methyl glucose dioleate, theobroma cacao cocoa seed butter, potassium carbonate, rosmarinus officinalis rosemary leaf extract, helianthus annuus sunflower seed oil, caryodendron orinocense seed oil, cocos nucifera coconut fruit extract, prunus amygdalus dulcis sweet almond oil, peg-60 hydrogenated castor oil, aloe barbadensis leaf extract, hydrolyzed wheat protein, ethylhexylglycerin, caprylyl glycol, polysorbate 60, citric acid, phenoxyethanol, hydroxyethylcellulose, disodium edta, disodium phosphate, sodium phosphate, sodium benzoate, benzyl alcohol, phenethyl alcohol, potassium sorbate, sodium sulfite, fragrance parfum, benzyl benzoate, hexyl cinnamal, amyl cinnamal, hydroxycitronellal, linalool, citronellol, limonene, coumarin",
1405+
"description": "A thick, rich cream perfect for preventing dryness in coily and tightly textured hair."
1406+
},
1407+
{
1408+
"name": "Curl Gel",
1409+
"brand": "Pattern Beauty",
1410+
"buy_links": [
1411+
{
1412+
"url": "https://amzn.to/4qPPGuI",
1413+
"retailer": "Amazon"
1414+
},
1415+
{
1416+
"url": "https://www.ulta.com/p/curl-gel-pimprod2016693?sku=2565555",
1417+
"retailer": "Ulta"
1418+
}
1419+
],
1420+
"product_categories": [
1421+
"gels"
1422+
],
1423+
"tags": [
1424+
"samples",
1425+
"wavy",
1426+
"curly",
1427+
"coily"
1428+
],
1429+
"ingredients_raw": "water aqua eau, glycerin, cetearyl alcohol, aloe barbadensis leaf extract, cocos nucifera coconut oil, behentrimonium methosulfate, wheat amino acids, benzyl alcohol, hydrolyzed silk, caryodendron orinocense seed oil, cocos nucifera coconut fruit extract, rosmarinus officinalis rosemary leaf extract, helianthus annuus sunflower seed oil, peg-40 hydrogenated castor oil, peg-60 hydrogenated castor oil, cetrimonium chloride, citric acid, hydroxyethylcellulose, guar hydroxypropyltrimonium chloride, ethylhexylglycerin, disodium edta, potassium sorbate, sodium benzoate, phenethyl alcohol, caprylyl glycol, polysorbate 60, phenoxyethanol, disodium phosphate, sodium phosphate, sodium sulfite, fragrance parfum, benzyl benzoate, hexyl cinnamal, amyl cinnamal, hydroxycitronellal, linalool, citronellol, limonene",
1430+
"description": "A creamy humectant-rich gel that can serve as both your gel and cream."
1431+
},
1432+
{
1433+
"name": "Curl Defining Solid Shampoo",
1434+
"brand": "Ethique",
1435+
"buy_links": [
1436+
{
1437+
"url": "https://amzn.to/3Z3iMuo",
1438+
"retailer": "Amazon"
1439+
},
1440+
{
1441+
"url": "https://www.ulta.com/p/curl-defining-solid-shampoo-bar-pimprod2049144?sku=2634793",
1442+
"retailer": "Ulta"
1443+
}
1444+
],
1445+
"product_categories": [
1446+
"shampoos"
1447+
],
1448+
"tags": [
1449+
"samples",
1450+
"wavy",
1451+
"curly",
1452+
"coily"
1453+
],
1454+
"ingredients_raw": "sodium cocoyl isethionate, stearic acid, sodium cocoyl glycinate, coconut acid, theobroma cacao cocoa seed butter, butyrospermum parkii shea butter, betaine, behentrimonium methosulfate, brassica alcohol, sodium isethionate, aqua water, lactic acid, fragrance parfum, guar hydroxypropyltrimonium chloride, glycerine, cymbopogon flexuosus lemongrass oil, benzyl alcohol, sodium chloride, dehydroacetic acid, mica, hydroxypropylgluconamide, hydroxypropylammonium gluconate, tartaric acid, potassium benzoate, sodium benzoate, citral, geraniol, linalool, titanium dioxide ci 77891, chromium oxide greens ci 77288",
1455+
"description": "A curl-friendly hydrating bar option for your shower."
1456+
},
1457+
{
1458+
"name": "Curl Defining Solid Conditioner",
1459+
"brand": "Ethique",
1460+
"buy_links": [
1461+
{
1462+
"url": "https://amzn.to/3NUDnP7",
1463+
"retailer": "Amazon"
1464+
},
1465+
{
1466+
"url": "https://www.ulta.com/p/curl-defining-solid-conditioner-bar-pimprod2049143?sku=2634794",
1467+
"retailer": "Ulta"
1468+
}
1469+
],
1470+
"product_categories": [
1471+
"conditioners"
1472+
],
1473+
"tags": [
1474+
"samples",
1475+
"wavy",
1476+
"curly",
1477+
"coily",
1478+
"high_porosity"
1479+
],
1480+
"ingredients_raw": "behentrimonium methosulfate, brassica alcohol, theobroma cacao cocoa seed butter, jojoba esters, butyrospermum parkii shea butter, glycerine, caprylic capric triglyceride, stearic acid, ricinus communis castor seed oil, guar hydroxypropyltrimonium chloride, fragrance parfum, sodium methyl cocoyl taurate, benzyl alcohol, cymbopogon flexuosus lemongrass oil, mica, aqua water, dehydroacetic acid, hydroxypropylgluconamide, hydroxypropylammonium gluconate, tartaric acid, potassium benzoate, sodium benzoate, citral, geraniol, linalool, titanium dioxide ci 77891, chromium oxide greens ci 77288",
1481+
"description": "A curl-friendly hydrating conditioner bar option for your shower, make sure to use this generously to build slip"
1482+
},
1483+
{
1484+
"name": "HoliRoots Hair Oil",
1485+
"brand": "Fable & Mane",
1486+
"buy_links": [
1487+
{
1488+
"url": "https://amzn.to/4qKCBTt",
1489+
"retailer": "Amazon"
1490+
},
1491+
{
1492+
"url": "https://fableandmane.com/products/holiroots-hair-oil",
1493+
"retailer": "Fable & Mane"
1494+
}
1495+
],
1496+
"product_categories": [
1497+
"oils",
1498+
"pre-poo"
1499+
],
1500+
"tags": [
1501+
"samples",
1502+
"wavy",
1503+
"curly",
1504+
"coily",
1505+
"low_porosity"
1506+
],
1507+
"ingredients_raw": "caprylic capric triglyceride, carthamus tinctorius safflower seed oil, olea europaea olive fruit oil, withania somnifera root extract, simmondsia chinensis jojoba seed oil, ricinus communis castor seed oil, vitis vinifera grape seed oil, phyllanthus emblica fruit extract, sesamum indicum sesame seed oil, bacopa monnieri brahmi leaf extract, eclipta prostrata bhringraj extract, beta-sitosterol, aegle marmelos root extract, desmodium gangeticum root extract, gmelina arborea root extract, premna serratifolia root extract, solanum indicum root extract, solanum xanthocarpum root extract, stereospermum suaveolens root extract, oroxylum indicum root extract, tribulus terrestris root extract, uraria picta root extract, parfum fragrance, tocopherol, phenoxyethanol, squalene, glycyrrhiza glabra licorice root extract, benzyl salicylate, benzyl benzoate",
1508+
"description": "A lightweight oil that's perfect as a pre shampoo treatment to protect fragile ends from the washing process"
1509+
},
1510+
{
1511+
"name": "Strictly Curls Curl Envy Cream",
1512+
"brand": "Marc Anthony",
1513+
"buy_links": [
1514+
{
1515+
"url": "https://amzn.to/46jBXnA",
1516+
"retailer": "Amazon"
1517+
},
1518+
{
1519+
"url": "https://www.cvs.com/shop/marc-anthony-strictly-curls-curl-envy-cream-prodid-1013619",
1520+
"retailer": "CVS"
1521+
}
1522+
],
1523+
"product_categories": [
1524+
"creams"
1525+
],
1526+
"tags": [
1527+
"samples",
1528+
"curly",
1529+
"coily",
1530+
"high_porosity"
1531+
],
1532+
"ingredients_raw": "water aqua eau, cetyl alcohol, behentrimonium chloride, paraffinum liquidum, dimethicone, petrolatum, cetearyl alcohol, stearyl alcohol, cyclopentasiloxane, glycerin, persea gratissima avocado oil, butyrospermum parkii shea butter, glycine soja soybean oil, panthenol vitamin - b5, tocopheryl acetate vitamine, citric acid, cellulose, hydroxyethylcellulose, cetrimonium chloride, sodium acetate, tetrasodium edta, isopropyl alcohol, dmdm hydantoin, fragrance parfum, yellow 5 ci 19140, linalool, citral, benzyl benzoate, hexyl cinnamal, limonene",
1533+
"description": "A rich cream perfect for softening thick strand (coarse) hair"
1534+
},
1535+
{
1536+
"name": "Curl Defining Mousse",
1537+
"brand": "Rizos",
1538+
"buy_links": [
1539+
{
1540+
"url": "https://amzn.to/45AMzOH",
1541+
"retailer": "Amazon"
1542+
},
1543+
{
1544+
"url": "https://www.ulta.com/p/curl-defining-mousse-pimprod2040757?sku=2610059",
1545+
"retailer": "Ulta"
1546+
}
1547+
],
1548+
"product_categories": [
1549+
"foams"
1550+
],
1551+
"tags": [
1552+
"samples",
1553+
"wavy",
1554+
"curly",
1555+
"coily",
1556+
"low_porosity"
1557+
],
1558+
"ingredients_raw": "water aqua eau, glycerin, cocamidopropyl betaine, polysorbate 20, decyl glucoside, cocos nucifera coconut water, furcellaria lumbricalis red algae extract, cereus grandiflorus cactus flower extract, passiflora incarnata maracuj seed oil, aloe barbadensis aloe vera leaf powder, panthenol, salvia hispanica chia seed extract, linum usitatissimum linseed flaxseed seed extract, polyurethane-14, sodium laneth-40 maleate styrene sulfonate copolymer, amp-acrylates copolymer, aminomethyl propanol, leuconostoc radish root ferment filtrate, sodium chloride, tetrasodium glutamate diacetate, citric acid, caprylic acid, benzyl alcohol, xylitol, sorbic acid, fragrance parfum, potassium sorbate, ethylhexylglycerin, phenoxyethanol, benzyl benzoate, citral, coumarin, limonene, linalool, geraniol",
1559+
"description": "A lightweight mousse that has moderate-strong hold"
1560+
},
1561+
{
1562+
"name": "The Curl Friend Curl Shape & Stay Gel to Foam",
1563+
"brand": "Cake Beauty",
1564+
"buy_links": [
1565+
{
1566+
"url": "https://amzn.to/464RnMs",
1567+
"retailer": "Amazon"
1568+
},
1569+
{
1570+
"url": "https://www.walgreens.com/store/c/cake-the-curl-friend-curl-shape-%26-stay-gel-to-foam-lemon-meringue/ID=300452666-product",
1571+
"retailer": "Walgreens"
1572+
}
1573+
],
1574+
"product_categories": [
1575+
"foams"
1576+
],
1577+
"tags": [
1578+
"samples",
1579+
"wavy",
1580+
"curly",
1581+
"coily"
1582+
],
1583+
"ingredients_raw": "aqua water eau, decyl glucoside, polysorbate 20, cocamidopropyl betaine, cocos nucifera coconut oil, butyrospermum parkii shea butter, linum usitatissimum linseed seed extract, salvia hispanica chia seed extract, vp dimethylaminoethylmethacrylate copolymer, xanthan gum, hydroxypropyl guar, caprylyl glycol, citric acid, ethylhexylglycerin, phenoxyethanol, fragrance parfum, citral, limonene",
1584+
"description": "A perfect combo of a gel, leave-in, and foam so you just need one product to style your curls. Wonderful lemon meringue scent."
13031585
}
1586+
13041587
]
13051588
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "haircare-ingredients-analyzer",
3-
"version": "1.9.3",
3+
"version": "1.9.4",
44
"description": "Library for analyzing haircare product ingredients",
55
"main": "./dist/index.umd.js",
66
"module": "./dist/index.es.js",

scripts/csvToJson.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function productExists(productName) {
4141
// Function to read CSV file and convert to JSON
4242
async function convertCsvToJson() {
4343
// Paths
44-
const csvFilePath = path.join(__dirname, '../logs/products2.csv');
44+
const csvFilePath = path.join(__dirname, '../logs/new-products-jan.csv');
4545
const outputFilePath = path.join(__dirname, '../logs/products_new.json');
4646

4747
// Array to store the products

0 commit comments

Comments
 (0)