Number one this week, Destiny is a brand new tool to automatically organize the file system of a JavaScript (or TypeScript) project.
It works by analyzing the import
statement of all code files and as a result it moves and rename your files, creating a new structure.
It claims to be the equivalent of Prettier, this super convenient tool that format lines of code following style rules, in a deterministic way.
We can spend a lot of time trying to find the best file system for our projects, asking ourselves where should be shared components for example (should they belong to a folder called utils
or common
? Should it be higher in the hierarchy?)
Also it can be used to detect “dead lines” of code, that is to say files that not imported by any other file. Such a tool can be a time saver!
Growing Fast This Week
1 | Destiny Prettier for File Structures | GitHub | +63.1% | |
2 | React Query Hooks for fetching, caching and updating asynchronous data in React | GitHub | +28.0% | |
3 | Alpine.js A rugged, minimal framework for composing JavaScript behavior | GitHub | +16.8% | |
4 | Panolens.js Javascript panorama viewer based on Three.js | Homepage | +13.1% | |
5 | Bent Functional JS HTTP client (Node.js & Fetch) w/ async await | GitHub | +6.8% | |
6 | Scully The Static Site Generator for Angular apps | GitHub | +6.6% | |
7 | Craft.js A React Framework for building extensible drag and drop page editors | Homepage | +5.6% | |
8 | Playwright Node library to automate Chromium, Firefox and WebKit with a single API | GitHub | +5.5% | |
9 | Serialize JavaScript Serialize JavaScript to a superset of JSON that includes regular expression... | GitHub | +5.2% | |
10 | Elastic UI A collection of React UI components for quickly building user interfaces | Homepage | +5.0% |
Trending This Week
1 | React Query Hooks for fetching, caching and updating asynchronous data in React | GitHub | +890 ★ | |
2 | Vue.js A progressive, incrementally-adoptable framework for building UI on the web | Homepage | +829 ★ | |
3 | Node.js Best Practices The Node.js best practices list | GitHub | +630 ★ | |
4 | Alpine.js A rugged, minimal framework for composing JavaScript behavior | GitHub | +621 ★ | |
5 | Ant Design A UI Design Language and React UI library | Homepage | +532 ★ | |
6 | Playwright Node library to automate Chromium, Firefox and WebKit with a single API | GitHub | +522 ★ | |
7 | Clean Code Clean Code concepts adapted for JavaScript | GitHub | +510 ★ | |
8 | You Don't Know JS A book series on JavaScript | GitHub | +509 ★ | |
9 | Destiny Prettier for File Structures | GitHub | +464 ★ | |
10 | JS Algorithms & Data Structures Algorithms and data structures implemented in JavaScript | GitHub | +424 ★ |
Any question or feedback? Reach us on GitHub.
Best of JavaScript is a project created by Michael Rambeau, made in Osaka, Japan.