Javascript

Programming

Native Intl api now provides relative time strings

Want to convert date time into relative time strings like yesterday, tomorrow, 1 day ago, 1 week ago, then modern browser's native Intl is enough...

Read
Programming

Finally we have a perfect way to deep copy js object

Getting errors due to shallow copy? Here's the perfect modern way to deep copy a json object...

Read

Switching from ts-loader to babel-loader

How to switch from ts-loader to babel-loader for your webpack typescript build process and why does it makes sense to do so.

Read

Webpack notes

Summarized notes on webpack configuration

Read
Front-end

Creating UI components library with Angular

Concise steps to create a UI component library using angular and publish it to npm.

Read
Programming

Javascript Useful Snippets

Here is a collection of some useful JavaScript snippets.

Read