# pack
-
JavaScript _ 2021-08-16
White-labeling React apps
A white label app is an app that we build once and "resell" it to other people/companies. Very often we are talking about applying different themes but sometimes we have to change logic too. Such changes should be as declarative as possible so they scale well. Otherwise is more of a copy/paste exercise. In this article I want to sketch out a couple of approaches for white labeling in React applications.
-
JavaScript _ 2020-03-30
Create your own Covid-19 data tracker
I'm continuing to experiment with React and TypeScript. The weekend-long project this time was a Covid-19 data tracker. In this blog post I will share how I built c19stats.now.sh. I exposed the data as a public API at the same URL. I guess you, as many other people, follow the situation so you may want to glue your fingers on the keyboard and create something useful around the data. I got lots of fun playing with the diagrams.
-
JavaScript _ 2020-02-23
Webpack/TypeScript/React starter kit as of 2020
I just started using TypeScript. I did couple of React projects and noticed a pattern in the setup. I decided to export that to a starter kit π beginning. It is based on Webpack with Babel and TypeScript loader.
-
JavaScript _ 2020-01-12
Hopa - zero config CLI that runs JavaScript and TypeScript
Yesterday was one of those days. I stumbled a task and wanted to find the right tool for it. That same task is on my way at least twice a week and I always refuse to optimize it. Because it was a weekend I decided to spend some time and research a proper tool for the job. Well, I find nothing that suites my need. I time-boxed a hour and said F.ck it!. I will code it myself. That's how Hopa was born - a zero config CLI that runs JavaScript and TypeScript. Transpiles, bundles, watches and executes code.
-
JavaScript _ 2016-05-11
Thoughts on semantic versioning, npm and JavaScript ecosystem as a whole
If you are front-end developer dealing with single page applications you probably know that JavaScript ecosystem is not perfect at all. A few things may go wrong and break your build. In this article Iβll go through those features. Features which are, by my humble opinion, problematic.
-
JavaScript _ 2015-12-30
Start your own JavaScript library using webpack and ES6
Two months ago I published a starter pack for React based on webpack. Today I found out that I need almost the same thing but without the React bit. This simplifies the setup but there are still some tricky parts. So, I made a brand new repository webpack-library-starter and placed all the stuff that we need for creating a JavaScript library.
-
JavaScript _ 2015-12-23
Using Mocha with ES6 spec files
The new ES6 specification of JavaScript simply works better for me. It helps expressing my ideas in a shorter and cleaner way. So, I want to write ES6 everywhere. Even while Iβm testing my applications.
-
JavaScript _ 2015-10-01
A modern React starter pack based on webpack
Checkout React webpack starter in GitHub.
You know how crazy is the JavaScript world nowadays. There are new frameworks, libraries and tools coming every day. Frequently Iβm exploring some of these goodies. I got a week long holiday. I promised to myself that Iβll not code, read or watch about code. Well, itβs stronger than me. React werbpack starter is the result of my no-programming week.
-
Nodejs _ 2015-01-07
Fun playing with npm, dependencies and postinstall script
I like npm and the fact that I can install tons of stuff. Itβs great piece of software and helps me solve problems everyday. Yesterday I had to use a
postinstallscript and hit a problem. -
Must-see _ 2014-07-01
Packt Publishing celebrates 10 years with a special $10 offer
It has been 10 years since Packt Publishing embarked on its mission to deliver effective learning and information services to IT professionals. In that time, it has published over 2000 titles and helped projects become household names, awarding over $400,000 through its Open Source Project Royalty Scheme.
-
Nodejs _ 2013-03-16
AssetsPack - a friend of the front-end developer (pack your assets with NodeJS)
AssetsPack is a NodeJS module which helps in organization, compilation and minification of assets. It's meant to be used in local environment during the development process. It was made generally for HTML/CSS/JavaScript based applications.
-
PHP _ 2010-12-01
PHP: export data to XLS file
Sometimes it is necessary to present your data in format which is popular and easy to work with. In most cases the CSV format will fit perfectly you and your clients, but sometimes you have to export the information in XLS file. These several functions will help you to do that.