It's All Writing.

Writing makes you happy.

Entries from 2019-08-01 to 1 month

How to get arrays intersection include duplicate values at node

Prerequisites There are two arrays has multiple elements as below. array1 is [ { "mail": "shinchi@its-all-writing.com", "hobby": "Walking" }, { "mail": "shinchi@its-all-writing.com", "hobby": "Playing the Bamboo Flute" }, { "mail": "kazuyo…

How to implement multiple key's group by at node

Prerequisites There are arrays has multiple elements as below. [ { "name": "SHINCHI, Takahiro", "mail": "shinchi@its-all-writing.com", "hobby": "Walking" }, { "name": "SHINCHI, Takahiro", "mail": "shinchi.xx@gmail.com", "hobby": "Playing t…

How to execute End-to-End Testing with WebdriverIO on CircleCI 2.0

It's easy way to execute Web application's End-toEnd testing that using circleci/node:latest and selenium/standalone-chrome:latest as image of Docker. I'll show sample .circleci/config.yml as below. version: 2 jobs: build: docker: - image:…

How to get Salesforce sObject's fields information by node

It's simple. You can use jsforce for this purpose. The describe method returns sObject's meta data. The environment and code is below. Enviroment node jsforce lodash Code const jsforce = require('jsforce'); const lodash = require('lodash')…