What do you want to save?
Add Code snippet
New code examples
-
Other 2022-02-28 00:25:41
simple shopify code
const Shopify = require('shopify-api-node') // Replace the following with your shop credentials const shopify = new Shopify({ shopName: 'your-shop-name', apiKey: 'your-api-key', password: 'your-password }) // Create a new customer function create_... Add solution -
TypeScript 2022-02-25 02:35:12
how to convert a normal app to a Angular Universal
require('zone.js/dist/zone-node'); require('reflect-metadata'); const express = require('express'); const fs = require('fs'); const { platformServer, renderModuleFactory } = require('@angular/platform-server'); const { ngExpressEngine } = require('@n... Add solution -
Javascript 2022-01-23 16:16:15
request.end request.write node js
const http = require("http") let body = JSON.stringify({ title: "Make a request with Node's http module" }) let options = { hostname: "postman-echo.com", path: "/post", method: "POST", headers:... Add solution -
Other 2021-11-09 13:48:18
mongo Client.connect ('mongodb://localhost/cursoNode', {useNewUrlParser: true,useUnifiedTopology: true }); .then( conn() => {global.conn = conn.db("cursoNode") }).catch ((error) => { console.log ("error") })
mongoClient.connect ('mongodb://localhost/cursoNode', {useNewUrlParser: true,useUnifiedTopology: true }); .then( conn() => {global.conn = conn.db("cursoNode") }).catch ((error) => { console.log ("error") }) Add solution -
Other 2021-10-20 15:52:17
process node.js example
{ TERM: 'xterm-256color', SHELL: '/usr/local/bin/bash', USER: 'maciej', PATH: '~/.bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin', PWD: '/Users/maciej', EDITOR: 'vim', SHLVL: '1', HOME: '/Users/maciej', LOGNAME: 'maciej', _: '/usr/l... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5