Tag: javascript

Configuration builder in NodeJS with TypeScript

Recently I worked on a small requirement (in my personal test learning proj) of creating a configuration builder that satisfies following requirements: Ability to read default configuration from a file Ability to read environment specific configuration from a file Ability to override any defaults by command line options Ability to override and/or access any defaults … Continue reading Configuration builder in NodeJS with TypeScript

Some useful JavaScript functions

Some JavaScript techniques and functions that will be helpful in web development. 1. Toggling visibility of a table or a div or any other element: 2. Remove all child nodes of an element: 3. Validate radio group: 4. Sending an async request to server: 5. To hide/disable scroll bar of a browser: 6. Validate url … Continue reading Some useful JavaScript functions