Discussion

npm link

A command to symlink a package folder. Synopsis npm link (in package dir)npm link [<@scope>/]<pkg>[@<version>]alias: npm ln Description Package linking is a two-step process. First, npm link in a package folder will create a symlink in the global folder {prefix}/lib/node_modules/<package> that links to the package where the npm link command was executed. It will also link any bins in the package …

Discussion Javascript

Build carousel for items which have different width

Mostly we are using slick-carousel to implement slides in web development. It is great library to implement different types of layouts, animations, speeds and etc. To implement the carousel for items which have same width, we just need to specify the responsive settings for different screen size. To implement the carousel for items which have …

Discussion

Artillery Load Testing Introduction

Artillery is a Node.js package designed for testing backend systems, such as APIs. Out of the box, it supports your standard HTTP APIs, along with protocols like WebSockets. It also integrates with the Socket.io library for Node.js applications. Artillery also sports a plugin interface to extend its functionality. An important distinction to make with Artillery is that it’s …

AWS Discussion

Amazon SNS

Amazon Simple Notification Service (Amazon SNS) is a managed service that provides message delivery from publishers to subscribers (also known as producers and consumers). Publishers communicate asynchronously with subscribers by sending messages to a topic, which is a logical access point and communication channel. Clients can subscribe to the SNS topic and receive published messages using a supported endpoint …

Discussion Javascript

NPM rimraf

The UNIX command rm -rf for node. Install with npm install rimraf, or just drop rimraf.js somewhere. rimraf(f, [opts], callback) The first parameter will be interpreted as a globbing pattern for files. If you want to disable globbing you can do so with opts.disableGlob (defaults to false). This might be handy, for instance, if you have filenames that …