SVGcode
bundlejs
SVGcode | bundlejs | |
---|---|---|
7 | 32 | |
660 | 711 | |
- | - | |
6.3 | 6.8 | |
2 months ago | 3 months ago | |
JavaScript | TypeScript | |
GNU General Public License v3.0 only | 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.
SVGcode
-
200 Web-Based, Must-Try Web Design and Development Tools
Raster Image to SVG Converter
-
How to generate these kinda images ?
here are some options -- potrace is free, or https://svgco.de/... there's also this extension that puts them in an a1111 extension. Illustrator also has a function for it, if you have access
-
Vectorgraphics Extension: Interactive vectorizing of single images added (SVGCode for Auto1111)
Thanks to SVGCode (https://github.com/tomayac/SVGcode) which did already my idea to compile POTRACE into WebASM/JS so to get rid of exectuables and faster inbrowser-vectorizing (the guy in the input example image is Richard Feynman)
-
Years of academic training prepared me for this moment
Oh op use this for png to svg conversion if you do not have better Ai or pro design tools. https://svgco.de
-
Finishing Up Release 0.4
This issue was about experimenting with SVGCode to see if it could be used to convert raster images to SVGs. I blogged about this process in my last post. I created a pull request which demoed the results of my research by including several SVGs that I created using SVGCode, Adobe Illustrator and Inkscape. Overall, I think that Inkscape produced the most consistent results for coloured and black and white images compared to other tools I tried, which I mentioned in my PR.
-
Converting Raster Images to SVGs
In a previous post, I mentioned working on an issue for converting raster images to SVGs. This week, I did some research on the tool recommended in the issue, SVGCode, as well as other popular tools and in this post I will be discussing some of what I learned after trying them out. For the tools that I tried, I wanted to find something that is free and easy to use, while still creating high quality SVGs, as there are a lot of images to convert. (Disclaimer: I'm pretty new to working with images and image editing software so I'm probably not using all the right terminology here, but I'm trying to learn!)
-
SVGcode – Convert raster images to SVG vector graphics
Thanks for the kind words! The documentation is still missing (tracked in part as https://github.com/tomayac/SVGcode/issues/19), but Potrace, the library SVGcode is based upon, has detailed information in a PDF on all parameters: http://potrace.sourceforge.net/potracelib.pdf.
bundlejs
- Bundlejs: Package Bundle Size Checker
-
200 Web-Based, Must-Try Web Design and Development Tools
Package Size Checker
-
ESM & CJS: The subtle shift in bundlejs' behaviour
I was closing out some long lived issues over on bundlejs, when issue #50 reminded me of the ongoing debate about how bundlejs should handle the ESM and CJS packages.
-
TANStack Query
Still, I'm not really sure about its dependencies: it lists react and @tanstack/react-query (as opposed to @tanstack/query-core) and bundlejs reports 124KB gzipped. Also, while using it, you still need to refer to their react docs (that documentation is really good and has a lot of examples) but not everyone will be thrilled about checking a react documentation when they're using an angular package.
-
Jest not recommended to be used in Node.js due to instanceOf operator issues
It's somewhere in between.
React as a lib and architecture _is_ platform-agnostic. The core logic is defined in the `react-reconciler` package. It contains all the implementation of rendering components, diffing trees, managing state, and running effects, as well as all the "Suspense" implementation.
However, the way `react-reconciler` works is that it's built _into_ each platform-specific renderer implementation. So, the size of `react-dom` is actually the size of `react-reconciler` + all the DOM-specific behavior.
A quick check of https://bundlejs.com/?q=react-reconciler suggests it's about 100K minified. https://bundlejs.com/?q=react-dom is 138K, so that tells me that the DOM-specific logic is 38K.
-
React Hook Form vs Formik
React Hook Form has no dependencies and a small bundle size. It has a gzipped bundle size of 12.12KB, according to bundlejs.
-
What are some of the best new tools of 2022!?
These are shameless plugs, but https://bundlejs.com and https://inthistweet.app. I built both tools specifically because I didn't find any other tools that solved the problems I kept running into.
-
How much space do packages end up taking in production build?
Try https://bundlejs.com/ to see
-
bundlejs: An online esbuild-based bundler + npm package size checker
bundlejs (pronounced bundle js) is a quick and easy way to treeshake, bundle, minify, and compress (in either gzip or brotli) your typescript, javascript, jsx and npm projects, while receiving the total bundles' file size.
-
Beginner's Thread / Easy Questions (May 2022)
Don't know of any but was going thru Adam Wathan's twits and replies. Found, https://github.com/okikio/bundle Looks medium sized.
What are some alternatives?
svgo - ⚙️ Node.js tool for optimizing SVG files
ponyfill - 🦄 Like polyfill but with pony pureness
IPC144 - Seneca College IPC144 Course Notes
esbuild-runner - ⚡️ Super-fast on-the-fly transpilation of modern JS, TypeScript and JSX using esbuild
pev2 - Postgres Explain Visualizer 2
bundlesize - Keep your bundle size in check
feather - Simply beautiful open-source icons
tslib - Runtime library for TypeScript helpers.
shields - Concise, consistent, and legible badges in SVG and raster format
sharedworker - A small spec. compliant polyfill for SharedWorkers, it acts as a drop in replacement for normal Workers.
d3 - Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:
pretty-bytes - Convert bytes to a human readable string: 1337 → 1.34 kB