terser
Chart.js
Our great sponsors
terser | Chart.js | |
---|---|---|
27 | 183 | |
8,402 | 63,370 | |
1.2% | 0.5% | |
8.9 | 8.1 | |
16 days ago | 14 days ago | |
JavaScript | JavaScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
terser
-
Obfuscating your create react app and routes
During my intial search i came across some outdated libraries like javascript-obfuscator and uglify-js(as if javascript code can get any uglier, am I right?). Then, I stumbled upon Terser, a modern library that supports ES6.
-
10 Bad Habits That Can Slow Down Your JavaScript Applications 🐌
Example: You've got a main.js file that's as long as a Tolstoy novel. Fix: Use tools like UglifyJS or Terser to minify your code. They'll squeeze out all the unnecessary bits and give you a sleeker, faster-loading file.
-
Things you forgot because of React
They can do it, it is just turned off by default and require more advanced configuration.
https://github.com/terser/terser#cli-mangling-property-names...
-
Understanding Source Maps: Simplifying Debugging
Minifying is a common practice for optimizing production code. (for example, using Terser to minify and mangle JavaScript).
-
How To Secure Your JavaScript Applications
Minification: UglifyJS, Terser
-
Minify private methods in a TypeScript class
Terser is JavaScript compressor that can minified specific method names.
-
React Native CI/CD build speed improved by 22% with one line of code
Every release build of React Native uses terser to reduce the size of your JavaScript. And it operation can be omitted for Staging/Beta builds.
-
Setting up a custom toolchain
A minifier makes your code more compact so that it loads faster. Popular minifiers: Terser, swc.
-
Overview of the next-gen frontend dev tools
There are many minifiers such as terser and uglify. But, because minifying also require to parse the JS, it is actually possible to use esbuild and SWC to minify the code. Here's a benchmark of the main minifiers.
-
Rollup Library Starter
This next one will help us reduce final bundle size by minifying the generated code. It's called rollup-plugin-terser and uses terser under the hood to minify the code.
Chart.js
-
Working Camp Inquiry - Glam Up my Markup
ChartsJS for inspiring me with the pie chart.
-
React: A Mess That Shouldn't Exist In Web Development
Most of frontend libraries are made with Vanilla JS. An example of library that you might frequently use is "Chart.js". But React is not compatible with Chart.js so here it comes "React-chartjs-2" A wrapper library to work with Chart.js in React ecosystem. Oh you want to use "three.js" for some cool 3D? you will need "React-three/fiber". In my case, I need to implement "telegram-web-app", not so fast, I have to create my own wrapper to be able to use it.
-
Frontend Developer Roadmap
Chart.js
-
Alternatives to Chart.js - A Series Exploring JavaScript Chart Comparisons
Chart.js is a free, open-source JavaScript library for data visualization, which supports eight chart types: bar, line, area, pie, bubble, radar, polar and scatter. It's licensed under the permissive MIT license and is renowned for being flexible, lightweight, easy to use and extendible.
-
What is the technology stack used to create these live charts?
They are images so it could be any number of things, datawrapper, charts.js, d3.js to name a few options.
-
Using AI to Generate Database Query Is Cool. But What About Access Control?
Charts.js for creating diagrams
-
Master Angular 16.1 & 16.2
Connie Leung wrote a tutorial to demonstrate how these new hooks work, integrating an Angular app with the Chart.js library: "DOM reading and writing with new lifecycle hooks in Angular"
-
2023 Self-Host User Survey Results
Thanks to all who participated in our 2023 Self-Host User Survey! Below is a link to the results, which we've visualized using Chart.js.
-
Frontend development roadmap
Chart.js
-
WiFi without internet on a Southwest flight
I used chart.js [0], but I don't necessarily endorse it - it's just what I knew how to use quickly. I usually try to keep my posts free from javascript, and could have used a different tool that gives me SVG data or images.
You can see the code that's generating these charts here: https://github.com/jamesbvaughan/jamesbvaughan.com/blob/main...
What are some alternatives?
esbuild - An extremely fast bundler for the web
echarts - Apache ECharts is a powerful, interactive charting and data visualization library for browser
vite - Next generation frontend tooling. It's fast!
morris.js - Pretty time-series line graphs
UglifyJS2 - JavaScript parser / mangler / compressor / beautifier toolkit
recharts - Redefined chart library built with React and D3
closure-compiler - A JavaScript checker and optimizer.
vega - A visualization grammar.
Sass - Sass makes CSS fun!
chartist-js - Legacy Chartist Repo for old gh-pages
PostCSS - Transforming styles with JS plugins
c3 - :bar_chart: A D3-based reusable chart library