JS find string contains in string If you want to check whether substring present or not in javascript then following are methods you can use: JavaScript Search() method to check whether the…
Year: 2019
tilde (~) and a caret (^) in a npm package.json file
What is tilde (~) and a caret (^) in an npm package.json file? If you are using npm to manage your app, then you know that we will use package.json for managing dependencies….
Javascript detect connection speed
JavaScript detect connection speed Ever feel like your internet is running slow? Webpages seem sluggish while uploads and downloads take forever! It’s very frustrating, especially when you pay for high-speed internet. As…
Remove property from Javascript Object
How to remove property from a JavaScript object If you want to remove property from a JavaScript object then you can do by following ways. Remove JavaScript Object Property lets create one…
Ionic ios build fails, error archive not found : Error code 65 for command: xcodebuild with args
If you are working on ionic app, and you are trying to create iOS build then usually we use the following command: ionic cordova build ios OR ionic cordova build ios –device…
Mastering in Javascript | How do JavaScript closures work?
How do JavaScript closures work? When I started learning some advanced concepts of JavaScript that time I got to know about closures but when tried to understand it but it was like…
MongoDB remove unique constraint
MongoDB Remove the unique constraint: Src:https://en.wikipedia.org/wiki/MongoDB Today, I’m working on a RESTful API Using Node.js With Express and Mongoose example, and I ran into a problem with the MongoDB Schema: POST: { username:…
PM2 cheat sheet | PM2 commands | PM2 tutorial
PM2 PM2 (Process Manager): PM2 is a process manager for Node.JS apps when I want to keep node app to run in the background mostly use pm2 for it. I wanted to…
Fixing : An unexpected error occurred:latmap-stream/-/flatmap-stream-
Hello All, As you come on this page then I am sure that you got the following error while running yarn install An unexpected error occurred: “https://registry.yarnpkg.com/flatmap-stream/-/flatmap-stream-0.1.1.tgz: Request failed “404 Not Found””….
Mastering in Javascript | get size of json object
Mastering in Javascript: As a JavaScript developer, we have to handle multiple conditions with objects to match our requirements. So sometimes we need to find the length of the object. Get the…