Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block dbvt10

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View getJsonResWithRp.js
* with request-promise
import boom from "@hapi/boom";
import rp from "request-promise";
const getJsonResWithRp = async ({ options }) => {
let resp = null;
View add string to
 * Add string to a specified line to a string
 * @param {*} prevText String
 * @param {*} lineNumber Number
 * @param {*} data String
You can’t perform that action at this time.