image-downloader

image-downloader is a npm package which dowloads images using it’s url. There are several libraries which performs such functionality, but this library has it’s advantage. Some sites serve their images using backend script. For example, image url is composed as following http://somesite.com/image.php?name=dummy In this case, many libraries are not able to download the image but …

React Grid Layout

react-grid-layout is a draggable and resizable grid layout library for React projects. There are many use cases of this library and one of them is trello board. We can implement trello-like system very easily. Features: 100% React – no jQuery Compatible with server-rendered apps Draggable widgets Resizable widgets Static widgets Configurable packing: horizontal, vertical, or …

A method to block CORS attacks.

Cross-Origin Resource Sharing (CORS) is a mechanism that uses additional HTTP headers to tell a browser to let a web application running at one origin (domain) have permission to access selected resources from a server at a different origin. A web application executes a cross-origin HTTP request when it requests a resource that has a different origin (domain, protocol, and …

Keep npm modules up-to-date

There is a npm package which provides functionality to check the up-to-date status of the npm packages and update them to latest versions. Here is detail information about the package. https://www.npmjs.com/package/npm-check-updates Usage is simple Install the package using npm install -g npm-check-updates Check latest versions using ncu Update to latest versions using ncu -u

Auth0 authentication without redirect

Auth0 is an authentication service with provides oauth2-like authentication functionality. When we use oauth2 authentication, browsers are normally redirected to the auth domain and return back to our own domains with the access_token in the url. Sometimes we don’t like this redirect process and want to hide our authentication process to users. There is an …