chartist
terser
Our great sponsors
chartist | terser | |
---|---|---|
5 | 27 | |
13,314 | 8,419 | |
0.1% | 1.4% | |
0.0 | 8.9 | |
26 days ago | 21 days ago | |
TypeScript | JavaScript | |
MIT License | GNU General Public License v3.0 or later |
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.
chartist
-
Chartist: Simple Responsive Charts in SVG
The author went through the effort of creating a marketing site with documentation and examples.
https://gionkunz.github.io/chartist-js/
-
How to build tree-shakeable JavaScript libraries
(Full disclosure: this is a real-world design decision from Chartist, an open-source data visualization library I maintain and contribute to.)
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.
What are some alternatives?
vue-svg-pan-zoom - Vue component using SvgPanZoom
esbuild - An extremely fast bundler for the web
hexboard-svg-react-ts - Generating SVG Hex Gameboards
vite - Next generation frontend tooling. It's fast!
plot - A concise API for exploratory data visualization implementing a layered grammar of graphics
UglifyJS2 - JavaScript parser / mangler / compressor / beautifier toolkit
vega-lite - A concise grammar of interactive graphics, built on Vega.
closure-compiler - A JavaScript checker and optimizer.
Sass - Sass makes CSS fun!
PostCSS - Transforming styles with JS plugins
prettier - Dockernized prettier. This is an opinionated code formatter.
minification-benchmarks - 🏃♂️🏃♀️🏃 JS minification benchmarks: babel-minify, esbuild, terser, uglify-js, swc, google closure compiler, tdewolff/minify