🏠
Working from home
Pinned Loading
-
JS Crypto Encryption Service
JS Crypto Encryption Service 1'use strict'
2// use the following online tool for encryption and decryption testing
3// https://www.javainuse.com/aesgenerator
45const CryptoJS = require('crypto-js');
-
JS Upload Base64 Encoded Image to AW...
JS Upload Base64 Encoded Image to AWS S3 Bucket 1'use strict'
2const AWS = require("aws-sdk");
3const S3 = new AWS.S3();
45module.exports = async function (inputs, context) {
-
Export CSV File - React/Javascript
Export CSV File - React/Javascript 1import { zipObject } from 'lodash';
23export const CSVExport = csvData => {
4const { items, headers, filename } = csvData;
5 -
Remove Array Duplicates with new Set...
Remove Array Duplicates with new Set() in JS 1const testArr1 = ['pig', 'fox', 'zebra']
2const testArr2 = ['ferrari', 'fox', 'pig', 'maserati']
34// each value of a Set needs to be unique, so combining arrays that have
5// duplicate entries into a Set will auto-remove exact matches
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.