nuff-said is a collection of ultra-compact JavaScript libraries (<1024b) designed specifically for small use cases.
These libraries are meticulously crafted to provide the essential functionality you need while maintaining an incredibly small code footprint.
With nuff-said, you can minimize your project's dependencies, optimize load times, and streamline your development process.
- Minimal Size: Each
nuff-saidfocuses on providing a specific functionality in the smallest possible code size. I believe in keeping things simple and lightweight, ensuring optimal performance and reducing the impact on your project's size. - Focused Functionality: these libraries are tailored to address specific use cases, eliminating unnecessary features and bloat. They provide exactly what you need, nothing more, nothing less.
- Effortless Integration: Integrating
nuff-saidinto your project is a breeze. Simply include the desired library and start leveraging its functionality immediately, without the overhead of large dependencies. - No Frills, Just Function: With
nuff-said, you won't find an overwhelming array of configuration options or complex APIs. We prioritize simplicity, making it easy for you to understand and utilize the libraries effectively.
Each of the following libraries have been meticulously hand-golfed for the smallest bundle size. Sizes reported are raw, before compression or brotli
@nuff-said/time-ago: check how far ago a certain date was, in the "xxx time ago" format in just 229 bytes@nuff-said/color: 40 terminal color styles in 248 bytes@nuff-said/args: a comprehensive argument parser in 378 bytes@nuff-said/jsondb: a minimal disk json db in 205 bytes@nuff-said/validate: a minimal yet flexible object validation tool in 863 bytes@nuff-said/pubsub: a fully featured pubsub implementation in 190 bytes@nuff-said/state: a reactive state implementation in just 269 bytes raw!
We welcome contributions to nuff-said!
If you have ideas for new nuff-said libs, open an issue here in this repo.
If you have suggestions for improvement, please open an issue or submit a pull request on the relevant GitHub repository.