• Sign in
  • Sign up 
  • Welcome
  • FAQ
  • Switch to Night Mode
  • Stolen Accounts Recovery 
  • Change Account Password 
  • Vote for Witnesses 
  • Steem Proposals 
  • Developer Portal 
  • Steem Bluepaper 
  • SMT Whitepaper 
  • Steem Whitepaper 
  • Privacy Policy
  • Terms of Service
Homeby Witness Moecki
LoginSign up

ETL

drago18121996 (68)in #ita • 7 months ago

export function transform(old: {[key: string]: string[]}) {
let expected: {[key: string]: number} = {};
for(const [keys, values] of Object.entries(old)){
for(const elm of values){
expected[elm.toLowerCase()] = Number(keys);
}
}
return expected;
}

#live #life #information #society
7 months ago in #ita by drago18121996 (68)
$0.02
  • Past Payouts $0.02
  • - Author $0.01
  • - Curators $0.01
2 votes
  • + sbi4
  • + boylikegirl.wit
Reply 0